08.06.2012, 20:07
I'm having a problem with my GMX Command when it restarts my player spawns in blueberry and dies. Any help would be great thanks. Here's the GMX Command.
pawn Код:
YCMD:gmx(playerid, params[])
{
if(gPlayerLoggedIn[playerid] == 0) return 1;
if(PlayerInfo[playerid][Admin] >= 5)
{
new string[126];
format(string, sizeof(string), "Warning: %s has set the server to GMX in 10 seconds...", PlayerName(playerid));
SendClientMessageToAll(COLOR_LIGHTRED, string);
SetTimer("GameModeExitFunc", 10000, false);
}
return 1;
}