23.01.2011, 21:36
I have this found it dont work why ?
Код:
public OnPlayerUpdate(playerid) { if( IsPlayerInAnyVehicle(playerid) && GetPlayerWeapon(playerid) > 0 && !IsNormalWeapon(GetPlayerWeapon(playerid)) ) SetPlayerArmedWeapon(playerid, 0); return 1; }
Код:
stock IsNormalWeapon(weaponid) { if(weaponid == 29) return 1; return 0; }