white map for input from / arenaexit with SetPlayerWorldBounds
#1

Good Morning,
I have already a Problem with my Command. If I / arenaexit type is set
Код:
SetPlayerWorldBounds(playerid, INFINITY, -INFINITY, INFINITY, -INFINITY);
and then I spawn at the spawn but my minimap is completely white? and the gro? e Map with Esc, I am always in Red Country. Here, once more my lines where I SetPlayerWorldBounds Create.
Код:
		if(listitem == 4)
		{
			SetPlayerPos(playerid, 345.3253,2023.2268,22.6406);
			SetPlayerFacingAngle(playerid, 270.0);
			SetPlayerInterior(playerid,0);
			PlayerInfo[playerid][pInt] = 0;
			SetPlayerHealth(playerid,100.0);
			SetPlayerArmour(playerid,100.0);
			PlayerArena[playerid] = 5;
			SetPlayerWorldBounds(playerid,724.0283,-408.7256,2312.219,1436.379);
		  GangZoneShowForPlayer(playerid, Luftarena, 0xFF000096);
		}
and here is still the redefining of infinity

Код:
#define INFINITY (Float:0x7F800000)
ps. I do not know whether this is correct because I am German ^ ^
yours sincerely
Paddy
Reply
#2

you can't do -INFINITY you have to use the neg infinity number which is
pawn Код:
#define NEG_INFINITY (Float:0xFF800000)
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)