02.11.2013, 08:43
Код:
public OnPlayerUpdate(playerid) { if(!IsPlayerConnected(playerid)) return 0; // No weapons in interiors if(GetPlayerInterior(playerid) != 0 && GetPlayerWeapon(playerid) != 0) { SetPlayerArmedWeapon(playerid,0); // fists return 0; // no syncing until they change their weapon } return 1; }