Making objects, deleting created objects - 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: Making objects, deleting created objects (
/showthread.php?tid=65668)
Making objects, deleting created objects -
KnooL - 15.02.2009
for; IsACop
example cmd; /makeramp : It blocks way so no one passes trough handy for cops to block roads
example cmd: /rmramps : Removes all created ramps.
I need help with these two cmd's.
Push on the button, creating ramps
Push on the button, deleting created ramps.
Who can give me an example?
Thanks!
Re: Making objects, deleting created objects -
SpiderPork - 15.02.2009
new Ramp;
OnPlayerKeyStateChange
Ramp = CreateObject(..., ..., ..., ..., ..., ..., ...);
DestroyObject(Ramp);
_________________________________________________
Use these functions.