15.11.2013, 18:27
You could try using OnPlayerDisconnect and reason == 51 but this would be so inaccurate
or
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
new
RhinoCount;
if(reason == 51)
return RhinoCount ++;
return true;
}
Quote:
Either use OnVehicleDeath (https://sampwiki.blast.hk/wiki/OnVehicleDeath) or loop and get the nearest player in a rhino. Personally I'd go for the second option as you have more control over it.
|