24.06.2011, 15:32
Quote:
Tente mudar para o OnPlayerSpawn, e veja oque dб.
Se nгo der certo, й algum erro na sua pInfo, no caso pOrigem. |
Код:
else { if(PlayerInfo[playerid][pOrigem] == 1)//San Fierro { SetPlayerPos(playerid,-2721.2102,-317.7121,7.8438); SetPlayerFacingAngle(playerid, 359.2807); SetPlayerInterior(playerid,0); PlayerInfo[playerid][pInt] = 0; SetPlayerVirtualWorld(playerid,0); SetPlayerHealth(playerid, 100); } else if(PlayerInfo[playerid][pOrigem] == 3)//Centro LS { SetPlayerPos(playerid,2515.8682,-1956.4772,16.7983);//nascimento dos civis SetPlayerFacingAngle(playerid, 2.7415); SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); PlayerInfo[playerid][pInt] = 0; } return 1; } } return 1; }