31.01.2013, 20:29
This is my script:
Currently the commands is /cmds how can make it so the player can use it as cmds or commands?
Friendly regards,
Paco
pawn Код:
CMD:cmds(playerid,params[])
{
new stringtwo[1024];
strcat(stringtwo,"/cmds - Show you a dialog with all the commands\n/kill - kills your character.\n",sizeof(stringtwo));
strcat(stringtwo,"/credits - Shows you a dialog with the credits from SERVER\n/adminlist - Shows you a dialog with all the admins\n",sizeof(stringtwo));
strcat(stringtwo,"/heal - Heals player for $400\n/myid - Will show you your current ID\n* se7evolution <text> - Used to tell players you're doing an action\n",sizeof(stringtwo));
ShowPlayerDialog(playerid,5,DIALOG_STYLE_MSGBOX,"Server Commands",stringtwo,"Close","");
return 1;
}
Friendly regards,
Paco