public OnPlayerDeath(playerid,killerid,reason)
ResetPlayerMoney(playerid); if (playercash > 0) { GivePlayerMoney(killerid, playercash); ResetPlayerMoney(playerid); } else { }
Ezeket töröld! ResetPlayerMoney(playerid); if (playercash > 0) { GivePlayerMoney(killerid, playercash); ResetPlayerMoney(playerid); } else { }
new playercash
kivan meg ezt toroltem es igy megy playercash = GetPlayerMoney(playerid); ez kellle ?
public OnPlayerDeath(playerid, killerid, reason){ SendDeathMessage(killerid, playerid, reason);return 1;}
new playercash;if(killerid == INVALID_PLAYER_ID) {SendDeathMessage(INVALID_PLAYER_ID,playerid,reason);ResetPlayerMoney(playerid);
Az egészet írd felül ezzel: public OnPlayerDeath(playerid, killerid, reason){ SendDeathMessage(killerid, playerid, reason);return 1;}