26.11.2009, 17:54
Top of script:
OnPlayerConnect:
OnPlayerDeath:
and Dialog:
pawn Код:
new JustKilledBy[MAX_PLAYERS];
pawn Код:
JustKilledBy[playerid] = 999;
pawn Код:
JustKilledBy[playerid] = killerid;
pawn Код:
if(dialogid == Bestrafen)
{
new Killername[MAX_PLAYERS],string[256],string1[256];
GetPlayerName(JustKilledBy[playerid], Killername, sizeof(Killername));
if(response
{
if(listitem == 0)
{
GivePlayerMoney(JustKilledBy[playerid], -5000);
JustKilledBy[playerid] = 999;
}
return 1;