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



Help needed - kollkill - 25.03.2012

Hi guys, I wanna make a RP server and when people /q I don't want there cars to despawn, how do I do it?


Re: Help needed - Shabi RoxX - 25.03.2012

Show your onplayerdisconnect() codes , so we can help you


Re: Help needed - kollkill - 25.03.2012

Ummmmm, I need help on how to script a RP server, I would love if you can show me what I miss out on, if you do me this huge favour I will never forget and will set u as a admin on my server, I'm only 14 so I can't hand out any cash, please do this by the goodness of your heart.


Re: Help needed - kollkill - 26.03.2012

BUMP


Re: Help needed - kollkill - 30.03.2012

Bump


Re: Help needed - Neo Karls - 31.03.2012

You should provide onplayerdisconnect() codes , then only we can help you with despawning cars....


Re: Help needed - MP2 - 31.03.2012

His OnPlayerDisconnect code is irrelevant...

How do you know a vehicle belongs to a player? How do you detect that? You need to loop through every vehicle on the server, if it belongs to them, DestroyVehicle();.