08.05.2012, 19:40
I do command if you doing /helpers its see you the connected helpers
Now I want if now helpers connecting on the server its write : No connecting helpers on the sever !
This my command :
Now I want if now helpers connecting on the server its write : No connecting helpers on the sever !
This my command :
PHP код:
if(strcmp(cmdtext, "/Helpers", true) == 0 || strcmp(cmdtext, "/HE", true) == 0)
{
SendClientMessage(playerid,Green2,":шщйоъ дмфшйн озебшйн");
for(new i, j = GetMaxPlayers(); i != j; i++)
{
if(IsPlayerConnected(i))
{
if(IsPlayerHelper(i))
{
format(str,sizeof(str),"%d дмфш шод - %s ддмфш",dini_Int(DiniHelper(i),"HelperLevel"),GetName(i));
SendClientMessage(playerid,Green2,str);
}
}
}
return 1;
}