SA-MP Forums Archive
Carros Bugando apos sair interior - 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: Carros Bugando apos sair interior (/showthread.php?tid=224526)



Carros Bugando apos sair interior - Fred_Marley - 11.02.2011

Nascendo na hq quando saio dela os carros aparecem empilhados e todos fora do lugar so dando rc para eles voltarem alguem sabe como arumo ai meu cmd pra sair!!


if (strcmp(cmd, "/sair3", true) == 0)
{
{
if(PlayerToPoint(2.0, playerid, 2496.0659,-1692.1667,1014.7422))
{
SetPlayerPos(playerid, 2495.6331,-1687.5452,13.516;
GameTextForPlayer(playerid, "~p~Bem vindo a Hq Grove",5000,1);
SetPlayerInterior(playerid,0);
SetPlayerFacingAngle(playerid, 1);
PlayerInfo[playerid][pInt] = 0;
}
}
return 1;
}


Re: Carros Bugando apos sair interior - Macintosh - 11.02.2011

pawn Код:
if (strcmp(cmd, "/sair3", true) == 0)
{
if(PlayerToPoint(2.0, playerid, 2496.0659,-1692.1667,1014.7422))
{
SetPlayerPos(playerid, 2495.6331,-1687.5452,13.516);
GameTextForPlayer(playerid, "~p~Bem Vindo a HQ da Groove Street",5000,1);
SetPlayerInterior(playerid, 0);
SetPlayerFacingAngle(playerid, 1);
PlayerInfo[playerid][pInt] = 0;
}
return 1;
}
Tente isto!