[Ayuda] /lock ( Vehiculo )
#4

Que podes modificarlo segun la distancia del auto, ej:
pawn Код:
new counter = 0;
                new result;

                for(new i; i != MAX_VEHICLES; i++)
                {
                    new dist = CheckPlayerDistanceToVehicle(3.5, playerid, i);
                    if(dist)
                    {
                        result = i;
                        counter++;
                    }
                }
                switch(counter)
                {
                    case 0:
                    {
                        SendClientMessage(playerid, COLOR_GREY, "No estas cerca del coche");
                    }
Reply


Messages In This Thread
[Ayuda] /lock ( Vehiculo ) - by Sergikoh - 05.08.2011, 16:37
Respuesta: [Ayuda] /lock ( Vehiculo ) - by TiNcH010 - 05.08.2011, 18:07
Respuesta: [Ayuda] /lock ( Vehiculo ) - by Sergikoh - 05.08.2011, 18:49
Respuesta: [Ayuda] /lock ( Vehiculo ) - by TiNcH010 - 05.08.2011, 20:05

Forum Jump:


Users browsing this thread: 1 Guest(s)