Spawn teleportation out of World Border - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Spawn teleportation out of World Border (
/showthread.php?tid=430110)
Spawn teleportation out of World Border -
RACGaming - 12.04.2013
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
Re: Spawn teleportation out of World Border -
RACGaming - 12.04.2013
Fixed, that was for loop problem in LoadStaticVehicles.