Ayuda Objetos,Vehiculos,Funcion...
#8

Quote:
Originally Posted by bytytus
Посмотреть сообщение
pawn Код:
for(new index=0; index<4; index++) {
    TextDrawShowForPlayer(playerid, TextOBJ[playerid][index]);
    GetObjectPos(VariableOBJ[index], PosOBJ[0], PosOBJ[1], PosOBJ[2]);
    for(new veh=0; veh<MAX_VEHICLES; veh++) {
        if(IsVehicleInRangeOfPoint(veh, 3.0, PosOBJ[0], PosOBJ[1], PosOBJ[2])) {
            TextDrawSetPreviewModel(TextOBJ[playerid][index], GetVehicleModel(veh));
        }
    }
}
si el objeto esta muy grande necesitas aumentar el radio "3.0" por algo que abarque digamos casi todo el objeto..
Reply


Messages In This Thread
Ayuda Objetos,Vehiculos,Funcion... - by OTACON - 30.03.2013, 17:52
Respuesta: Ayuda Objetos,Vehiculos,Funcion... - by Fluid016 - 30.03.2013, 18:06
Respuesta: Ayuda Objetos,Vehiculos,Funcion... - by NeuZz - 30.03.2013, 23:29
Respuesta: Ayuda Objetos,Vehiculos,Funcion... - by xDarkuzSx - 31.03.2013, 03:28
Respuesta: Ayuda Objetos,Vehiculos,Funcion... - by OTACON - 31.03.2013, 06:26
Respuesta: Ayuda Objetos,Vehiculos,Funcion... - by xDarkuzSx - 31.03.2013, 07:19
Respuesta: Ayuda Objetos,Vehiculos,Funcion... - by OTACON - 31.03.2013, 07:36
Respuesta: Ayuda Objetos,Vehiculos,Funcion... - by xDarkuzSx - 31.03.2013, 07:39
Respuesta: Ayuda Objetos,Vehiculos,Funcion... - by OTACON - 31.03.2013, 08:11
Respuesta: Ayuda Objetos,Vehiculos,Funcion... - by xDarkuzSx - 31.03.2013, 08:19

Forum Jump:


Users browsing this thread: 1 Guest(s)