how to combine this commands? - 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: how to combine this commands? (
/showthread.php?tid=296438)
how to combine this commands? -
KissOfDeath - 11.11.2011
okay i created a semi-automatic gate, but i dont know how to combine those two on a single filterscript
here they are:
http://pastebin.com/xb4QDgaD
http://pastebin.com/xcZeEX2s
thank you, you really help me so big
Re: how to combine this commands? -
Calgon - 11.11.2011
Rename all instances of 'gate' to 'gate2' or something similar and combine the code together in the new FS, and create the variables accordingly.
This should work:
http://pastebin.com/0nnvrwf8
Untested.
Re : how to combine this commands? -
KissOfDeath - 12.11.2011
i got one error sir,
Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
if(pickupid == Gate2pick) SetTimer("Gate2open1", 0, false);
return 1;
}
Код:
gasstation.pwn(95) : error 021: symbol already defined: "OnPlayerPickUpPickup"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
1 Error.
Re: how to combine this commands? -
Calgon - 12.11.2011
Fixed, try
http://pastebin.com/VuLcW5XJ
Re : how to combine this commands? -
KissOfDeath - 12.11.2011
thank you very much !
![Smiley](images/smilies/smile.png)
)