Spawn Problem -
!CryWolf - 25.05.2010
hey all,
I'm trying to spawn after registering, but I'm getting a game text message:
"Stay within the world boundries, LOADING"
and everything is fucked up!
what to do guys?
Re: Spawn Problem -
Jonni8 - 25.05.2010
Please post your spawn and register code
Re: Spawn Problem -
!CryWolf - 26.05.2010
My OnPlayerSpawn & Register Command, are too long and I can't post it here.
beside, there is nothing related to 'WorldBoundries' to this codes.
* I'm starting my gamemode as an adminstration system, so nothing is special at spawn & register.
-----------------------------------------------
Another ideas, please?
Re: Spawn Problem -
Jakku - 26.05.2010
You have probably a position which is so far, or then you are using world boundaries.
Re: Spawn Problem -
Andy_McKinley - 26.05.2010
Quote:
Originally Posted by Jakku
You have probably a position which is so far, or then you are using world boundaries.
|
Yes, check your X,Y,Z and your world boundaries.
Re: Spawn Problem -
!CryWolf - 26.05.2010
I'm telling you that there is no 'WorldBoundries' at my spawn.
beside, I don't have a XYZ Positions at OnPlayerSpawn.
I have started a new gamemode, only admin-system.
Re: Spawn Problem -
!CryWolf - 28.05.2010
someone?
Re: Spawn Problem -
ViruZZzZ_ChiLLL - 28.05.2010
Uhhh.. Just a wild guess :
pawn Code:
public OnPlayerSpawn(playerid)
{
SetPlayerVirtualWorld(playerid, 0);
return 1;
}
or
find a diff spawn pos.
Re: Spawn Problem -
!CryWolf - 28.05.2010
Don't work.
and I have placed a lot of spawns, nothing changed!
Re: Spawn Problem -
Bomber - 28.05.2010
Try this OnPlayerSpawn:
pawn Code:
SetPlayerWorldBounds(playerid,9999.9,-9999.9,9999.9,-9999.9);
Re: Spawn Problem -
Calgon - 28.05.2010
Quote:
Originally Posted by Bomba || ❶❸❸❼
Try this OnPlayerSpawn:
pawn Code:
SetPlayerWorldBounds(playerid,9999.9,-9999.9,9999.9,-9999.9);
|
That won't work either.
https://sampwiki.blast.hk/wiki/SetPlayerWorldBounds
Under OnPlayerSpawn, use the parameters that are explained in the orange notice on the wiki page. They are the world defaults.
Re: Spawn Problem -
Hiddos - 28.05.2010
SetPlayerWorldBoundries(playerid,20000.0000, -20000.0000, 20000.0000, -20000.0000.);
Tried that at OnPlayerConnect?
Re: Spawn Problem -
!CryWolf - 28.05.2010
I tryied what you both posted, not working

.
Re: Spawn Problem -
sjvt - 28.05.2010
Quote:
Originally Posted by !CryWolf
My OnPlayerSpawn & Register Command, are too long and I can't post it here.
beside, there is nothing related to 'WorldBoundries' to this codes.
* I'm starting my gamemode as an adminstration system, so nothing is special at spawn & register.
-----------------------------------------------
Another ideas, please?
|
pastebin
Re: Spawn Problem -
Jay_ - 28.05.2010
It sounds like you've set a dodgy weather ID or gravity level. Show us your code!
Re: Spawn Problem -
Hiddos - 28.05.2010
Could you post your AddPlayerClass line, and if possible OnPlayerConnect & OnPlayerSpawn (Pastebin if it's too long)?
Re: Spawn Problem -
Jay_ - 28.05.2010
I don't think it's a direct problem with World Bounds. I've had the problem before - The screen flickers with a black Loading box and you can see "Stay within the world bounds" in the background. It's generally dodgy gravity, weather, or time.
Re: Spawn Problem -
!CryWolf - 28.05.2010
Nothing worked, so I have to start scripting the gamemode from the begining.
Thank you all!