PDA

View Full Version : ShowPlayerDialog Error


milanosie
08/06/2012, 10:41 AM
This error:


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:


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.

Drebin
08/06/2012, 11:36 AM
mefail.

djcabo
08/06/2012, 11:39 AM
Try To Delete It!

FalconX
08/06/2012, 11:40 AM
Try To Delete It!

facepalm :picard:

ricardo178
08/06/2012, 11:46 AM
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**


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

FalconX
08/06/2012, 11:47 AM
Sleep more....


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 :picard:

Ricardo mate he said it's fixed in his post :rolleyes:

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

-FalconX

ricardo178
08/06/2012, 11:52 AM
Double facepalm :picard:

Ricardo mate he said it's fixed in his post :rolleyes:

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

-FalconX

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

FalconX
08/06/2012, 11:55 AM
Sorry... Edited my post, and changed the (i am) to the blind part... :S

Haha mate I was just kidding :D atleast you found the error.

-FalconX