28.09.2011, 12:48
Peguei esse codigo aki no forum mesmo
Mais ta dando esses Warning alguem resolve pra min pf
Код:
if(strcmp(cmdtext, "/disfarce", true) == 0) { if(PlayerToPoint(5.0,playerid,979.8525,-675.6713,121.9763)) { if(PlayerInfo[playerid][pLeader] == 8 || PlayerInfo[playerid][pMember] == 8) { new x_apet[256]; x_apet = strtok(cmdtext, idx); if(!strlen(x_apet)) { SendClientMessage(playerid, TEAM_GROVE_COLOR, "|__________________Hitmans disfarce__________________|"); SendClientMessage(playerid, COLOR_YELLOW, "Use: /dhitman [Nome] para ficar com skin e cor da ORG"); SendClientMessage(playerid, COLOR_YELLOW, "Nomes Validos: civil, Pm, farc, lifg, bope"); SendClientMessage(playerid, COLOR_YELLOW, "Nomes Validos: PC, palhaco, groove, Ballas, vagos"); SendClientMessage(playerid, COLOR_YELLOW, "Nomes Validos: Mendingo seguranca exercito"); SendClientMessage(playerid, COLOR_YELLOW, "Para escolher ex /dhitman gate"); SendClientMessage(playerid, TEAM_GROVE_COLOR, "|____________________________________________|"); return 1; } if(strcmp(x_apet,"civil",true) == 0) { SendClientMessage(playerid,COLOR_WHITE, "Vocк agora estб disfarзado de CIVIL."); SetPlayerColor(playerid, COLOR_WHITE); SetPlayerSkin(playerid, 23); return 1; } if(strcmp(x_apet,"pm",true) == 0) { SendClientMessage(playerid,COLOR_WHITE, "Vocк agora estб disfarзado de Policia Militar."); SetPlayerColor(playerid, COLOR_WHITE); SetPlayerSkin(playerid,281); return 1; } if(strcmp(x_apet,"gate",true) == 0) { SendClientMessage(playerid,COLOR_WHITE, "Vocк agora estб disfarзado de gate."); SetPlayerColor(playerid, COLOR_WHITE); SetPlayerSkin(playerid,285); return 1; } if(strcmp(x_apet,"farc",true) == 0) { SendClientMessage(playerid,COLOR_WHITE, "Vocк agora estб disfarзado de FARC."); SetPlayerColor(playerid, COLOR_WHITE); SetPlayerSkin(playerid,47); return 1; } if(strcmp(x_apet,"lifg",true) == 0) { SendClientMessage(playerid,COLOR_WHITE, "Vocк agora estб disfarзado de LIFG."); SetPlayerColor(playerid, COLOR_WHITE); SetPlayerSkin(playerid,235); return 1; } if(strcmp(x_apet,"seguranca",true) == 0) { SendClientMessage(playerid,COLOR_WHITE, "Vocк agora estб disfarзado de seguranзa."); SetPlayerColor(playerid, COLOR_WHITE); SetPlayerSkin(playerid,165); return 1; } if(strcmp(x_apet,"pc",true) == 0) { SendClientMessage(playerid,COLOR_WHITE, "Vocк agora estб disfarзado de Policia Civil."); SetPlayerColor(playerid, COLOR_WHITE); SetPlayerSkin(playerid,540); return 1; } if(strcmp(x_apet,"ballas",true) == 0) { SendClientMessage(playerid,COLOR_WHITE, "Vocк agora estб disfarзado de ballas."); SetPlayerColor(playerid, COLOR_WHITE); SetPlayerSkin(playerid,103); return 1; } if(strcmp(x_apet,"vagos",true) == 0) { SendClientMessage(playerid,COLOR_WHITE, "Vocк agora estб disfarзado de vagos."); SetPlayerColor(playerid, COLOR_WHITE); SetPlayerSkin(playerid,109); return 1; } if(strcmp(x_apet,"groove",true) == 0) { SendClientMessage(playerid,COLOR_WHITE, "Vocк agora estб disfarзado de Groove."); SetPlayerColor(playerid, COLOR_WHITE); SetPlayerSkin(playerid,107); return 1; } if(strcmp(x_apet,"palhaco",true) == 0) { SendClientMessage(playerid,COLOR_WHITE, "Vocк agora estб disfarзado de Palhaзo."); SetPlayerColor(playerid, COLOR_WHITE); SetPlayerSkin(playerid,264); return 1; } if(strcmp(x_apet,"mendingo",true) == 0) { SendClientMessage(playerid,COLOR_WHITE, "Vocк agora estб disfarзado de Mendingo."); SetPlayerColor(playerid, COLOR_WHITE); SetPlayerSkin(playerid,78); return 1; } if(strcmp(x_apet,"Exercito",true) == 0) { SendClientMessage(playerid,COLOR_WHITE, "Vocк agora estб disfarзado de Palhaзo."); SetPlayerColor(playerid, COLOR_WHITE); SetPlayerSkin(playerid,287); return 1; } } else { SendClientMessage(playerid, COLOR_LIGHTRED, "Este comando nгo existe."); } } else { SendClientMessage(playerid, COLOR_LIGHTRED, "Vocк nгo estб no Vestiario."); } }
PHP код:
C:\Users\Felipe\Desktop\gmusado\gamemodes\BSL.pwn(26615) : warning 217: loose indentation
C:\Users\Felipe\Desktop\gmusado\gamemodes\BSL.pwn(26636) : warning 217: loose indentation
C:\Users\Felipe\Desktop\gmusado\gamemodes\BSL.pwn(26638) : warning 217: loose indentation
C:\Users\Felipe\Desktop\gmusado\gamemodes\BSL.pwn(26643) : warning 217: loose indentation
C:\Users\Felipe\Desktop\gmusado\gamemodes\BSL.pwn(26650) : warning 217: loose indentation
C:\Users\Felipe\Desktop\gmusado\gamemodes\BSL.pwn(26653) : warning 217: loose indentation
C:\Users\Felipe\Desktop\gmusado\gamemodes\BSL.pwn(26658) : warning 217: loose indentation
C:\Users\Felipe\Desktop\gmusado\gamemodes\BSL.pwn(26660) : warning 217: loose indentation
C:\Users\Felipe\Desktop\gmusado\gamemodes\BSL.pwn(26665) : warning 217: loose indentation
C:\Users\Felipe\Desktop\gmusado\gamemodes\BSL.pwn(26667) : warning 217: loose indentation
C:\Users\Felipe\Desktop\gmusado\gamemodes\BSL.pwn(26672) : warning 217: loose indentation
C:\Users\Felipe\Desktop\gmusado\gamemodes\BSL.pwn(26679) : warning 217: loose indentation
C:\Users\Felipe\Desktop\gmusado\gamemodes\BSL.pwn(26686) : warning 217: loose indentation
C:\Users\Felipe\Desktop\gmusado\gamemodes\BSL.pwn(26693) : warning 217: loose indentation
C:\Users\Felipe\Desktop\gmusado\gamemodes\BSL.pwn(26700) : warning 217: loose indentation
C:\Users\Felipe\Desktop\gmusado\gamemodes\BSL.pwn(26702) : warning 217: loose indentation
C:\Users\Felipe\Desktop\gmusado\gamemodes\BSL.pwn(26707) : warning 217: loose indentation
C:\Users\Felipe\Desktop\gmusado\gamemodes\BSL.pwn(26709) : warning 217: loose indentation
C:\Users\Felipe\Desktop\gmusado\gamemodes\BSL.pwn(26714) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
Header size: 13020 bytes
Code size: 2578948 bytes
Data size: 7074152 bytes
Stack/heap size: 16384 bytes; estimated max. usage: unknown, due to recursion
Total requirements: 9682504 bytes
19 Warnings.