[Ajuda] Detectar player dentro de GZ
#5

Quote:
Originally Posted by GuiKommander
Посмотреть сообщение
Use Essa Stock, Valeus!
PHP код:
stock IsPlayerInPlaceplayeridFloat:XMinFloat:YMinFloat:XMaxFloat:YMax )
{
    new
        
RetValue 0,
        
Float:aX,
        
Float:aY,
        
Float:aZ
    
;
    
GetPlayerPosplayeridaXaYaZ );
    if( 
aX >= XMin && aY >= YMin && aX XMax && aY YMax )
    {
        
RetValue 1;
    }
    return 
RetValue;

PHP код:
if(IsPlayerInPlace(playeridGangZoneInfo[gzid][gzX2], GangZoneInfo[gzid][gzY1], GangZoneInfo[gzid][gzX1], GangZoneInfo[gzid][gzY2] ) ) {
SendClientMessage(playerid, -1"NAGZ");

Nгo funcionou!
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)