Quote:
Originally Posted by Westie
pawn Код:
public OnPlayerDeath(playerid, killerid, reason) { if(killerid != INVALID_PLAYER_ID && IsPlayerConnected(killerid)) { if(!IsPlayerInAnyVehicle(killerid)) return true; switch(reason) { case WEAPON_MP5, WEAPON_UZI, WEAPON_TEC9: Kick(killerid); } } return true; }
Basically I would do something like that, not sure if it's *more* efficient.
|
That would work, And Andre, Please by all means post how u would do it.