GangZone
#4

Encontrei o necessбrio, eu acho. isso vai mim ajudar!

PHP код:
stock IsPlayerInArea(playerid,Float:minX,Float:minY,Float:maxX,Float:maxY)
{
    new 
Float:pX,Float:pY,Float:pZ;
    
GetPlayerPos(playerid,pX,pY,pZ);
    if(
pX >= minX && pX <= maxX && pY >= minY && pY <= maxY) return 1;
    else return 
0;

Reply


Messages In This Thread
GangZone - by WILK3R - 09.04.2017, 07:16
Re: GangZone - by didimk157 - 09.04.2017, 07:35
Re: GangZone - by WILK3R - 09.04.2017, 07:39
Re: GangZone - by WILK3R - 09.04.2017, 07:55
Re: GangZone - by IlanZ - 09.04.2017, 13:42
Re: GangZone - by renatog - 09.04.2017, 13:56
Re: GangZone - by WILK3R - 09.04.2017, 16:18

Forum Jump:


Users browsing this thread: 1 Guest(s)