SA-MP Forums Archive
[FilterScript] Unstick - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Unstick (/showthread.php?tid=568602)



Unstick - Nicker - 23.03.2015

I'm not sure if something like this already exists but I couldn't find anything.

Sometimes, when a player spawns at the same coordinates as somebody else, it can cause one or more players to get stuck inside another player. This script fixes that. Very basic script but useful nonetheless!

The RANGE define is the space around a potentially stuck player in which other players will be detected.

Download: Pastebin


Re: Unstick - NikiFor - 23.03.2015

What happens when they get stuck? And update the topic with more usefull informations...

I can't test this at the moment but, if this work, good job!


Re: Unstick - Tamer - 23.03.2015

Quote:
Originally Posted by GCLeandroGC
Посмотреть сообщение
What happens when they get stuck? And update the topic with more usefull informations...
The player won't be able to move.


Re: Unstick - Nicker - 23.03.2015

Quote:
Originally Posted by GCLeandroGC
Посмотреть сообщение
What happens when they get stuck? And update the topic with more usefull informations...

I can't test this at the moment but, if this work, good job!
You get stuck inside another player, and no matter what, you can't get out of them so you have to teleport elsewhere or wait for the player to move. Sometimes, you can break free by jumping, but this script prevents it from happening in the first place.