[ajuda] Help
#1

Como bota assmi :*player* Matou 10 pessoas ?

Vlw ae
Reply
#2

n entendi sua pergunta
Reply
#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
#4

C:\Documents and Settings\Suyann\Meus documentos\teles\TESTE.pwn(1115) : error: 017: undefined symbol "COR"
C:\Documents and Settings\Suyann\Meus documentos\teles\TESTE.pwn(1115) : error: 017: undefined symbol "COR"
C:\Documents and Settings\Suyann\Meus documentos\teles\TESTE.pwn(1115) : error: 017: undefined symbol "COR"
C:\Documents and Settings\Suyann\Meus documentos\teles\TESTE.pwn(1115) : error: 017: undefined symbol "COR"
Reply
#5

Quote:
Originally Posted by [Full
Garfield ]
C:\Documents and Settings\Suyann\Meus documentos\teles\TESTE.pwn(1115) : error: 017: undefined symbol "COR"
C:\Documents and Settings\Suyann\Meus documentos\teles\TESTE.pwn(1115) : error: 017: undefined symbol "COR"
C:\Documents and Settings\Suyann\Meus documentos\teles\TESTE.pwn(1115) : error: 017: undefined symbol "COR"
C:\Documents and Settings\Suyann\Meus documentos\teles\TESTE.pwn(1115) : error: 017: undefined symbol "COR"
vocк tem que colocar uma cor nas mensagens neh...isso tu faz a seu gosto.
Reply
#6

No Codigo Onde tб "COR" vocк substitui por a cor desejada. Por Exemplo, Se Quiser a Cor Branca Substitua "COR" Por "0xFFFFFFAA" (Sem Aspas), vocк pode tamber por no topo do Gm
pawn Код:
#define BRANCO 0xFFFFFFAA
Entгo Quando Precisar Usar Novamente a Cor Branca Bastar usar "BRANCO" (sem aspas), sem ser necessario usar o cуdigo da cor (0xFFFFFFAA) que й complicado de estar colocando .

Att:Ricardo_Saddler
Reply
#7

Vlw
Reply
#8

ixi
C:\Documents and Settings\Suyann\Meus documentos\teles\lvdm.pwn(1055) : error: 035: argument type mismatch (argument 2)
C:\Documents and Settings\Suyann\Meus documentos\teles\lvdm.pwn(1055) : error: 035: argument type mismatch (argument 2)
C:\Documents and Settings\Suyann\Meus documentos\teles\lvdm.pwn(1055) : error: 035: argument type mismatch (argument 2)
C:\Documents and Settings\Suyann\Meus documentos\teles\lvdm.pwn(1055) : error: 035: argument type mismatch (argument 2)
Reply
#9

Antes de editar um gm estuda porra! quer tudo na mao
Reply
#10

Ixxi, agora eu nгo sei te ajudar, acho que se vocк colocar as linhas do erro (se puder umas antes e umas depois tambem), alguem mais experiente possa te ajudar
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)