A strange bug (from SA:MP i guess)
#1

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
Reply
#2

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

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

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
Reply
#5

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.
Reply
#6

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

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

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)