[AJUDA]/Convidar
#1

pawn Код:
CMD:convidar(playerid, params[])
{

    if(BrunoInfo[playerid][PM] < 5)
        return SendClientMessage(playerid, COR_CINZA1, "Vocк nгo tem permissгo para usar esse comando!");
    if(sscanf(params, "u", iddele, PM))
        return SendClientMessage(playerid, COR_CINZA1, "Jogador nгo conectado");
    if(BrunoInfo[playerid][PM] >=5)
    {
        BrunoInfo[iddele][PM] = 1;
        SendClientMessage(iddele, BRANCO2, "Parabйns, vocк entrou na Polнcia Militar");
        SetPlayerColor(iddele, COR_PM);
        return 1;
    }
    return 1;
}


pawn Код:
C:\Users\SHIELD\Desktop\Brasil StyleGames RPG\gamemodes\BSG.pwn(1125) : error 017: undefined symbol "PM"
C:\Users\SHIELD\Desktop\Brasil StyleGames RPG\gamemodes\BSG.pwn(1127) : error 017: undefined symbol "PM"
C:\Users\SHIELD\Desktop\Brasil StyleGames RPG\gamemodes\BSG.pwn(1129) : error 017: undefined symbol "PM"
C:\Users\SHIELD\Desktop\Brasil StyleGames RPG\gamemodes\BSG.pwn(1131) : error 017: undefined symbol "PM"
C:\Users\SHIELD\Desktop\Brasil StyleGames RPG\gamemodes\BSG.pwn(1132) : error 035: argument type mismatch (argument 2)
C:\Users\SHIELD\Desktop\Brasil StyleGames RPG\gamemodes\BSG.pwn(1133) : error 035: argument type mismatch (argument 2)
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


6 Errors.

Desculpem se o erro й um pouco obvio, й que estou tentando criar o comando e nгo sei o erro...
Reply


Messages In This Thread
[AJUDA]/Convidar - by nefestor - 27.09.2011, 23:12
Re: [AJUDA]/Convidar - by Macintosh - 27.09.2011, 23:16
Re: [AJUDA]/Convidar - by nefestor - 27.09.2011, 23:47
Re: [AJUDA]/Convidar - by nefestor - 28.09.2011, 00:01
Re: [AJUDA]/Convidar - by Dolby - 28.09.2011, 00:03
Re: [AJUDA]/Convidar - by nefestor - 28.09.2011, 00:06
Re: [AJUDA]/Convidar - by Dolby - 28.09.2011, 00:09
Re: [AJUDA]/Convidar - by nefestor - 28.09.2011, 00:14
Re: [AJUDA]/Convidar - by Dolby - 28.09.2011, 00:16
Re: [AJUDA]/Convidar - by nefestor - 28.09.2011, 00:21

Forum Jump:


Users browsing this thread: 3 Guest(s)