27.09.2011, 23:12
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...