02.12.2008, 16:46
Sometimes on the server, You will just randomly crash, When you die, Her eis on player death, I will only show you the script, If you are well known on here, "dont wanna give out my script" :P
But yeah OnPlayerDeath:
No errors in my script, Everything works fine.
But yeah OnPlayerDeath:
pawn Код:
public OnPlayerDeath(playerid, killerid)
{
KillTimer(GodTimer[playerid]);
SetPlayerHealth( killerid, 0.00 );
GivePlayerMoney(killerid, -1000);
SendClientMessage(playerid, COLOR_BLUE, "If you'r fed up with someone killing you type /god and use /report (id) (reson)");
return 1;
}