Vehicle accident check
#1

Hey guys, I have a question:
Is there a way to script a vehicle accident caused by two players? If yes, how can it be scripted?

Greetz,
Macronix
Reply
#2

Between vehicles do not know I have an idea.
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
new vehicleid;

vehicleid = GetPlayerVehicleID(playerid);
 if (vehicleid != 0)
 {
SendClientMessage(playerid,0xFFFF00,"You died inside the vehicle.");
return 0;
}
Reply
#3

Thanks, but I need it between two cars with two drivers
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)