17.07.2012, 00:18
pawn Код:
if (strcmp("/cmds", cmdtext, true ) == 0)
{
new dialog[500];
strcat(dialog,"{FF0000} /v-Spawn a vehicle of your choice.\n");
strcat(dialog,"{FF0000} /w-List of Weapons.\n");
strcat(dialog,"{FF0000} /pm [ID][TEXT]- to PM a player.\n");
strcat(dialog,"{FF0000} /change-hide the blue bar at bottom of screen.\n{");
strcat(dialog,"{FF0000} /FLY [0-1]- 0(off) 1(on).\n");
strcat(dialog,"{FF0000} /infernus-Spawn an infernus.\n");
strcat(dialog,"{FF0000} /PCJ- Spawn a PCJ-600.\n");
strcat(dialog,"{FF0000} /CHANGENAME- Change name in server without having to leave.\n");
strcat(dialog,"{FF0000} /TIME-Switch to Day or night.\n");
strcat(dialog,"{FF0000} /PJY-Attach objects to your player.\n");
strcat(dialog,"{FF0000} /ACTIONS- list of animations.\n");
strcat(dialog,"{FF0000} /MUSIC-Listen to music.\n");
strcat(dialog,"{FF0000} /TUNE-tune your vehicle.");
ShowPlayerDialog(playerid, DIACMDS+2, DIALOG_STYLE_MSGBOX,"Commands",dialog,"OK","CLOSE");
return 1;
}