17.02.2009, 03:15
Another way you could do it is by scripting this into your Gamamode:
then all you gotta do is type your rcon login command and do /restart
pawn Code:
if(strcmp(cmd,"/restart",true)==0)
{
if(IsPlayerAdmin = 1)
{
SendRconCommand("gmx");
return 1;
}
else
{
SendClientMessage(playerid,a color,"BAD NOOB! You no restart server! Go sit in corner");
SetPlayerHealth(playerid, 0);
return 1;
}
}