SA-MP Forums Archive
Car help - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Car help (/showthread.php?tid=498413)



Car help - jimis - 03.03.2014

Hi all, i need some help, How can i make the following sutem:: When a player drive a car and his car destroyed then send a massage " you destroy your car"
thanks


Re: Car help - mahardika - 03.03.2014

pawn Код:
public OnVehicleDeath(vehicleid, killerid)
{
    SendClientMessage(Killerid, 0xFF000000, "You Destroy Your Car!.");
    return 1;
}