09.02.2018, 09:00
I am trying this:
The second message doesn't get displayed. And I am in a vehicle.
Is the OnPlayerDeath not recognising whether a player was in a vehicle or not option possible?
Код:
public OnPlayerDeath(playerid, killerid, reason)
{
SendDeathMessage(killerid, playerid, reason);
SendClientMessageToAll(-1, "ION just died.");
if(IsPlayerInAnyVehicle(playerid)) SendClientMessageToAll(-1, "ION was in a vehicle.");
return 1;
}
Is the OnPlayerDeath not recognising whether a player was in a vehicle or not option possible?

