12.04.2013, 17:16
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):
There are some stuff commented out just for testing, but still not working and dont mind the Language
Sorry for my bad English
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;
}
Sorry for my bad English