State changes when entering and exiting a vehicle
#8

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


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)