Spawn problem.
#1

When I login to my server, with the correct info; it comes up with:

STAY WITHIN THE WORLD BOUNDARIES

and my screen goes weird.

Although, the spawn positions are set to be correct.

What's the issue here?

Thanks.
Reply
#2

Check your gravity....
Reply
#3

Gravity is fine.
Reply
#4

Quote:
Originally Posted by JoelR
Посмотреть сообщение
Gravity is fine.
then u shell check spawn location and
pawn Код:
SetPlayerWorldBounds
Reply
#5

Still no. What's the problem?
Reply
#6

Check for
Quote:

SetPlayerPos(playerid,

And Change where they Spawn?
Do you mean when they login or When they Register?

Or Try to Login with another Account
Reply
#7

When they login. All the other login positions work but that one.

Although it is loading correctly.

EDIT:

pawn Код:
Float:fSpawnPosX[4],
    Float:fSpawnPosY[4],
    Float:fSpawnPosZ[4],
    Float:fSpawnPosA[4],
That's part of the enum,

pawn Код:
format(Factions[i][f1SpawnName], 24, "%s", name1);
            Factions[i][fSpawnSet][1] = SpawnSet[1];
            Factions[i][fSpawnPosX][1] = PosX[1];
            Factions[i][fSpawnPosY][1] = PosY[1];
            Factions[i][fSpawnPosZ][1] = PosZ[1];
            Factions[i][fSpawnPosA][1] = PosA[1];
            Factions[i][fSpawnInt][1] = Int[1];
            Factions[i][fSpawnWorld][1] = VW[1];
           
            format(Factions[i][f2SpawnName], 24, "%s", name2);
            Factions[i][fSpawnSet][2] = SpawnSet[2];
            Factions[i][fSpawnPosX][2] = PosX[2];
            Factions[i][fSpawnPosY][2] = PosY[2];
            Factions[i][fSpawnPosZ][2] = PosZ[2];
            Factions[i][fSpawnPosA][2] = PosA[2];
            Factions[i][fSpawnInt][2] = Int[2];
            Factions[i][fSpawnWorld][2] = VW[2];
           
            format(Factions[i][f3SpawnName], 24, "%s", name3);
            Factions[i][fSpawnSet][3] = SpawnSet[3];
            Factions[i][fSpawnPosX][3] = PosX[3];
            Factions[i][fSpawnPosY][3] = PosY[3];
            Factions[i][fSpawnPosZ][3] = PosZ[3];
            Factions[i][fSpawnPosA][3] = PosA[3];
            Factions[i][fSpawnInt][3] = Int[3];
            Factions[i][fSpawnWorld][3] = VW[3];
That's the loading point,

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]);
        }
That's the spawning part..
Reply
#8

Joel Maybe you Went somewhere and it's bugged?
Turn off your hacks?
if not working
Make another account
Reply
#9

Quote:
Originally Posted by Antonioh
Посмотреть сообщение
Joel Maybe you Went somewhere and it's bugged?
Turn off your hacks?
if not working
Make another account
It's not that..

I don't have any hacks, I can't just "Make another account", as I am trying to get it to work for all members who want to spawn at their faction HQ..

Don't just post because you want to get your post count higher, post if you know what I'm talking about.
Reply
#10

Create a SetSpawnInfo in your OnPlayerRequestClass

Like

SetSpawnInfo( playerid, 0, 0, 1958.33, 1343.12, 15.36, 269.15, 0, 0, 0, 0, 0, 0 );
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)