[ajuda] Help
#3

pawn Код:
new matou[MAX_PLAYERS];
new morreu[MAX_PLAYERS];

//OnPlayerDeath
matou[killerid]++;
morreu[playerid]++;
if(matou[killerid] == 10)
{
    new str[64],
      nome[MAX_PLAYER_NAME];
    GetPlayerName(killerid, nome, MAX_PLAYER_NAME);
    format(str, sizeof(str), "O jogador %d jб matou 10 pessoas!");
    SendClientMessageToAll(playerid, COR, str);
}
if(matou[killerid] == 20)
{
    new str[64],
      nome[MAX_PLAYER_NAME];
    GetPlayerName(killerid, nome, MAX_PLAYER_NAME);
    format(str, sizeof(str), "O jogador %d jб matou 20 pessoas!");
    SendClientMessageToAll(playerid, COR, str);
}
if(matou[killerid] == 30)
{
    new str[64],
      nome[MAX_PLAYER_NAME];
    GetPlayerName(killerid, nome, MAX_PLAYER_NAME);
    format(str, sizeof(str), "O jogador %d jб matou 30 pessoas!");
    SendClientMessageToAll(playerid, COR, str);
}
if(matou[killerid] > 30)
{
    new str[64],
      nome[MAX_PLAYER_NAME];
    GetPlayerName(killerid, nome, MAX_PLAYER_NAME);
    format(str, sizeof(str), "O jogador %d jб matou mais que 30 pessoas!");
    SendClientMessageToAll(playerid, COR, str);
}
faзa assim
Reply


Messages In This Thread
[ajuda] Help - by [Full]Garfield - 17.02.2010, 12:09
Re: [ajuda] Help - by andmeida10 - 17.02.2010, 13:03
Re: [ajuda] Help - by speliarmos - 17.02.2010, 13:26
Re: [ajuda] Help - by [Full]Garfield - 17.02.2010, 20:21
Re: [ajuda] Help - by speliarmos - 17.02.2010, 20:26
Re: [ajuda] Help - by Ricardo_Saddler - 17.02.2010, 20:27
Re: [ajuda] Help - by [Full]Garfield - 17.02.2010, 22:10
Re: [ajuda] Help - by [Full]Garfield - 17.02.2010, 22:14
Re: [ajuda] Help - by [H]unter - 17.02.2010, 22:16
Re: [ajuda] Help - by Ricardo_Saddler - 18.02.2010, 10:32

Forum Jump:


Users browsing this thread: 3 Guest(s)