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



Help.. - Brys - 10.04.2015

I want to show a dialog with "Los Santos only, i got this errors :

Код:
D:\Copy 1\gamemodes\SRPP.pwn(105099) : error 001: expected token: "-string end-", but found "-identifier-"
D:\Copy 1\gamemodes\SRPP.pwn(105099) : error 017: undefined symbol "Ok"
D:\Copy 1\gamemodes\SRPP.pwn(105099) : warning 215: expression has no effect
D:\Copy 1\gamemodes\SRPP.pwn(105099) : error 001: expected token: ";", but found "-identifier-"
D:\Copy 1\gamemodes\SRPP.pwn(105099) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.

Line :
Код:
ShowPlayerDialog(playerid, DIALOG_CHOOSE_SPAWN, DIALOG_STYLE_LIST, "{FFFFFF}Choose City", "{FFFFFF}Los Santos/n ., "Ok", "Cancel");



AW: Help.. - Mencent - 10.04.2015

Hello!

Write it so:
PHP код:
ShowPlayerDialog(playeridDIALOG_CHOOSE_SPAWNDIALOG_STYLE_LIST"{FFFFFF}Choose City""{FFFFFF}Los Santos/n .""Ok""Cancel"); 
Mencent