Quote:
Originally Posted by Daniel-92
The code would be well
pawn Код:
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 } if(GetPlayerMoneyEx(playerid) != GetPlayerMoney(playerid)) { new const old_money = GetPlayerMoneyEx(playerid); ResetPlayerMoneyEx(playerid), GivePlayerMoneyEx(playerid, old_money); } return 1; }
|
Thanks very much for your help dude, now compiled good! so i hope this code work then