OnPlayerChangeState Problem [URGENT]
#3

It will stop at this line:
pawn Code:
format(string,sizeof(string),"Vehicle Name:%s VehicleID:%d VehicleHealth:%d",aVehicleNames[vehicleid - 400],vehicleid,vhealth);
because you're trying to get the vehicle model's name from the vehicle id. It should be:
pawn Code:
format(string,sizeof(string),"Vehicle Name:%s VehicleID:%d VehicleHealth:%d",aVehicleNames[GetVehicleModel(vehicleid)-400],vehicleid,vhealth);
Reply


Messages In This Thread
OnPlayerChangeState Problem [URGENT] - by Mobst3r111 - 05.04.2010, 22:13
Re: OnPlayerChangeState Problem [URGENT] - by Beaver07 - 05.04.2010, 22:20
Re: OnPlayerChangeState Problem [URGENT] - by Joe Staff - 05.04.2010, 22:35

Forum Jump:


Users browsing this thread: 1 Guest(s)