27.08.2013, 10:57
Recently I converted all the dcmd commands to zcmd, and it all worked but when I tried putting the admin variable into the admin commands the adm commands wont work. This is Stevo127's SFCRRPG GM.
Here is one of the commands:
Here is one of the commands:
Код:
CMD:adan(playerid,params[])
{
if(AdminLevel[playerid] == 3) *NOTE*I went in and placed variables like these but different levels for each admin command.***
{
new string[128];
if(!strlen(params))
{
SendClientMessage(playerid,COLOR_ERROR,"USAGE: /adan(nounce) (Message)");
return 1;
}
format(string,sizeof(string),"%s",params);
GameTextForAll(string,5000,0);
}
return 1;
}

