Gang Spawn
#1

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
Reply
#2

amm any filterscript that can make u problems ?
Reply
#3

I'm new to coding, so I don't know.
I would think this is causing the problem: SetPlayerInterior(playerid, 3);
Reply
#4

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
Reply
#5

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)