04.12.2013, 10:11
Quote:
CMD:report(playerid,params[]) { new string[128], id, reason[35]; if(sscanf(params,"us[35]",id,reason)) return SendClientMessage(playerid,COLOR_GRAY,"SYNTAX: /report [id] [reason]"); if(id == INVALID_PLAYER_ID)) return SendClientMessage(playerid, COLOR_GRAY, "ERROR: Player is not connected!"); format(string,sizeof(string),"%s has reported %s: %s",GetName(playerid),GetName(id),reason); SendToAdmins(COLOR_YELLOW,string); return 1; } |
this is my enum
enum PlayerInfo
{
Pass[129],
pAdminLevel,
VIPlevel,
Money,
Scores,
Kills,
Deaths
}
i asked someone he said make a stock for SendToAdmins
i dont know how to make it can some one help me
thanks.