[Ajuda] /abordar
#4

PHP Code:
IsPlayerNearPlayer(playeridtargetidFloat:range 5.0)
{
    new
        
Float:x,
        
Float:y,
        
Float:z;
    
GetPlayerPos(targetidxyz);
    return 
GetPlayerInterior(playerid) == GetPlayerInterior(targetid) && GetPlayerVirtualWorld(playerid) == GetPlayerVirtualWorld(targetid) && IsPlayerInRangeOfPoint(playeridrangexyz);

PHP Code:
if (!IsPlayerNearPlayer(playeridid))
    return 
SendClientMessage(playerid, -1"O jogador nгo estб perto de vocк."); 
Reply


Messages In This Thread
/abordar - by hurubuh - 12.04.2019, 21:23
Re: /abordar - by RenanMsV - 12.04.2019, 21:57
Re: /abordar - by DarthVeider - 12.04.2019, 21:59
Re: /abordar - by 1sbedx - 12.04.2019, 22:09

Forum Jump:


Users browsing this thread: 2 Guest(s)