21.10.2018, 22:48
PHP код:
if(sscanf(params, "s[80]",reason)) return SendClientMessage(playerid,-1,""chat" /(re)port [Reason]");
PHP код:
new reportid; // Define that now before using sscanf
if(sscanf(params, "ds[80]",reportid, reason)) return SendClientMessage(playerid,-1,""chat" /(re)port [ID] [Reason]");
PHP код:
reportid = cache_get_field_content_int(playerid, "ID");