02.02.2013, 05:36
when you use TogglePlayerSpectating(playerid, 0); //spec off OnPlayerSpawn will automatically be called.
So you have to store player position, health ,armour and weapon ect ect before you start /spec
btw read this funtions,
https://sampwiki.blast.hk/wiki/GetPlayerPos
https://sampwiki.blast.hk/wiki/SetPVarFloat
https://sampwiki.blast.hk/wiki/GetPVarFloat
So you have to store player position, health ,armour and weapon ect ect before you start /spec
btw read this funtions,
https://sampwiki.blast.hk/wiki/GetPlayerPos
https://sampwiki.blast.hk/wiki/SetPVarFloat
https://sampwiki.blast.hk/wiki/GetPVarFloat