їAlguien conoce?
#1

Buenas, querнa preguntarles si no saben alguna funciуn parecida al ProxDetector para detectar si el usuario esta cerca, ya que el ProxDetector que tengo es para enviar los mensajes :/
їAlguien me puede decir una como la que quiero?, desde ya muchas gracias.
Reply
#2

pawn Код:
//
    new Float:Pos[3];
    GetPlayerPos(playerid, Pos[0], Pos[1], Pos[2]);

    for(new i = 0; i < MAX_PLAYERS; i++)
    {    
        if(IsPlayerConnected(i) && GetPlayerDistanceFromPoint(i, Pos[0], Pos[1], Pos[2]) <= dist) // Aquн cambias...
        {
            // Un jugador estб cerca.
        }
    }
A eso te referнas?
Reply
#3

Sip, muchas gracias :3
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)