04.03.2012, 00:18
Well how can i remove player world boundary, i did
but i fly forever,
i want if player virtual world is 1337, it has no boundary
pawn Код:
SetPlayerWorldBounds(playerid,0,0,0,0);
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);
}