Checking if a player has a certain weapon in hand.
#1

Basically, I need help with a coding, what it's suppose to do is, if the player possesses a Shotgun, it attaches a Shotgun to their back. I got the Shotgun sticking to their back code, I just need help with the, checking if a player has a gun, and where the code should go. I'm not sure where to place this code, thanks.

Код:
if(GetPlayerWeapon(playerid) != 25)
{
    // attaches the shotgun to players back
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)