01.04.2010, 07:06
Код:
public OnPlayerDeath(playerid, killerid, reason) { // Anti-DB System if ((IsPlayerInAnyVehicle(killerid)) && (GetPlayerVehicleSeat(killerid) == 0)) { // Your code here, for example SetPlayerHealth(killerid,0.0); // kill // May jail or kick... } return 0; }