Help anyone - 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: Help anyone (
/showthread.php?tid=97325)
Help anyone -
Caliente - 13.09.2009
Can't find nothing on what i need. Everything is about moving gates.
All i want is two solid gates, i have created the gates but get to warnings come up saying they aren't in use.
Warnings:
C:\Program Files\Rockstar Games\Server\gamemodes\Login.pwn(89) : warning 204: symbol is assigned a value that is never used: "gate1"
C:\Program Files\Rockstar Games\Server\gamemodes\Login.pwn(90) : warning 204: symbol is assigned a value that is never used: "gate2"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
Can anyone help please.
Thanks in advanced
Re: Help anyone -
Ov3rl0rd - 13.09.2009
This is only a warning. And what it says is that the defines for gates you used, like gate1 = CreateObject(blahblah) isn't being used. When you create a gate you only have to name it (like gate1 =) when your going to make it do something. So if you plan on making those gates move, you will do MoveObject(gate1,xpos,ypos,zpos,speed) and you wont get any warnings. Understand? lol
Re: Help anyone -
Kanji_Suzuki - 13.09.2009
its saying that you have a
but you have not dont nothing with it
you need to have a
and same with gate2
Re: Help anyone -
Peter_Corneile - 13.09.2009
Try this
Код:
new gate1;
new gate2;
Then add this under OnGameModeInIt
Код:
gate1 = CreateObject(coords);
gate2 = CreateObject(coords);
Re: Help anyone -
Caliente - 13.09.2009
thanks Ov3rl0rd, the warning have gone now. I just removed the name as i didn't want it to do anything which i think is what you were saying so thanks
Re: Help anyone -
Kanji_Suzuki - 13.09.2009
Quote:
Originally Posted by Caliente
thanks Ov3rl0rd, the warning have gone now. I just removed the name as i didn't want it to do anything which i think is what you were saying so thanks 
|
me and Ov3rl0rd posted it my same second so why dont i get a thanks
Re: Help anyone -
Ov3rl0rd - 13.09.2009
Quote:
Originally Posted by ◄╝J.Bull╚►
Quote:
Originally Posted by Caliente
thanks Ov3rl0rd, the warning have gone now. I just removed the name as i didn't want it to do anything which i think is what you were saying so thanks 
|
me and Ov3rl0rd posted it my same second so why dont i get a thanks
|
Muahahahahaha! I win

lol
Re: Help anyone -
Kanji_Suzuki - 13.09.2009
Quote:
Originally Posted by Ov3rl0rd
Quote:
Originally Posted by ◄╝J.Bull╚►
Quote:
Originally Posted by Caliente
thanks Ov3rl0rd, the warning have gone now. I just removed the name as i didn't want it to do anything which i think is what you were saying so thanks 
|
me and Ov3rl0rd posted it my same second so why dont i get a thanks
|
Muahahahahaha! I win  lol
|
by like 00.001 of a second
Re: Help anyone -
Peter_Corneile - 13.09.2009
Lol i made a mistake , i didnt read the error completely , i thought it was an error but it was a warning .. Well anyways **Thumbs Up** Ov3r0rd
Re: Help anyone -
Ov3rl0rd - 13.09.2009
Quote:
Originally Posted by Peter Corneile
Lol i made a mistake , i didnt read the error completely , i thought it was an error but it was a warning .. Well anyways **Thumbs Up** Ov3r0rd
|
lol thanks ^^