26.07.2011, 15:33
This is very nice, and I have a video as an example if you wish.
The code used for this video:
[ame]http://www.youtube.com/watch?v=H-4QU_kqtIA[/ame] (Processing, video quality goes upwards)
The code used for this video:
pawn Код:
public OnEmptyVehicleDamage(vehicleid,playerid)
{
if(GetPlayerWeapon(playerid) == 24)
{
new Float:Health;
GetVehicleHealth(vehicleid,Health);
SetVehicleHealth(vehicleid, 100);
}
return 1;
}