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


Messages In This Thread
Spawn teleportation out of World Border - by RACGaming - 12.04.2013, 17:16
Re: Spawn teleportation out of World Border - by RACGaming - 12.04.2013, 19:49

Forum Jump:


Users browsing this thread: 1 Guest(s)