14.02.2015, 14:51
Try this:
Basically not using SetSpawnInfo / SpawnPlayer is your problem.
See:
https://sampwiki.blast.hk/wiki/SetSpawnInfo
pawn Код:
public OnPlayerSpawn(playerid)
{
if(RespawnPlayer[playerid])
{
RespawnPlayer[playerid] = 0;
SetSpawnInfo(playerid, gTeam[playerid], PlayerSkin[playerid], RespawnPlayer_Pos[playerid][0], RespawnPlayer_Pos[1], RespawnPlayer_Pos[2], RespawnPlayer_Pos[3],0,0,0,0,0,0);
SpawnPlayer(playerid);
return 1;
}
return 1;
}
See:
https://sampwiki.blast.hk/wiki/SetSpawnInfo