C:\Users\Henrique\Desktop\Arquivos XD\Play Legends X\gamemodes\BPC.pwn(34687) : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(3468 : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(34689) : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(34690) : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(34691) : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(34692) : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(34693) : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(34694) : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(34695) : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(34696) : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(34697) : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(3469 : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(34699) : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(34700) : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(34701) : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(34702) : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(34703) : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(34704) : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(34705) : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(34706) : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(34707) : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(37440) : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(37441) : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(37442) : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(37443) : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(37444) : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(37445) : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(37446) : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(37447) : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(3744 : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(37449) : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(37450) : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(37451) : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(37452) : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(37453) : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(37454) : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(37455) : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(37456) : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(37457) : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(3745 : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(37459) : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(37460) : warning 213: tag mismatch C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(50659) : error 001: expected token: "-string end-", but found "-identifier-" C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(50659) : error 017: undefined symbol "o" C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(50659) : warning 215: expression has no effect C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(50659) : warning 215: expression has no effect C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(50659) : error 001: expected token: ";", but found ")" C:\Users\Henrique\Desktop\Arquivos XD\Play X X\gamemodes\BPC.pwn(50659) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors. |
CMDromover(playerid, params[]) { new para1, level; if(sscanf(params, "ud"o para1, level)) { SendClientMessage(playerid, COLOR_GRAD2, "Use: /promover [ID do Player] [Cargo(1-5)]"); SendClientMessage(playerid, COLOR_GRAD2, "ou Use: /promover [ID do Player] [444 - 1° Sub-Lнder]"); SendClientMessage(playerid, COLOR_GRAD2, "ou Use: /promover [ID do Player] [555 - 2° Sub-Lнder]"); return true; } if(level != 1 && level != 2 && level != 3 && level != 4 && level != 5 && level != 444 && level != 555) { SendClientMessage(playerid, COLOR_GRAD2, "Use: /promover [ID do Player] [Cargo(1-5)]"); SendClientMessage(playerid, COLOR_GRAD2, "ou Use: /promover [ID do Player] [444 - 1° Sub-Lнder]"); SendClientMessage(playerid, COLOR_GRAD2, "ou Use: /promover [ID do Player] [555 - 2° Sub-Lнder]"); return true; } if (PlayerInfo[playerid][pLider] > 0 || PlayerInfo[playerid][pCargo] > 99) { if(IsPlayerConnected(para1)) { GetPlayerName(para1, giveplayer, sizeof(giveplayer)); GetPlayerName(playerid, sendername, sizeof(sendername)); if(PlayerInfo[playerid][pLider] == 0) { if(level > 4) { SendClientMessage(playerid, COLOR_GREY, "Sub-Lideres sу podem Promover atй o Cargo 4!"); return 1; } if(playerid == para1) { SendClientMessage(playerid, COLOR_GREY, "Vocк nгo pode se Promover!"); return 1; } } if(PlayerInfo[para1][pCargo] == 6 && PlayerInfo[playerid][pCargo] == 6) { SendClientMessage(playerid, COLOR_GREY, "Vocк nгo pode promover um Lнder!"); return 1; } if(PlayerInfo[para1][pCargo] == level) { SendClientMessage(playerid, COLOR_GREY, "Este membro jб tem este Cargo!"); return 1; } if(GetPlayerOrg(para1) == PlayerInfo[playerid][pLider]) { new string[128],cargo[128]; if(level == 1) { cargo = "Cargo 1"; } else if(level == 2) {cargo = "Cargo 2";} else if(level == 3) {cargo = "Cargo 3";} else if(level == 4) {cargo = "Cargo 4";} else if(level == 5) {cargo = "Cargo 5";} else if(level == 6) {cargo = "Cargo 6";} else if(level == 444) {cargo = "1° Sub-Lнder";} else if(level == 555) {cargo = "2° Sub-Lнder";} if(level > PlayerInfo[para1][pCargo]) { format(string, sizeof(string), " Vocк foi promovido a %s, pelo lнder %s", cargo,PlayerName(playerid)); SendClientMessage(para1, COLOR_LIGHTBLUE, string); format(string, sizeof(string), " Vocк promoveu %s para %s.", giveplayer,cargo); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); } else { format(string, sizeof(string), " Vocк foi rebaixado a %s, pelo lнder %s", cargo,PlayerName(playerid)); SendClientMessage(para1, COLOR_LIGHTBLUE, string); format(string, sizeof(string), " Vocк rebaixou %s para %s.", giveplayer,cargo); SendClientMessage(playerid, COLOR_LIGHTBLUE, string); } PlayerInfo[para1][pCargo] = level; new org = PlayerInfo[playerid][pLider]; if(level == 444) { if(strcmp(InfoOrg[org][SubLider],"Ninguйm",true)==0) { DemitirInfoOrg(giveplayer); ConviteInfoOrg(giveplayer, org, 444); } else { strmid(string, InfoOrg[org][SubLider], 0, strlen(InfoOrg[org][SubLider]), 255); DemitirInfoOrg(giveplayer); DemitirInfoOrg(InfoOrg[org][SubLider]); ConviteInfoOrg(string, org, 4); ConviteInfoOrg(giveplayer, org, 444); } return true; } else if(level == 555) { if(strcmp(InfoOrg[org][SubLider2],"Ninguйm",true)==0) { DemitirInfoOrg(giveplayer); DemitirInfoOrg(giveplayer); ConviteInfoOrg(giveplayer, org, 555); } else { strmid(string, InfoOrg[org][SubLider2], 0, strlen(InfoOrg[org][SubLider2]), 255); DemitirInfoOrg(giveplayer); DemitirInfoOrg(InfoOrg[org][SubLider2]); ConviteInfoOrg(string, org, 4); ConviteInfoOrg(giveplayer, org, 555); } return true; } else if(level < 444) { DemitirInfoOrg(giveplayer); ConviteInfoOrg(giveplayer, org, level); } } else { SendClientMessage(playerid, COLOR_GREY, "Nгo pode promover quem nгo й da sua org."); return true; } }//not connected } else { SendClientMessage(playerid, COLOR_GRAD1, "Vocк nгo й um lнder !"); } return true; } |
if(sscanf(params, "ud"o para1, level)) |
if(sscanf(params,"ud",para1,level))