Posts: 416
Threads: 50
Joined: Mar 2013
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..