01.10.2011, 17:53
Quote:
YCMDokaziparicnik(playerid, params[], help) { #pragma unused help new id, string[128], name[MAX_PLAYER_NAME]; if(sscanf(params,"u", id)) return SendClientMessage(playerid,-1,"INFO:: /pokaziparicnik [ID/Ime na Igrac]"); else if(id == INVALID_PLAYER_ID) return SendClientMessage(playerid,-1,"Pogresan ID."); else { GetPlayerName(playerid, name, sizeof(name)); format(string, sizeof(string),"Igrac %s ima $%i.",name,GetPlayerMoney(playerid)); SendClientMessage(id,-1,string); SendClientMessage(playerid,-1,"Pokazao si paricnik!"); } return 1; } |