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

Okay, then put this:

Код:
if(gCheckPlayerWeapon(playerid, putweaponidhere)) //put the id of the weapon that you desire
{
SetPlayerAttachedObject(playerid, 4,349,1,-0.102073, -0.200483, 0.094914, 15.186383, 61.980533, 357.054473);
}
in OnPlayerUpdate and test it
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)