SA-MP Forums Archive
What causes beer or cigaret on spawn? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: General (https://sampforum.blast.hk/forumdisplay.php?fid=13)
+--- Thread: What causes beer or cigaret on spawn? (/showthread.php?tid=611446)



What causes beer or cigaret on spawn? - IllidanS4 - 06.07.2016

I am aware of a bug which causes the player being spawned with a bottle or a cigaret in their hand. Dying or calling SpawnPlayer in a certain moment can cause this. What game operation actually causes this effect? Accessing wrong parts of the memory, or some sort of an overflow? I'm interested in all possibilities (maybe MTA sources can help). Thanks!


Re: What causes beer or cigaret on spawn? - Vule. - 06.07.2016

Accessing wrong parts of the memory


Re: What causes beer or cigaret on spawn? - IllidanS4 - 06.07.2016

Quote:
Originally Posted by Vule.
View Post
Accessing wrong parts of the memory
Do you know any details? Like the location in the memory that is changed.


Re: What causes beer or cigaret on spawn? - Rdx - 07.07.2016

Same problem here, caused after onplayerdeath and spawning with broutally wounded status on last posision.