[Ajuda] Poblema com Gz
#3

Cria um timer pra verificar se estб ou nгo em cima da бrea.
Onde estб: MIN_X, MIN_Y, MAX_X, MAX_Y vocк coloca as coordenadas da GZ respectivamente.

PS: Essa й apenas a lуgica, vc terб q aperfeiзoar a callback...

PHP код:
forward GangZoneCheck(playerid);
public 
GangZoneCheck(playerid)
{
    new 
Float:x,Float:y,Float:z;
    
GetPlayerPos(playeridxyz);
    if(
>= MIN_X && >= MIN_Y && <= MAX_X && <= MAX_Y);
    return 
1;

Reply


Messages In This Thread
Poblema com Gz - by SidneiNois - 24.04.2016, 18:00
Re: Poblema com Gz - by rhaegartargaryen - 24.04.2016, 18:17
Re: Poblema com Gz - by F1N4L - 24.04.2016, 18:23
Re: Poblema com Gz - by SidneiNois - 26.04.2016, 03:33

Forum Jump:


Users browsing this thread: 1 Guest(s)