//1 /reports [1] Check all report /spec, off [1] To spec on someone /onduty [3] To set your self ready for any thing /adminhelp [1] To ask for admin help /mytime [1] Set your time /eject [3] To get out the player from the vehicle /burn [3] To burn player /crash [4] To crash player /ip [3] See the player ip /asay [1] Admin say, Chat /announce [7] Admin announce /goto [5] Teleport to player /get [8] Get player to your pos /kick [5] Kick player from the server //2 /mute [4] To mute any player /unmute [4] Unmute the muted player /ban [8] Ban player /warn [2] Give the player a warning * JimmyNeonHD slaps [2] To slap the player around a bit with a large trout. /richlist [1] See the rich list /unfreeze [5] To Unfreeze player /freeze [5] To freeze any player /clearchat [9] Clear the chat delete all the messages /move [8] To move from your pos //3 /setallweather [6] To change/set the players weather /setalltime [9] To change/set the players time /cashfall [5] Give the player Cash /scorefall [5] Give the player cash /jail [5] Jail any player /unjail [5] To unjail the players /wanteds [2] To see wanted's list /jailed [2] To see who is in Jailed //4 /frozen [2] To see who is still freeze /akill [4] To kill any player /showguns [1] See the player guns /morning [1] Change the time to morning /miniguns [1] Give all miniguns /muted [1] See the muted list /killall [9] To kill all players /kickall [9] To kick all players /setallwanted [8] To see all players wanteds //5 /ejectall [8] To get out the players from the vehicles /giveallweapon [7] Give all weapons /spawnveh [3] To spawn a vehicle /setmoney [4] Set all the players money/cash /setscore [4] Set the player score /setwanted [4] Set the player wanted /sethealth [7] Set the player healthy /setarmour [5] Set the player armour /aka [5] See the player registed names |
if(!response) // back
if(response) //next
#define DIALOG_TEST 989
#define DIALOG_TESTI 988
#define DIALOG_TESTII 889
CMD:test(playerid, params[])
{
ShowPlayerDialog(playerid, DIALOG_TEST, DIALOG_STYLE_LIST, "Pages", "Page1\nPage2", "Select", "Close");
return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(response)
{
switch(dialogid)
{
case DIALOG_TEST:
{
switch(listitem)
{
case 0: // Page 1
{
ShowPlayerDialog(playerid, DIALOG_TESTI, DIALOG_STYLE_MSGBOX, "This is Page 1", "Test Page", "Close", "Close");
}
case 1: // Page 2
{
ShowPlayerDialog(playerid, DIALOG_TESTII, DIALOG_STYLE_MSGBOX, "This is Page 2", "Test Page", "Close", "Close");
}
}
}
}
return 1;
}
return 0;
}