[Ajuda] Detectar player dentro de GZ
#3

Entгo no caso de:
PHP код:
    GangZoneCreate(GangZoneInfo[gzid][gzX2], GangZoneInfo[gzid][gzY1], GangZoneInfo[gzid][gzX1], GangZoneInfo[gzid][gzY2]); 
Pra eu detectar se o player estб dentro da GZ й sу fazer:
PHP код:
    new Float:x,Float:y,Float:z;
    
GetPlayerPos(playeridxyz);
    if(
>= GangZoneInfo[gzid][gzX2] && >= GangZoneInfo[gzid][gzY1] && <= GangZoneInfo[gzid][gzX1] && <= GangZoneInfo[gzid][gzY2])
    {
        
// dentro da GZ
    

Reply


Messages In This Thread
Detectar player dentro de GZ - by maikons - 25.02.2018, 21:21
Re: Detectar player dentro de GZ - by Vithinn - 25.02.2018, 21:34
Re: Detectar player dentro de GZ - by maikons - 25.02.2018, 21:58
Re: Detectar player dentro de GZ - by GuiKommander - 25.02.2018, 22:16
Re: Detectar player dentro de GZ - by maikons - 26.02.2018, 02:33
Re: Detectar player dentro de GZ - by RazorGuigo - 27.02.2018, 12:55
Re: Detectar player dentro de GZ - by maikons - 28.02.2018, 00:19
Re: Detectar player dentro de GZ - by Gguiz - 28.02.2018, 01:28
Re: Detectar player dentro de GZ - by maikons - 03.03.2018, 15:59

Forum Jump:


Users browsing this thread: 1 Guest(s)