16.02.2009, 11:57
hi. i have a windows server running on my home pc and i was wondering when i have compiled my latest .amx file and i want to restart the server to see the changes how do i go about doing this. is it an rcon command
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;
}
}