This spawns me in Blueberry.
#1

pawn Код:
if(Player[playerid][FacSpawn] == 1)
        {
            SetSpawnInfo(playerid, 0, Player[playerid][Clothes1], Factions[Player[playerid][Faction]][fSpawnPosX][1], Factions[Player[playerid][Faction]][fSpawnPosY][1], Factions[Player[playerid][Faction]][fSpawnPosZ][1], Factions[Player[playerid][Faction]][fSpawnPosA][1], 0, 0, 0, 0, 0, 0);
            SetPlayerInterior(playerid, Factions[Player[playerid][Faction]][fSpawnInt][1]);
            SetPlayerVirtualWorld(playerid, Factions[Player[playerid][Faction]][fSpawnWorld][1]);
        }
        else if(Player[playerid][FacSpawn] == 2)
        {
            SetSpawnInfo(playerid, 0, Player[playerid][Clothes1], Factions[Player[playerid][Faction]][fSpawnPosX][2], Factions[Player[playerid][Faction]][fSpawnPosY][2], Factions[Player[playerid][Faction]][fSpawnPosZ][2], Factions[Player[playerid][Faction]][fSpawnPosA][2], 0, 0, 0, 0, 0, 0);
            SetPlayerInterior(playerid, Factions[Player[playerid][Faction]][fSpawnInt][2]);
            SetPlayerVirtualWorld(playerid, Factions[Player[playerid][Faction]][fSpawnWorld][2]);
        }
        else if(Player[playerid][FacSpawn] == 3)
        {
            SetSpawnInfo(playerid, 0, Player[playerid][Clothes1], Factions[Player[playerid][Faction]][fSpawnPosX][3], Factions[Player[playerid][Faction]][fSpawnPosY][3], Factions[Player[playerid][Faction]][fSpawnPosZ][3], Factions[Player[playerid][Faction]][fSpawnPosA][3], 0, 0, 0, 0, 0, 0);
            SetPlayerInterior(playerid, Factions[Player[playerid][Faction]][fSpawnInt][3]);
            SetPlayerVirtualWorld(playerid, Factions[Player[playerid][Faction]][fSpawnWorld][3]);
        }
As the title says, it spawns me in Blueberry. The factions are loaded correctly, I just don't know why it's doing that.

Thanks
Reply
#2

You set the spawn location on 0, 0, 0, 0, 0, 0.
Which is in:
Код:
SetSpawnInfo(playerid, 0, Player[playerid][Clothes1], Factions[Player[playerid][Faction]][fSpawnPosX][1], Factions[Player[playerid][Faction]][fSpawnPosY][1], Factions[Player[playerid][Faction]][fSpawnPosZ][1], Factions[Player[playerid][Faction]][fSpawnPosA][1], 0, 0, 0, 0, 0, 0);
Your need to change the 0's to the location you want the player to spawn after getting his faction clothes.
Reply
#3

They are the weapons..
Reply
#4

Anyone?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)