16.12.2014, 03:57
dude i mean use this 2 lines to do it simple!!
edit:
edit:
pawn Код:
CMD:stopearthquake(playerid, params[])
{
if(IsPlayerAdmin(playerid))
{
ShowPlayerDialog(playerid, -1, DIALOG_STYLE_MSGBOX, "Successfully stopped.", "{00CC00}You have successfully stopped the earthquake\n{FF0000}WARNING: all the objects will be removed and everything will be back to normal.", "OK", "");
foreach(Player, i)
SetPlayerVirtualWorld(i, 0);
}
else
{
SendClientMessage(playerid, -1, "{FF0000}You're not rcon administrator");
}
return 1;
}