My pawn gets crashed ? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: My pawn gets crashed ? (
/showthread.php?tid=537413)
My pawn gets crashed ? -
KillerStrike23 - 15.09.2014
lol, ma pawn gets crashed cause of these lines and when i remove them everyhting goes fine any help to fix them ?
pawn Код:
CMD:cmds(playerid,params[]) {
ShowPlayerDialog(playerid, DIALOGID3+54, DIALOG_STYLE_MSGBOX, "{FF0000}SFTDM - Commands", "{FFFFFF}/go [id] to teleport to someone /gos to disable it\n/pm [id] [message] for private message and /pms to disable it\n/changename for name changing\n/countdown to start a count down\n/saveskin [skinid] /useskin /dontuseskin to save and use the skin you want\n/veh or /lvehicle to spawn temp cars\n/vmenu for vehicle commands\n/bmenu for bussiness commands\nhmenu for house commands\n/admins to know online administrators","Next","Exit");
return 1;}
CMD:cmds2(playerid,params[]) {
ShowPlayerDialog(playerid, 9642, DIALOG_STYLE_MSGBOX, "{FF0000}SFTDM - Commands", "{FFFFFF}/color to change your name color\n/fstyles to change your fighting style\n/kill to retared your own self\n/anims for a list of the anims you can use\n/teleports for a list of current tps\n/call to make a phone call /answer to answer one /hangup to shut the line\ntelebank to go to bank\n/night and /day to change your own time\n/w for whispering /cw to talk to others in car","Exit","");
return 1;}
Re: My pawn gets crashed ? -
LivingLikeYouDo - 15.09.2014
No indentation... (facepalm)
The lines are WAY too huge.
pawn Код:
CMD:cmds(playerid,params[])
{
ShowPlayerDialog(playerid, DIALOGID3+54, DIALOG_STYLE_MSGBOX, "{FF0000}SFTDM - Commands", "{FFFFFF}/go [id] to teleport to someone /gos to disable it\n/pm [id] [message] for private message and /pms to disable it\n \
/changename for name changing\n/countdown to start a count down\n/saveskin [skinid] /useskin /dontuseskin to save and use the skin you want\n\
/veh or /lvehicle to spawn temp cars\n/vmenu for vehicle commands\n/bmenu for bussiness commands\nhmenu for house commands\n/admins to know online administrators","Next","Exit");
return 1;
}
CMD:cmds2(playerid,params[])
{
ShowPlayerDialog(playerid, 9642, DIALOG_STYLE_MSGBOX, "{FF0000}SFTDM - Commands", "{FFFFFF}/color to change your name color\n\
/fstyles to change your fighting style\n/kill to retared your own self\n/anims for a list of the anims you can use\n\
/teleports for a list of current tps\n/call to make a phone call /answer to answer one /hangup to shut the line\n\
/telebank to go to bank\n/night and /day to change your own time\n/w for whispering /cw to talk to others in car","Exit","");
return 1;
}