24.09.2011, 15:05
pawn Code:
switch(dialogid)
{
case 123:
{
if(!response) return SendClientMessage(playerid, 0xFF0000FF, "You cancelled.");
switch(listitem)
{
case 0:
{
SendRconCommand("gmx");
SendClientMessageToAll(0xFF000000, "Server Is Re-Starting, Please Wait.........");
}
}
}
// rest of dialogs here!
}
return 1;
}