01.07.2014, 14:32
Hi!
This include shows you, how the vehicle has destroyed. (Water or explosion)
It will look like this:
If exploded, then the reason is 0, if fall into water, then is 1.
Example:
Download:
http://www.solidfiles.com/d/170ecda80f/vehdeath.inc
This include shows you, how the vehicle has destroyed. (Water or explosion)
It will look like this:
Код:
public OnVehicleDeath(vehicleid,killerid,reason)
Example:
Код:
#include <vehdeath> public OnVehicleDeath(vehicleid, killerid,reason) { if(reason == 0) return SendClientMessage(killerid,-1,"Exploded.."); else return SendClientMessage(killerid,-1,"Water"); }
http://www.solidfiles.com/d/170ecda80f/vehdeath.inc