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


Messages In This Thread
two WorldBounds - by duckie - 31.03.2011, 14:53
Re: two WorldBounds - by duckie - 31.03.2011, 15:36
AW: two WorldBounds - by Nero_3D - 31.03.2011, 15:37
Re: two WorldBounds - by duckie - 31.03.2011, 15:46

Forum Jump:


Users browsing this thread: 5 Guest(s)