28.08.2015, 21:57
Quote:
CMD:ar(playerid,params[]) { new pID, string[128]; if (PlayerData[playerid][pAdmin] < 1) return SendClientMessage(playerid,COLOR_WHITE,"{7a0f27}Ni velul tau de admin nu permite folosirea acestei comenzi!"); if(sscanf(params,"u",pID)) return SendClientMessage(playerid,COLOR_WHITE,"Sintaxa: /ar [ID]"); format(string,sizeof(string),"Adminul %s a deschis reportul dumneavoastra. Pentru a vorbii",Name(playerid)); SendClientMessage(pID,COLOR_YELLOW,string); SendClientMessage(playerid,COLOR_YELLOW,"Reportul a fost deschis! Pentru a vorbi in live chat folositi(/ra)."); SetPVarInt(playerid,"LiveChat",1); SetPVarInt(pID,"LiveChat",1); SetPVarInt(pID,"Report",0); SetPVarInt(playerid,"RJucator",pID); SetPVarInt(pID,"RJucator",playerid); return 0; } |