Weapons
#1

Hey, im looking for very simple example of the script that will reset players weapon if they have RPG, minigun etc.
Reply
#2

pawn Код:
if(GetPlayerWeapon(playerid) == 35 || GetPlayerWeapon(playerid) == 38)
{
        ResetPlayerWeapons(playerid);
}
Reply
#3

where should i put that?
Reply
#4

In a timer, or at OnPlayerUpdate for faster results.
Reply
#5

yeah i got it before...thanks
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)