18.02.2018, 22:46
Quote:
PHP код:
|
PHP код:
#include <sscanf2>
CMD:sethelper(playerid, params[])
{
new playerid2, string[128];
if(sscanf(params, "u", playerid2)) return SendClientMessage(playerid, 0xFF0000FF, "Use: /Sethelper [ID]");
if(!IsPlayerConnected(playerid2)) return SendClientMessage(playerid, 0xFF0000FF, "[ERRO]: jogador nгo conectado.");
format(string,sizeof(string),"%s setou vocк de Helper", GetPlayerNameEx(playerid2));
SendClientMessage(playerid,COLOR_WHITE, string);
return 1;
}