Problem with player spawn After the race.
#2

https://sampwiki.blast.hk/wiki/SetSpawnInfo

Try SetSpawnInfo in OnPlayerDeath with get the position of player:
new Float: x, Float:y, Float:z, Float:a;
GetPlayerPos(playerid, x, y, z);
GetPlayerFacingAngle(playerid, a);
SetSpawnInfo( playerid, 0, 0, x, y, z, a, -1, -1, -1, -1, -1, -1);
Something like that.
If wont work try add SpawnPlayer(playerid) under it in OnPlayerDeath.
Reply


Messages In This Thread
Problem with player spawn After the race. - by SpikY_ - 12.06.2015, 09:51
Re: Problem with player spawn After the race. - by Huba - 12.06.2015, 10:37
Re: Problem with player spawn After the race. - by SpikY_ - 12.06.2015, 11:30

Forum Jump:


Users browsing this thread: 2 Guest(s)