OnPlayerSpawn bug
#2

Try this:
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;
}
Basically not using SetSpawnInfo / SpawnPlayer is your problem.
See:
https://sampwiki.blast.hk/wiki/SetSpawnInfo
Reply


Messages In This Thread
OnPlayerSpawn bug - by streetpeace - 14.02.2015, 14:48
Re: OnPlayerSpawn bug - by Puppy - 14.02.2015, 14:51
Re: OnPlayerSpawn bug - by Karan007 - 14.02.2015, 14:53
Re : OnPlayerSpawn bug - by streetpeace - 14.02.2015, 14:59
Re: OnPlayerSpawn bug - by bigboy81 - 14.02.2015, 15:24
Re : OnPlayerSpawn bug - by streetpeace - 14.02.2015, 15:34
Re: Re : OnPlayerSpawn bug - by bigboy81 - 14.02.2015, 19:49

Forum Jump:


Users browsing this thread: 1 Guest(s)