07.12.2011, 12:18
Hello , i need some help
i got function
i made the gangzone
and added coords
but i want it to show all the players a text who is on the area.
but when i leave at area then it still shows gametext.
i got timer updater working too..
The Gangzone
can someone help me to put coords rightly ?
i think there is something wrong with coords.
repping too please help :P
i got function
pawn Код:
IsVehicleInArea(playerid, Float:minx, Float:maxx, Float:miny, Float:maxy)
{
new Float:x, Float:y, Float:z;
GetVehiclePos(GetPlayerVehicleID(playerid), x, y, z);
if (x > minx && x < maxx && y > miny && y < maxy) return 1;
return 0;
}
and added coords
pawn Код:
if(IsVehicleInArea(g, -2101.701171, -283.088439, -2013.701171, -91.088455)
but when i leave at area then it still shows gametext.
i got timer updater working too..
The Gangzone
pawn Код:
GangZoneCreate(-2101.701171, -283.088439, -2013.701171, -91.088455);
i think there is something wrong with coords.
repping too please help :P