31.03.2013, 07:36
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));
}
}
}