SA-MP Forums Archive
How can i fix This? - 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: How can i fix This? (/showthread.php?tid=259519)



How can i fix This? - 0_o - 04.06.2011

Hey guys, i made a command for my gangwar deathmatch server which is /changeteam. it kills a player and forces him to class selection, but i found a problem. whenever he dies, at the spot he died, there will be a bottle or a cigarette on the ground. take a look at this. :



How can i fix it?


Re: How can i fix This? - ColdIce - 04.06.2011

Haha I wouldn't fix it


Re: How can i fix This? - 0_o - 04.06.2011

Quote:
Originally Posted by ColdIce
Посмотреть сообщение
Haha I wouldn't fix it
Do You think it is automatic? no medicine for it? huh?


Re: How can i fix This? - Tee - 04.06.2011

If it happens all the time, your server is the problem, but I don't know if it is a known bug but on almost all the servers I go on, I experience this bug. It happens at a random time, sometimes it is a cigarette and sometime a bottle. I am thinking it has to do with spawning because when it happens, you don't spawn at the right place, normally you spawn at the place that you are when you are choosing teams (or skins).


Re: How can i fix This? - [L3th4l] - 05.06.2011

Does the player drops his weapons when he dies? I also experienced this bug many times.


Re: How can i fix This? - LiamM - 05.06.2011

Never seen this bug before, I can't really help you out. Is there anything on OnPlayerDeath or OnPlayerRequestClass that shouldnt maybe not be there?


Respuesta: How can i fix This? - Lunnatiicz - 05.06.2011

lol

Never seen this before xd


Re: How can i fix This? - linuxthefish - 05.06.2011

It's a known bug. Respawn your player a different way!


Re: How can i fix This? - Scenario - 05.06.2011

I believe this bug was introduced after 0.3c was released. As "linuxthefish" said, try finding another way to (re)spawn players.


Re: How can i fix This? - 0_o - 05.06.2011

Quote:
Originally Posted by RealCop228
Посмотреть сообщение
I believe this bug was introduced after 0.3c was released. As "linuxthefish" said, try finding another way to (re)spawn players.
I've seen this bug with several skins only. not all skins.