16.07.2009, 16:55
hmm.. u guys seem confident that it WILL Work so.. i copied it edited it like i like:
Mσик3у's one:
Eddy's one:
and they both dont work :[ help plz? is there something i need to add like the OnGameModeExit thing or something?
Mσик3у's one:
pawn Код:
if(strcmp(cmd,"/restart", true)==0) {
if(!IsPlayerAdmin(playerid)) {
SendClientMessageToAll(BRIGHTRED,"Server is restarting in 3...");
SetTimer("OnGameModeExit",3000,0);
return 1;
} else {
SendClientMessage(playerid,BRIGHTRED,"=> This command does not exsist, type ''help'' for help.");
return 1; } }
pawn Код:
if(strcmp(cmdtext, "/restart", true) ==0) {
if(IsPlayerAdmin(playerid)) {
SendClientMessageToAll(BRIGHTRED, "Server is restarting in 3 seconds...");
SetTimer("OnGameModeExit", 3000, 0); }
return 1; }

