30.08.2014, 14:52
I gived u this please can someone complete it to me
Help= +Rep
Help= +Rep
Код:
CMD:rob(playerid, params[]) { new string[250], string2[250], string3[250], robbedcash, robbedname[MAX_PLAYER_NAME], robbername[MAX_PLAYER_NAME]; robbedcash = random(5000); if(sscanf( params, "u", ID )) SendClientMessage(playerid, 0xFF0000AA, "Usage /rob ID"); if(!GetNearestPlayer(playerid)) return SendClientMessage(ID, 0xFF0000AA, "ERROR : No player close to you!"); else(GetNearestPlayer(playerid)) return 1; }