Please, Help Me - 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: Please, Help Me (
/showthread.php?tid=578939)
Please, Help Me -
Asatiani - 23.06.2015
PHP код:
C:\Documents and Settings\User\Desktop\temo\gamemodes\temo.pwn(99) : error 029: invalid expression, assumed zero
C:\Documents and Settings\User\Desktop\temo\gamemodes\temo.pwn(99) : warning 215: expression has no effect
C:\Documents and Settings\User\Desktop\temo\gamemodes\temo.pwn(99) : warning 215: expression has no effect
C:\Documents and Settings\User\Desktop\temo\gamemodes\temo.pwn(99) : warning 215: expression has no effect
C:\Documents and Settings\User\Desktop\temo\gamemodes\temo.pwn(99) : warning 215: expression has no effect
C:\Documents and Settings\User\Desktop\temo\gamemodes\temo.pwn(99) : warning 215: expression has no effect
C:\Documents and Settings\User\Desktop\temo\gamemodes\temo.pwn(99) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\User\Desktop\temo\gamemodes\temo.pwn(99) : error 029: invalid expression, assumed zero
C:\Documents and Settings\User\Desktop\temo\gamemodes\temo.pwn(99) : fatal error 107: too many error messages on one line
PHP код:
public OnPlayerConnect(playerid)
{
ShowPlayerDialog(playerid,DIALOG_REGISTER,DIALOG_STYLE_INPUT,"Registracia","Tqveni aqaunti ar aris daregistrirebuli, sheiyvanet paroli:","Daregistrireba","Gauqmeba");
return 1;
}
How to fix these errors please help me..
Re: Please, Help Me -
[XST]O_x - 23.06.2015
Did you define DIALOG_REGISTER?
Re: Please, Help Me -
Asatiani - 23.06.2015
Quote:
Originally Posted by [XST]O_x
Did you define DIALOG_REGISTER?
|
Yes, i did
Re: Please, Help Me -
mamorunl - 23.06.2015
How did you define it? The rest of the code looks fine.
Re: Please, Help Me -
Asatiani - 23.06.2015
under #endif i typed #define DIALOG_REGISTER
Re: Please, Help Me -
mamorunl - 23.06.2015
and a number behind #define DIALOG_REGISTER, I assume?
Код:
#define DIALOG_REGISTER 666
for instance?
Re: Please, Help Me -
Asatiani - 23.06.2015
No, how to do that show me
Re: Please, Help Me -
mamorunl - 23.06.2015
I typed the literal code in the code block >.<
Re: Please, Help Me -
Asatiani - 23.06.2015
When i tried it it says too many arrors than before