SA-MP Forums Archive
I need your help :) - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: I need your help :) (/showthread.php?tid=258729)



I need your help :) - >>Th0r<< - 01.06.2011

Ive just started scripting but im noob at it still, i need to know whats wrong
i do

Код:
new mypickup1;
new mypickup2;
but still it gets me error messages when compiling... it says


Код:
C:\PROGRA~1\ROCKST~1\GTASAN~1\SAMP03~1\GAMEMO~1\OHNOES~1.PWN(41) : error 017: undefined symbol "mypickup1"
C:\PROGRA~1\ROCKST~1\GTASAN~1\SAMP03~1\GAMEMO~1\OHNOES~1.PWN(42) : error 017: undefined symbol "mypickup2"
C:\PROGRA~1\ROCKST~1\GTASAN~1\SAMP03~1\GAMEMO~1\OHNOES~1.PWN(207) : error 017: undefined symbol "mypickup1"
C:\PROGRA~1\ROCKST~1\GTASAN~1\SAMP03~1\GAMEMO~1\OHNOES~1.PWN(211) : error 017: undefined symbol "mypickup2"



Re: I need your help :) - Ash. - 01.06.2011

Why are you 'creating' the variables?
Show us the code that you refer to them with...


Re: I need your help :) - >>Th0r<< - 01.06.2011

its okay man problem is fixed... i didnt know what to do


i just did
#define FILTERSCRIPT

lolz
btw the code i use is te same as everyone who does pickups
mypickup1 = CreatePickup(1212,5,2350.4600,-1323.3285,27.8131,-1);
mypickup2 = CreatePickup(1212,5,2309.6770,-1633.3029,18.5078,-1);


anyways thanks for trying to help me i thought noone was goin to see this lol


Re: I need your help :) - vladi866 - 01.06.2011

have you put the new mypickup1,mypickup2; and the top of your FilterScript?


Re: I need your help :) - Wesley221 - 01.06.2011

Quote:
Originally Posted by >>Th0r<<
Посмотреть сообщение
its okay man problem is fixed...
Quote:
Originally Posted by vladi866
Посмотреть сообщение
have you put the new mypickup1,mypickup2; and the top of your FilterScript?
Guess this answers your question..


Re: I need your help :) - Biesmen - 01.06.2011

Quote:
Originally Posted by vladi866
Посмотреть сообщение
have you put the new mypickup1,mypickup2; and the top of your FilterScript?
Quote:
Originally Posted by >>Th0r<<
Посмотреть сообщение
its okay man problem is fixed... i didnt know what to do
It's hard to read, isn't it?