SA-MP Forums Archive
ShowPlayerDialog Error - 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: ShowPlayerDialog Error (/showthread.php?tid=349219)



ShowPlayerDialog Error - milanosie - 08.06.2012

This error:

pawn Code:
C:\Users\Milan\Documents\GTA San Andreas Scripts + Server\Reality Roleplay Gamemode Script\RealityRP.pwn(20496) : error 027: invalid character constant
C:\Users\Milan\Documents\GTA San Andreas Scripts + Server\Reality Roleplay Gamemode Script\RealityRP.pwn(20496) : error 027: invalid character constant
On this line:

pawn Code:
ShowPlayerDialog(playerid, 6723, DIALOG_STYLE_LIST, "Select your helmet!", "Helmet 1\nHelmet 2\nHelmet 3\nHelmet 4\Helmet 5","Select","Cancel");

Am I just being blind or what?


EDIT: Fixed, I was indeed being blind.


AW: ShowPlayerDialog Error - Drebin - 08.06.2012

mefail.


Re: ShowPlayerDialog Error - djcabo - 08.06.2012

Try To Delete It!


Re: ShowPlayerDialog Error - FalconX - 08.06.2012

Quote:
Originally Posted by djcabo
View Post
Try To Delete It!
facepalm


Re: ShowPlayerDialog Error - ricardo178 - 08.06.2012

Sleep more.... You are not really blind(I am), not noob at all, not dumb(i am), so you might only be sleeping bad, or having nightmares with me. **Evil Smile**

pawn Code:
ShowPlayerDialog(playerid, 6723, DIALOG_STYLE_LIST, "Select your helmet!", "Helmet 1\nHelmet 2\nHelmet 3\nHelmet 4\nHelmet 5","Select","Cancel");
You had:

4\Helmet
replaced with
4\nHelmet


Re: ShowPlayerDialog Error - FalconX - 08.06.2012

Quote:
Originally Posted by ricardo178
View Post
Sleep more....

pawn Code:
ShowPlayerDialog(playerid, 6723, DIALOG_STYLE_LIST, "Select your helmet!", "Helmet 1\nHelmet 2\nHelmet 3\nHelmet 4\nHelmet 5","Select","Cancel");
You had:

4\Helmet
replaced with
4\nHelmet
Double facepalm

Ricardo mate he said it's fixed in his post

and milanosie it would be better if you edit your post and make it "SOLVED SHOWPLAYERDIALOG SHIT" something similar to avoid spam

-FalconX


Re: ShowPlayerDialog Error - ricardo178 - 08.06.2012

Quote:
Originally Posted by FalconX
View Post
Double facepalm

Ricardo mate he said it's fixed in his post

and milanosie it would be better if you edit your post and make it "SOLVED SHOWPLAYERDIALOG SHIT" something similar to avoid spam

-FalconX
Sorry... Edited my post, and changed the (i am) to the blind part... :S


Re: ShowPlayerDialog Error - FalconX - 08.06.2012

Quote:
Originally Posted by ricardo178
View Post
Sorry... Edited my post, and changed the (i am) to the blind part... :S
Haha mate I was just kidding atleast you found the error.

-FalconX