Need 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: Need Help (
/showthread.php?tid=580047)
Need Help -
ItzRbj - 02.07.2015
Hello When I Compile My Script it shows me this errors
Код:
C:\Users\USFAdmins\Desktop\Server Files\gamemodes\blank.pwn(9297) : warning 217: loose indentation
C:\Users\USFAdmins\Desktop\Server Files\gamemodes\blank.pwn(9302) : warning 217: loose indentation
C:\Users\USFAdmins\Desktop\Server Files\gamemodes\blank.pwn(9313) : warning 217: loose indentation
C:\Users\USFAdmins\Desktop\Server Files\gamemodes\blank.pwn(10315) : error 035: argument type mismatch (argument 5)
C:\Users\USFAdmins\Desktop\Server Files\gamemodes\blank.pwn(10342) : error 001: expected token: "-string end-", but found "-identifier-"
C:\Users\USFAdmins\Desktop\Server Files\gamemodes\blank.pwn(10342) : warning 215: expression has no effect
C:\Users\USFAdmins\Desktop\Server Files\gamemodes\blank.pwn(10342) : warning 215: expression has no effect
C:\Users\USFAdmins\Desktop\Server Files\gamemodes\blank.pwn(10342) : warning 215: expression has no effect
C:\Users\USFAdmins\Desktop\Server Files\gamemodes\blank.pwn(10342) : error 001: expected token: ";", but found ")"
C:\Users\USFAdmins\Desktop\Server Files\gamemodes\blank.pwn(10342) : error 029: invalid expression, assumed zero
C:\Users\USFAdmins\Desktop\Server Files\gamemodes\blank.pwn(10342) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
5 Errors.
and the line for 10342
Код:
case 8: ShowPlayerDialog( playerid, DIALOG_LUXURY4, 2, "{FF0000}DIALOG_LUXURY4", "{FFFF00}Admiral\n{FFFF00}Elegant\n{FFFF00}Emperor\n{FFFF00}Euros\n{FFFF00}Glendale\n{FFFF00}Greenwood\n{FFFF00}Intruder\n{FFFF00}Merit\n{FFFF00}Nebula\n{FFFF00}Oceanic\n"W"Next page", "(Select)", "Cancel" );
and the line for 10315
Код:
case 0: ShowPlayerDialog( playerid, S_Vehicle_Dialog, 2, "Special - Vehicles", SV_String( ), "(Select)", "Cancel" );
Please Help me it will be my pleasure
Re: Need Help -
Pablo098 - 02.07.2015
wiki.sa-mp.com/wiki/ShowPlayerDialog
PHP код:
case 8:
ShowPlayerDialog(playerid, DIALOG_LUXURY4, DIALOG_STYLE_LIST, "{FF0000}DIALOG_LUXURY4", "{FFFF00}Admiral\n{FFFF00}Elegant\n{FFFF00}Emperor\n{FFFF00}Euros\n{FFFF00}Glendale\n{FFFF00}Greenwood\n{FFFF00}Intruder\n{FFFF00}Merit\n{FFFF00}Nebula\n{FFFF00}Oceanic\nNext page", "Select", "Cancel");
case 0:
ShowPlayerDialog(playerid, S_Vehicle_Dialog, DIALOG_STYLE_LIST, "Special - Vehicles", SV_String(), "Select", "Cancel");
Re: Need Help -
iTakelot - 02.07.2015
Linha 10342
Код:
ShowPlayerDialog(playerid, DIALOG_LUXURY4, 2, "{FF0000}DIALOG_LUXURY4", "{FFFF00}Admiral\n{FFFF00}Elegant\n{FFFF00}Emperor\n{FFFF00}Euros\n{FFFF00}Glendale\n{FFFF00}Greenwood\n{FFFF00}Intruder\n{FFFF00}Merit\n{FFFF00}Nebula\n{FFFF00}Oceanic\nNext page", "(Select)", "Cancel");
Re: Need Help -
ItzRbj - 02.07.2015
Still same error
Re: Need Help -
iTakelot - 02.07.2015
follow the link to the left pablo, your dialog is a little confusing.
Re: Need Help -
ItzRbj - 02.07.2015
Okay
Re: Need Help -
JaydenJason - 02.07.2015
You forgot to insert a dialog style as the third argumemt at both dialogs.