Spawn teleportation out of World Border
#1

I have a problem with Spawning a player, when i log in to my server and press spawn button it teleports me out of World Border, when i register and then spawn, it teleports me to Red County sucessfully. Please help it just start doing that i dont know whats wrong.

My OnPlayerSpawn(playerid):
pawn Код:
public OnPlayerSpawn(playerid)
{
    /*if(PlayerLoggedIn[playerid] == 1)//Player sisse logitud
    {
        if(AllesLiitus[playerid] == 1)//Logis sisse
        {
            LaadiKasutaja(playerid);
            SpawnChar(playerid);
            //SetTimerEx("SpawnChar", 1000, false, "i", playerid);
        }
    }*/

    SetPlayerPos(playerid,2269.8860,-80.9103,26.5439); // Red County Spawn
    return 1;
}
There are some stuff commented out just for testing, but still not working and dont mind the Language
Sorry for my bad English
Reply
#2

Fixed, that was for loop problem in LoadStaticVehicles.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)