Posts: 20
Threads: 2
Joined: Sep 2009
Reputation:
0
how to get player's id when he die in a vehicle?
public OnVehicleDeath(vehicleid, killerid)..?
Posts: 20
Threads: 2
Joined: Sep 2009
Reputation:
0
isn't OnPlayerExit called when OnVehicleDeath is called?
Posts: 20
Threads: 2
Joined: Sep 2009
Reputation:
0
(?)
when the vehicle dies, OnVehicleDeath(vehicleid, killerid) is called, when OnVehicleDeath(vehicleid, killerid) is called, OnPlayerExitVehicle(playerid, vehicleid) is called, (again "?", i'm not sure)
wouldn't that make "IsPlayerInAnyVehicle" useless? because the player isn't in a vehicle cause the vehicle is destroyed?
Posts: 6,129
Threads: 36
Joined: Jan 2009
Killerid never returns a valid killerid. Check the bugs topic.