Quote:
Originally Posted by Kush
PHP код:
if(strcmp(cmd, "/announcerestart", true) == 0)
{
if(PlayerInfo[playerid][pAdmin] < 1337) return SendClientMessage(playerid, COLOR_BLUE< " You are not authorized to use that command");
SendClientMessageToAll(playerid, COLOR_BLUE, " An administrator announced a server restart, You have 30 seconds to park/land your vehicles!");
SendRconCommand("gmx");
return 1;
}
Would you like a 30 second timer to start once the command is executed for GMX?
|
Yes. i need announcement, then 30 secs, boom GMX
Quote:
Originally Posted by Kush
PHP код:
if(strcmp(cmd, "/announcerestart", true) == 0)
{
if(PlayerInfo[playerid][pAdmin] < 1337) return SendClientMessage(playerid, COLOR_BLUE< " You are not authorized to use that command");
SendClientMessageToAll(playerid, COLOR_BLUE, " An administrator announced a server restart, You have 30 seconds to park/land your vehicles!");
SendRconCommand("gmx");
return 1;
}
Would you like a 30 second timer to start once the command is executed for GMX?
|
Quote:
Originally Posted by uprp
Yes. i need announcement, then 30 secs, boom GMX
|
error 033: array must be indexed (variable "-unknown-")
error 035: argument type mismatch (argument 2)