10.08.2010, 17:55
(
Last edited by MWF2; 11/08/2010 at 07:45 PM.
)
How can i detect if a player is in a gangzone, and if they are a command could work.
So, I want it so if a player is in a certain gangzone and i type /moveplayer 5 it moves id 5 out of the gangzone and teleports outside the gangzone.
I know how to do the whole teleport command and everything, but how can i detect if a player is in a gangzone in the first place?
EDIT: So what i need is, IsPlayerInArea to work with this gang zone: gangzone = GangZoneCreate(1830.3060, -2460.9521, 1883.3285, -2406.4404);
So if someone enters it displays a message like "Noob"
So, I want it so if a player is in a certain gangzone and i type /moveplayer 5 it moves id 5 out of the gangzone and teleports outside the gangzone.
I know how to do the whole teleport command and everything, but how can i detect if a player is in a gangzone in the first place?
EDIT: So what i need is, IsPlayerInArea to work with this gang zone: gangzone = GangZoneCreate(1830.3060, -2460.9521, 1883.3285, -2406.4404);
So if someone enters it displays a message like "Noob"