10.08.2010, 14:24
You got to be kidding me right?,
SetPlayerArmedWeapon is the function if you didn't realize it.
This doesn't work, tho it works on my other gamemode with the same code
SetPlayerArmedWeapon is the function if you didn't realize it.
pawn Код:
public OnPlayerUpdate(playerid)
{
if(IsPlayerInAnyVehicle(playerid))
{
SetPlayerArmedWeapon(playerid,0);
}
return 1;
}