17.02.2014, 20:03
Й do tutorial do Josma_cmd, na hora da compilaзгo estб dando os erros abaixo
Erros
Codigo da warning
Dos erros
Agradeзo quem poder ajudar
Erros
pawn Код:
C:\Users\Administrador\Desktop\GM Ades\gamemodes\pGM.pwn(163) : warning 213: tag mismatch
C:\Users\Administrador\Desktop\GM Ades\gamemodes\pGM.pwn(722) : error 010: invalid function or declaration
C:\Users\Administrador\Desktop\GM Ades\gamemodes\pGM.pwn(724) : error 010: invalid function or declaration
C:\Users\Administrador\Desktop\GM Ades\gamemodes\pGM.pwn(730) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
pawn Код:
CMD:promover(playerid, params[])
{
new PlayerB, cargo;
if(sscanf(params, "dd", PlayerB, Cargo)) return SendClientMessage(playerid, 0x1E90FF99, "Uso correto: /Promover [id] [cargo]");
if(ProgressaoInfo[playerid][Cargo] != 10) return SendClientMessage(playerid, 0x1E90FF99, "Vocк nгo й lнder");
if(ProgressaoInfo[PlayerB][Membro] != ProgressaoInfo[playerid][Membro]) return SendClientMessage(playerid, 0x1E90FF99, "Este jogador nгo й da mesma organizaзгo que vocк.");
ProgressaoInfo[playerid][Cargo] = cargo;
return true;
}
pawn Код:
if(dialogid == 100 && response)
{
ProgressaoInfo[playerid][Membro] = GetPVarInt(playerid, "OrgConvidado");
ProgressaoInfo[playerid][Cargo] = 1; na nova organizaзгo.
DeletePVar(playerid, "OrgConvidado");
return true;
}