Загрузка...

[Lesson #8] Anti DB

Thread in SAMP Guides created by Search_inactive41474 Jun 23, 2016. 283 views

  1. Search_inactive41474
    Search_inactive41474 Topic starter Jun 23, 2016 11 Jun 22, 2016
    Code

    public OnPlayerDeath(playerid, killerid, reason)
    {
    if(IsPlayerConnected(killerid) && IsPlayerInAnyVehicle(killerid))
    {
    switch(reason)
    {
    case WEAPON_MP5, WEAPON_UZI, WEAPON_TEC9: Kick(killerid);
    }
    }
    return 1;
    }
     
Loading...
Top