Gang Spawn - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Gang Spawn (
/showthread.php?tid=135999)
Gang Spawn -
Jonny_lockhart - 22.03.2010
I need to change a gang spawn, icon etc.
So I have this:
Код:
if (PlayerInfo[playerid][pMember] == 15 || PlayerInfo[playerid][pLeader] == 15)//47th Street Saints Families spawn
{
SetPlayerToTeamColor(playerid);
SetPlayerInterior(playerid, 3);
SetPlayerPos(playerid, 2495.2605,-1703.7449,1018.3438);
PlayerInfo[playerid][pInt] = 3;
return 1;
}
I went in-game and did /save in the position I wanted and got this: AddPlayerClass(271,2751.5781,-1962.7965,13.5469,90.9275,0,0,0,0,0,0); //
So I changed: SetPlayerPos(playerid, 2495.2605,-1703.7449,1018.343

;
To: SetPlayerPos(playerid, 2751.5781,-1962.7965,13.5469);
But I spawn and cant see anything and have to do ::refresh
Re: Gang Spawn -
Lajko1 - 22.03.2010
amm any filterscript that can make u problems ?
Re: Gang Spawn -
Jonny_lockhart - 22.03.2010
I'm new to coding, so I don't know.
I would think this is causing the problem: SetPlayerInterior(playerid, 3);
Re: Gang Spawn -
Onyx09 - 22.03.2010
every position have a different inteior for sure so if you changed to a new spawn wich is out of any interiors the interior must be set to 0 if is in any other interior different to that one it was get the interior id and replace it with the 3
Re: Gang Spawn -
doritos - 23.03.2010
look johhny every interior have its own position
except interior 0 the world u can get the interior pos. from sa-mp forum
if u need ther help add me
www.m-o-m@hotmail.com