Need Help
#1

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
Reply
#2

wiki.sa-mp.com/wiki/ShowPlayerDialog
PHP код:

case 8:
 
ShowPlayerDialog(playeridDIALOG_LUXURY4DIALOG_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(playeridS_Vehicle_DialogDIALOG_STYLE_LIST"Special - Vehicles"SV_String(), "Select""Cancel"); 
Reply
#3

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");
Reply
#4

Still same error
Reply
#5

follow the link to the left pablo, your dialog is a little confusing.
Reply
#6

Okay
Reply
#7

You forgot to insert a dialog style as the third argumemt at both dialogs.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)