two WorldBounds
#1

Hello guys.
I've made 2 worldbounds so if someone teleports to the pay n spray he dont get: stay in the world boundries.

But when i spawn it says: stay in the world boundries.

is it possible to make two worldbounds?

this is my onplayerspawn
pawn Код:
public OnPlayerSpawn(playerid)
{
    if(IsPlayerNPC(playerid))
    {
    new npcname[MAX_PLAYER_NAME];
    GetPlayerName(playerid, npcname, sizeof(npcname));
    if(!strcmp(npcname, "Guard", true))
    {
        SetPlayerSkin(playerid, 125);
        SetPlayerArmour(playerid, 100.0);
        SetPlayerColor(playerid, 0xFFFFFFAA);
    }
    return 1;
    }
    SetPlayerWorldBounds(playerid, 945.9079, 326.9805, 1132.754, 688.9946);
    SetPlayerWorldBounds(playerid, 2172.085, 1483.09, 2405.642, 1483.09);
    SetPlayerArmour(playerid, 100);
    return 1;
}
Reply
#2

c'mon, help me please!!
Reply
#3

No it isnt possible but you could change the world bounds in the pay and spray teleport command
Reply
#4

ah ok ty.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)