World Boundary
#1

Well how can i remove player world boundary, i did
pawn Код:
SetPlayerWorldBounds(playerid,0,0,0,0);
but i fly forever,
pawn Код:
public OnPlayerUpdate(playerid)
{
    if(GetPlayerVirtualWorld(playerid) != 1337)
    {
        SetPlayerWorldBounds(playerid, 2977.858, -980.9415, 630.6053, -3106.315);
    }
    if(GetPlayerVirtualWorld(playerid) == 1337)
    {
        SetPlayerWorldBounds(playerid,0,0,0,0);
    }
i want if player virtual world is 1337, it has no boundary
Reply
#2

You have to make it a higher number I believe. Not 0.
Reply
#3

pawn Код:
SetPlayerWorldBounds(playerid, 20000.0000, -20000.0000, 20000.0000, -20000.0000);
Reply
#4

Thanks
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)