Anybody knows whats wrong with this code?
I don't see the text and i don't get the AUG when pressing X
I don't see the text and i don't get the AUG when pressing X
Code:
onPlayerSpawned()
{
self endon("disconnect");
for(;;)
{
self waittill("spawned_player");
self takeAllWeapons();
self thread doOMA();
self giveWeapon("thundergun_zm");
self giveWeapon("ray_gun_zm");
self giveWeapon("tesla_gun_zm");
self giveWeapon("m16_gl_upgraded_zm", 0, self calcWeaponOptions ( 15, 0, 0, 0, 0 ));
}
}
doOMA()
{
self endon("disconnect");
self endon("death");
for(;;)
{
self waittil("spawned_player");
if ( self ButtonPressed( "X" , "+actionslot 1" ) )
{
wait .5;
self iPrintlnBold("^2Obtaining AUG^7...");
wait 10;
self giveWeapon("aug_elbit_gl_mp", 0, self calcWeaponOptions ( 8, 0, 0, 0, 0 ));
wait .5;
}
}
}
Quote: (report) SuperNovaAO - 03-03 23:34 -- Your mom's cunt also belongs to her private parts, yet everyone knows it.
(report) OrangePL - 03-03 23:34 -- And if you can't understand, this is called PRIVATE message
My MW2 mod Group: http://steamcommunity.com/groups/davesmodzz