SA-MP Forums Archive
Help me with errors - 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: Help me with errors (/showthread.php?tid=663838)



Help me with errors - mrazz - 12.02.2019

C:\Users\LukaBobe\Desktop\Luxury OGC\gamemodes\lg-script.pwn(116) : error 001: expected token: ";", but found "-identifier-"
C:\Users\LukaBobe\Desktop\Luxury OGC\gamemodes\lg-script.pwn(1735) : error 017: undefined symbol "djrobot_timer"
C:\Users\LukaBobe\Desktop\Luxury OGC\gamemodes\lg-script.pwn(1781) : warning 215: expression has no effect
C:\Users\LukaBobe\Desktop\Luxury OGC\gamemodes\lg-script.pwn(1781) : error 001: expected token: ";", but found "-identifier-"
C:\Users\LukaBobe\Desktop\Luxury OGC\gamemodes\lg-script.pwn(1781) : error 017: undefined symbol "Earth_Global"
C:\Users\LukaBobe\Desktop\Luxury OGC\gamemodes\lg-script.pwn(1781) : warning 215: expression has no effect
C:\Users\LukaBobe\Desktop\Luxury OGC\gamemodes\lg-script.pwn(1781) : error 001: expected token: ";", but found "]"
C:\Users\LukaBobe\Desktop\Luxury OGC\gamemodes\lg-script.pwn(1781) : fatal error 107: too many error messages on one line

Compilation aborted.

Pawn compiler 3.2.3664 Copyright © 1997-2016, ITB CompuPhase


6 Errors.


Re: Help me with errors - ComDuck - 12.02.2019

Where is the code?


Re: Help me with errors - mrazz - 12.02.2019

https://www.mediafire.com/file/offjr...cript.pwn/file


Re: Help me with errors - PepsiCola23 - 12.02.2019

just post the lines .


Re: Help me with errors - mrazz - 12.02.2019

if you can do pwn good
tnx


Re: Help me with errors - mrazz - 12.02.2019

there is code


new PlayerText:Lite Earth_Textdraw[MAX_PLAYERS][27],

djrobot_timer = SetTimer("djtogbox", 300000, true);

Lite Earth_Global[0] = TextDrawCreate(7.602074, 431.266815, "Posetite_nas_forum_www.liteearth.proboards.com_i_ registrujte_se.");


Re: Help me with errors - Kasichok - 12.02.2019

You cant have spaces in variables press ctrl+h and replace Lite Earth_Textdraw with Lite_Earth_Textdraw,
You also created global textdraw with playertext tag.

PHP код:
new Text:Lite_Earth_Textdraw[MAX_PLAYERS][27];
djrobot_timer SetTimer("djtogbox"300000true);
Lite_Earth_Global[0] = TextDrawCreate(7.602074431.266815"Posetite_nas_forum_www.liteearth.proboards.com_i_ registrujte_se."); 
if you still got problem with djrobot_timer

add

PHP код:
new djrobot_timer