SA-MP Forums Archive
Roadblock 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: Roadblock Help (/showthread.php?tid=110514)



Roadblock Help - gtapolicemods - 27.11.2009

I have a roadblock command on my server and when the player leaves or crashes they come back and they can't remove it. Is there a way i can put in


playeractive roadblock 0





Re: Roadblock Help - Rzzr - 27.11.2009

You could do something like under OnPlayerDisconnect
DestroyObject(roadblock[playerid]);
It will automaticly destroy when you disconnect.