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 029: invalid expression, assumed zero
D:\Games\SFCRRPGv1.1\Best\gamemodes\new.pwn(7964) : warning 215: expression has no effect
D:\Games\SFCRRPGv1.1\Best\gamemodes\new.pwn(7964) : warning 215: expression has no effect
D:\Games\SFCRRPGv1.1\Best\gamemodes\new.pwn(7964) : warning 215: expression has no effect
D:\Games\SFCRRPGv1.1\Best\gamemodes\new.pwn(7964) : warning 215: expression has no effect
D:\Games\SFCRRPGv1.1\Best\gamemodes\new.pwn(7964) : warning 215: expression has no effect
D:\Games\SFCRRPGv1.1\Best\gamemodes\new.pwn(7964) : error 001: expected token: ";", but found ")"
D:\Games\SFCRRPGv1.1\Best\gamemodes\new.pwn(7964) : error 029: invalid expression, assumed zero
D:\Games\SFCRRPGv1.1\Best\gamemodes\new.pwn(7964) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB 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 029: invalid expression, assumed zero
D:\Games\SFCRRPGv1.1\Best\gamemodes\new.pwn(7964) : warning 215: expression has no effect
D:\Games\SFCRRPGv1.1\Best\gamemodes\new.pwn(7964) : warning 215: expression has no effect
D:\Games\SFCRRPGv1.1\Best\gamemodes\new.pwn(7964) : warning 215: expression has no effect
D:\Games\SFCRRPGv1.1\Best\gamemodes\new.pwn(7964) : warning 215: expression has no effect
D:\Games\SFCRRPGv1.1\Best\gamemodes\new.pwn(7964) : warning 215: expression has no effect
D:\Games\SFCRRPGv1.1\Best\gamemodes\new.pwn(7964) : error 001: expected token: ";", but found ")"
D:\Games\SFCRRPGv1.1\Best\gamemodes\new.pwn(7964) : error 029: invalid expression, assumed zero
D:\Games\SFCRRPGv1.1\Best\gamemodes\new.pwn(7964) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB 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