Rhino kills counter?
#3

You could try using OnPlayerDisconnect and reason == 51 but this would be so inaccurate

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    new
        RhinoCount;

    if(reason == 51)
        return RhinoCount ++;
       
    return true;
}
or

Quote:
Originally Posted by tyler12
Посмотреть сообщение
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.
Reply


Messages In This Thread
Rhino kills counter? - by nGen.SoNNy - 15.11.2013, 18:14
Re: Rhino kills counter? - by tyler12 - 15.11.2013, 18:27
Re: Rhino kills counter? - by Patrick - 15.11.2013, 18:27
Re: Rhino kills counter? - by nGen.SoNNy - 15.11.2013, 18:52

Forum Jump:


Users browsing this thread: 1 Guest(s)