[Ajuda] Player nao spawna - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: Non-English (
https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (
https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (
https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Player nao spawna (
/showthread.php?tid=484637)
Player nao spawna -
DevilAgain - 31.12.2013
Ja tentei botar o dialog de login no onplayerrequestspawn, porйm n muda nada. ele loga mas n spawnaaaaa
O meu sistema o player spawna no ultimo local que ele tava antes de sair do sv, entao tentei assim mas nгo da.
sem isso nгo spawna, mas se eu usar isso spawna, porйm dessa forma da erro,
PHP код:
SetSpawnInfo(playerid, 0, -1 , PlayerInfo[playerid][pPosX], PlayerInfo[playerid][pPosY], PlayerInfo[playerid][pPosZ], SetPlayerFacingAngle(playerid, PlayerInfo[playerid][pPosA], -1, -1, -1, -1, -1, -1);
Re: Player nao spawna -
JoaoPedro - 31.12.2013
Embaixo disso coloque
SpawnPlayer(playerid);
E faзa as mudanзas que o cara abaixo disse
Re: Player nao spawna -
ProKillerpa - 31.12.2013
Claro que nгo iria funcionar, toma.
pawn Код:
SetSpawnInfo(playerid, 0, -1 , PlayerInfo[playerid][pPosX], PlayerInfo[playerid][pPosY], PlayerInfo[playerid][pPosZ], PlayerInfo[playerid][pPosA], -1, -1, -1, -1, -1, -1);
Vocк estava usando SetPlayerFacingAngle(playerid, dentro de uma funзгo que nгo se permite ...