SetPlayerWorldBounds Problem
#1

Solved
Reply
#2

Quote:
Originally Posted by sa-mp wiki
Note: You can reset the player world bounds by setting the parameters to 20000.0000, -20000.0000, 20000.0000, -20000.0000.
If thats what you mean?

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

Solved
Reply
#4

This will disable all world bounds for one player, (i dont realy get what u mean i think)
pawn Код:
SetPlayerWorldBounds(playerid,20000.0000, -20000.0000, 20000.0000, -20000.0000);
If you wana dsable it for a certain team do somethng like this,
pawn Код:
for(new i;i<=MAX_PLAYERS;i++)
{
    if(GetPlayerTeam(i) == TEAM_SWAT)
    {
        if(!IsPlayerConnected(i))continue;
        SetPlayerWorldBounds(i,20000.0000, -20000.0000, 20000.0000, -20000.0000);
    }
}
Reply
#5

Solved
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)