Quote:
Originally Posted by Mencent
Hello!
Try this:
PHP код:
CMD:afixall(playerid,params[])
{
if(PlayerInfo[playerid][Level] >= 2)
{
for(new i;i<MAX_PLAYERS;i++)
{
if(!IsPlayerConnected(i) || IsPlayerNPC(i))continue;
afixcars(i);
afixhs(i);
afixbizs(i);
}
SendClientMessage(playerid,COLOR_BRIGHTRED,"Cars, House, and Business successfully repaired!");
}
else SendClientMessage(playerid,red,"ERROR: You need to be level 2 to use this command!");
return 1;
}
|
cmd say in server (unknow command) !! pleas help