[AJUDA] Status tб bugado
#3

Aqui meu OnPlayerDeath

[pawn]public OnPlayerDeath(playerid, killerid, reason)
{
Mortes[playerid]++;
if(killerid == INVALID_PLAYER_ID)
{
SendDeathMessage(INVALID_PLAYER_ID,playerid,reason );
}
else if(Gang[playerid] == Gang[playerid])
{
SendClientMessage(killerid, COLOR_RED, "Nгo mate as pessoas do mesmo time que o seu! Caso denunciarem, vocк serб punido!");
//SetPlayerScore(killerid,GetPlayerScore(killerid) -1);
//GivePlayerMoney(killerid, -5000);
TK[killerid]++;
Mortes[playerid]++;
}
else if(Gang[playerid] != Gang[playerid])
{
SetPlayerScore(killerid,GetPlayerScore(killerid) +1);
GivePlayerMoney(killerid, 10000);
Kills[killerid]++;
Mortes[playerid]++;
}
return 1;
}
[pawn]
Reply


Messages In This Thread
[AJUDA] Status tб bugado - by [AF]Junior - 09.02.2011, 21:32
Re: [AJUDA] Status tб bugado - by Falcon. - 09.02.2011, 21:35
Re: [AJUDA] Status tб bugado - by [AF]Junior - 09.02.2011, 21:57
Re: [AJUDA] Status tб bugado - by H1g0r - 09.02.2011, 22:04
Re: [AJUDA] Status tб bugado - by [AF]Junior - 09.02.2011, 22:32

Forum Jump:


Users browsing this thread: 1 Guest(s)