18.03.2012, 15:50
Код:
CMD:givemoney(playerid, params[]) { new targetid, ammount; if(sscanf(params,"ui", targetid, ammount)) return SendClientMessage(playerid, COLOR_YELLOW,"/givemoney [PlayerID] [Ammount]"); if(!IsPlayerAdmin(playerid)) return SendClientMessage(playerid,-1,"You are not authorised to use this command."); if(!IsPlayerConnected(targetid)) return SendClientMessage(playerid, COLOR_YELLOW,"That player is not connected to your server!"); GivePlayerMoney(targetid, ammount); return 1; }
without error