13.07.2015, 18:23
I've tested some conditions before and after the entering and exiting the vehicle
I used IsPlayerAttachedObjectSlotUsed(playerid, slot) before and during being inside the vehicle.
The slot was used and the clothing object was still attached.
Only when I exited the vehicle and the object was removed did IsPlayerAttachedObjectSlotUsed empty itself, so in the process somewhere - the script thinks the player has spawned?
I don't know how this is possible because I never actually respawned or noticed any difference and OnPlayerSpawn was not called.
I used IsPlayerAttachedObjectSlotUsed(playerid, slot) before and during being inside the vehicle.
The slot was used and the clothing object was still attached.
Only when I exited the vehicle and the object was removed did IsPlayerAttachedObjectSlotUsed empty itself, so in the process somewhere - the script thinks the player has spawned?
I don't know how this is possible because I never actually respawned or noticed any difference and OnPlayerSpawn was not called.