Car spawning bug, around cj house - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Car spawning bug, around cj house (
/showthread.php?tid=604991)
Car spawning bug, around cj house -
Saddin - 12.04.2016
When i exit interior 3 - cj house, this vehicles just spawn randomly around it... Please help me, i found some topics about this but never solution :S
http://imgur.com/a/QgUSv
Re: Car spawning bug, around cj house -
HuntingMan - 13.04.2016
Post your code when exiting interior?
Re: Car spawning bug, around cj house -
Saddin - 13.04.2016
i have nothing on onplayerinteriorchange, but when exiting interior
Код:
//Grove Street Family - entering interior
if(IsPlayerInRangeOfPoint(playerid, 1.0, 2495.4333,-1691.1389,14.7656))
{
if(PlayerInfo[playerid][pMember] == 4 && OrganizacijeInfo[GSFLock] >= 0 || PlayerInfo[playerid][pMember] >= 1 && OrganizacijeInfo[GSFLock] == 0)
{
SetPlayerPos(playerid, 2495.8408,-1693.7883,1014.7422);
SetPlayerFacingAngle(playerid, 179.9427);
SetCameraBehindPlayer(playerid);
SetPlayerInterior(playerid, 3);
}
else if(PlayerInfo[playerid][pMember] != 4 && OrganizacijeInfo[GSFLock] == 1)
{
PlayerTextDrawHide(playerid, InfoTextPoruka[playerid]);
new string[128];
format(string,sizeof(string),"~r~~h~zakljucano");
PlayerTextDrawSetString(playerid, PlayerText:InfoTextPoruka[playerid],string);
PlayerTextDrawShow(playerid, InfoTextPoruka[playerid]);
SetTimerEx("TextDrawClose", 1000, false, "%i", playerid);
}
}
//Grove Street Family - exit from interior
if(IsPlayerInRangeOfPoint(playerid, 1.0, 2496.0364,-1692.0850,1014.7422))
{
SetPlayerPos(playerid, 2495.3811,-1691.1404,14.7656);
SetPlayerFacingAngle(playerid, 359.9427);
SetCameraBehindPlayer(playerid);
SetPlayerInterior(playerid, 0);
}
Re: Car spawning bug, around cj house -
Saddin - 13.04.2016
someone please?
Respuesta: Car spawning bug, around cj house -
Gerisamp - 10.11.2016
helpp pleasee This happens to me too
Re: Car spawning bug, around cj house -
Pearson - 10.11.2016
Hello. guys i think its streamer bug, cuz objects is not loading fast or your internet is too slow. its not happens to me.
Re: Car spawning bug, around cj house -
Micko123 - 10.11.2016
I don't have same problem..
You sure streamer is at latest version and compiling doesn't have any warnings?