SA-MP Forums Archive
Whats wrong? - 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: Whats wrong? (/showthread.php?tid=393795)



Whats wrong? - GhostyXL - 19.11.2012

Код:
new rand = random(sizeof RDMTeles);
Whats wrong with it? I am trying to fix these error's:

Код:
C:\Users (//).pwn(4865) : error 017: undefined symbol "RDMTeles"
C:\Users (//).pwn(4866) : error 017: undefined symbol "RDMTeles"
C:\Users (//).pwn(4866) : warning 215: expression has no effect
C:\Users (//).pwn(4866) : error 001: expected token: ";", but found "]"
C:\Users(//).pwn(4866) : error 029: invalid expression, assumed zero
C:\Users (//).pwn(4866) : fatal error 107: too many error messages on one line



AW: Whats wrong? - xerox8521 - 19.11.2012

RDMTeles hasn't been declared before


Re: Whats wrong? - park4bmx - 19.11.2012

Lets see your RDMTelea
Maybe the arrey size is messed


Re: Whats wrong? - kaisersouse - 19.11.2012

new rand = random(sizeof(RDMTeles));

EDIT and yah you need to actually define "RDMTeles"