SA-MP Forums Archive
Where is the problem ? - 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: Where is the problem ? (/showthread.php?tid=453019)



Where is the problem ? - nor15 - 23.07.2013

I dunno what is this problem?

PHP код:
ShowPlayerDialog(playerid,DIALOG_HOSPITAL,DIALOG_STYLE_LIST,"Hospital Menu","{FFFFFF}Heal ($5000)\nCure ($5000)\nHeal and Cure ($10000)","Select","Cancel"); 
ERRORS:

PHP код:
D:\Games\SFCRRPGv1.1\Best\gamemodes\new.pwn(7964) : error 029invalid expressionassumed zero
D
:\Games\SFCRRPGv1.1\Best\gamemodes\new.pwn(7964) : warning 215expression has no effect
D
:\Games\SFCRRPGv1.1\Best\gamemodes\new.pwn(7964) : warning 215expression has no effect
D
:\Games\SFCRRPGv1.1\Best\gamemodes\new.pwn(7964) : warning 215expression has no effect
D
:\Games\SFCRRPGv1.1\Best\gamemodes\new.pwn(7964) : warning 215expression has no effect
D
:\Games\SFCRRPGv1.1\Best\gamemodes\new.pwn(7964) : warning 215expression has no effect
D
:\Games\SFCRRPGv1.1\Best\gamemodes\new.pwn(7964) : error 001expected token";"but found ")"
D:\Games\SFCRRPGv1.1\Best\gamemodes\new.pwn(7964) : error 029invalid expressionassumed zero
D
:\Games\SFCRRPGv1.1\Best\gamemodes\new.pwn(7964) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors

SOLVED


Re: Where is the problem ? - JimmyCh - 23.07.2013

Are you sure you defined DIALOG_HOSPITAL with a number?
Like:
pawn Код:
#define DIALOG_HOSPITAL  14



Re: Where is the problem ? - PT - 23.07.2013

Quote:
Originally Posted by nor15
Посмотреть сообщение
I dunno what is this problem?

PHP код:
ShowPlayerDialog(playerid,DIALOG_HOSPITAL,DIALOG_STYLE_LIST,"Hospital Menu","{FFFFFF}Heal ($5000)\nCure ($5000)\nHeal and Cure ($10000)","Select","Cancel"); 
ERRORS:

PHP код:
D:\Games\SFCRRPGv1.1\Best\gamemodes\new.pwn(7964) : error 029invalid expressionassumed zero
D
:\Games\SFCRRPGv1.1\Best\gamemodes\new.pwn(7964) : warning 215expression has no effect
D
:\Games\SFCRRPGv1.1\Best\gamemodes\new.pwn(7964) : warning 215expression has no effect
D
:\Games\SFCRRPGv1.1\Best\gamemodes\new.pwn(7964) : warning 215expression has no effect
D
:\Games\SFCRRPGv1.1\Best\gamemodes\new.pwn(7964) : warning 215expression has no effect
D
:\Games\SFCRRPGv1.1\Best\gamemodes\new.pwn(7964) : warning 215expression has no effect
D
:\Games\SFCRRPGv1.1\Best\gamemodes\new.pwn(7964) : error 001expected token";"but found ")"
D:\Games\SFCRRPGv1.1\Best\gamemodes\new.pwn(7964) : error 029invalid expressionassumed zero
D
:\Games\SFCRRPGv1.1\Best\gamemodes\new.pwn(7964) : fatal error 107too many error messages on one line
Compilation aborted
.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
4 Errors

The problem aren't are here, show more code where is this located

Or you dont have the
pawn Код:
#define DIALOG_HOSPITAL 9999



Re: Where is the problem ? - nor15 - 23.07.2013

I defined but i forgot the number 11 , Already solved , Thanks
Repped both