31.03.2011, 14:53
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
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;
}