18.10.2009, 11:29
TogglePassengerRadio(vehicleid,toggle);
SetVehicleRadioStation(vehicleid,radio);
SetVehicleDamage(vehicleid,partid,damage);
GetVehicleDamage(vehicleid,partid) return damage
GetTrafficLightColor(lightid) return 0=red 1=green
GetTrafficLightID(Float,Float:y,Float:z) return id
Example Usage:
SetVehicleRadioStation(vehicleid,radio);
SetVehicleDamage(vehicleid,partid,damage);
GetVehicleDamage(vehicleid,partid) return damage
GetTrafficLightColor(lightid) return 0=red 1=green
GetTrafficLightID(Float,Float:y,Float:z) return id
Example Usage:
pawn Код:
light1 = GetTrafficLightColor(GetTrafficLightID(1254.4465,-8752.125,78.235));