SA-MP Forums Archive
A strange bug (from SA:MP i guess) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: A strange bug (from SA:MP i guess) (/showthread.php?tid=423397)



A strange bug (from SA:MP i guess) - will-56 - 17.03.2013

Hi all, i'm the scripter of a french server.
I made my gamemode myself and i think i found a bug.

It appears on the end :
http://www.*******.com/v/VGRSuu6H2X4


Re: A strange bug (from SA:MP i guess) - Djole1337 - 17.03.2013

I've been watching this video 2 times and still don't know what are you talking about.


Re : A strange bug (from SA:MP i guess) - will-56 - 17.03.2013

When a player leave the event, he spawns normally and bug appears (random spawn ?? and he gets beer).


Re: A strange bug (from SA:MP i guess) - mastermax7777 - 17.03.2013

ok give us code for OnPlayerDeath and OnPlayerSpawn

we cant help u otherwise...

ah wrong section.. also its in script help not here admin move it


Re : A strange bug (from SA:MP i guess) - will-56 - 17.03.2013

I'm using OnVehicleDeath and OnPlayerStateChange to my event, i think players are teleported in their destroyed vehicle so bug appear.
I'm not at home, thanks for reply.


AW: A strange bug (from SA:MP i guess) - Hans_Overlander - 17.03.2013

Had the same multiple times, when a player died he spawned @ grove street with a beer in one hand.
But dunno why


Re: A strange bug (from SA:MP i guess) - MP2 - 17.03.2013

IIRC this is caused by not having a set spawnpoint (AddPlayerClass and/or SetSpawnInfo).


Re: A strange bug (from SA:MP i guess) - Pottus - 18.03.2013

Quote:
Originally Posted by MP2
Посмотреть сообщение
IIRC this is caused by not having a set spawnpoint (AddPlayerClass and/or SetSpawnInfo).
That would be correct this is a very common bug, what you need to do is SetSpawnInfo() before you spawn the player.