[Ajuda] Warnings
#1

Estou com as seguintes warnings no gm
Quote:

C:\Users\usuario\Downloads\samp037_svr_R2-1-1_win32\gamemodes\que.pwn(362) : warning 213: tag mismatch
C:\Users\usuario\Downloads\samp037_svr_R2-1-1_win32\gamemodes\que.pwn(425) : warning 217: loose indentation
C:\Users\usuario\Downloads\samp037_svr_R2-1-1_win32\gamemodes\que.pwn(427) : warning 217: loose indentation
C:\Users\usuario\Downloads\samp037_svr_R2-1-1_win32\gamemodes\que.pwn(54 : warning 217: loose indentation

Cуdigo linha 362 :
PHP код:
    if(sscanf(params"dd"PlayerBCargo)) return SendClientMessage(playerid0x1E90FF99"Uso correto: /Promover [id] [cargo]"); 
PHP код:
public OnDialogResponse(playeriddialogidresponselistiteminputtext[])
{
if(
dialogid == 100 && response//100 й o ID do dialog que usamos no ShowPlayerDialog do comando /convidar. Response й a resposta ao primeiro botгo do dialog, no caso, "Sim".
    
{
        
ProgressaoInfo[playerid][Membro] = GetPVarInt(playerid"OrgConvidado"); //Setaremos a org do player = a org setada no PVar dele, que й a mesma do player que o convidou.
        
ProgressaoInfo[playerid][Cargo] = 1//Setaremos o cargo do player para 1 afinal ele acabou de entrar na nova organizaзгo.
        
DeletePVar(playerid"OrgConvidado"); //Deletaremos a PVar que usamos no comando /convidar.
  
}
    return 
1// Esta dando loose indentation aqui(linha 548)

PHP код:
public OnPlayerStateChange(playeridnewstateoldstate)
{
        if(
newstate == PLAYER_STATE_DRIVER//O novo estado do player й de motorista.
   
{
        if(
VDaOrg(VCivil,0,2)) SendClientMessage(playeridC_Civil"Vocк entrou em um veнculo Civil");
        if(
VDaOrg(VHitmans,0,2)  && ProgressaoInfo[playerid][Membro] != 2) return RemovePlayerFromVehicle(playerid), SendClientMessage(playeridC_Hitmans"Vocк nгo й dos Hitmans");
        if(
VDaOrg(VTriads,0,2) && ProgressaoInfo[playerid][Membro] != 2) return RemovePlayerFromVehicle(playerid), SendClientMessage(playeridC_Triads"Vocк nгo й da Triads");
        if(
VDaOrg(VDrifters,0,2)    && ProgressaoInfo[playerid][Membro] != 2) return RemovePlayerFromVehicle(playerid), SendClientMessage(playeridC_Drifters"Vocк nгo й dos Drifters");
        if(
VDaOrg(VCNostra,0,2)    && ProgressaoInfo[playerid][Membro] != 2) return RemovePlayerFromVehicle(playerid), SendClientMessage(playeridC_CNostra"Vocк nгo й da Cosa Nostra");
        if(
VDaOrg(VTaliban,0,2)    && ProgressaoInfo[playerid][Membro] != 2) return RemovePlayerFromVehicle(playerid), SendClientMessage(playeridC_Taliban"Vocк nгo й do Taliban");
        if(
VDaOrg(VMYakuza,0,2)    && ProgressaoInfo[playerid][Membro] != 2) return RemovePlayerFromVehicle(playerid), SendClientMessage(playeridC_MYakuza"Vocк nгo й da Mafia Yakuza");
        if(
VDaOrg(VPCivil,0,2)    && ProgressaoInfo[playerid][Membro] != 2) return RemovePlayerFromVehicle(playerid), SendClientMessage(playeridC_PCivil"Vocк nгo й da Policia Civil");
        if(
VDaOrg(VPMilitar,0,2)    && ProgressaoInfo[playerid][Membro] != 2) return RemovePlayerFromVehicle(playerid), SendClientMessage(playeridC_PMilitar"Vocк nгo й da Policia Militar");
        if(
VDaOrg(VBOPE,0,2)    && ProgressaoInfo[playerid][Membro] != 2) return RemovePlayerFromVehicle(playerid), SendClientMessage(playeridC_BOPE"Vocк nгo й do BOPE");
        if(
VDaOrg(VAlQaeda,0,2)    && ProgressaoInfo[playerid][Membro] != 2) return RemovePlayerFromVehicle(playerid), SendClientMessage(playeridC_AlQaeda"Vocк nгo й da AlQaeda");
        if(
VDaOrg(VSOAnarchy,0,2)    && ProgressaoInfo[playerid][Membro] != 2) return RemovePlayerFromVehicle(playerid), SendClientMessage(playeridC_SOAnarchy"Vocк nгo й dos Sons of Anarchy");
        if(
VDaOrg(VLMCs,0,2)    && ProgressaoInfo[playerid][Membro] != 2) return RemovePlayerFromVehicle(playerid), SendClientMessage(playeridC_LMCs"Vocк nгo й do Lost MCs");
        if(
VDaOrg(VLowriders,0,2)    && ProgressaoInfo[playerid][Membro] != 2) return RemovePlayerFromVehicle(playerid), SendClientMessage(playeridC_Lowriders"Vocк nгo й dos Lowriders");
        if(
VDaOrg(VGStreet,0,2)    && ProgressaoInfo[playerid][Membro] != 2) return RemovePlayerFromVehicle(playerid), SendClientMessage(playeridC_GStreet"Vocк nгo й da Groove Street");
        if(
VDaOrg(VBallas,0,2)    && ProgressaoInfo[playerid][Membro] != 2) return RemovePlayerFromVehicle(playerid), SendClientMessage(playeridC_Ballas"Vocк nгo й dos Ballas");
        if(
VDaOrg(VLAztecas,0,2)    && ProgressaoInfo[playerid][Membro] != 2) return RemovePlayerFromVehicle(playerid), SendClientMessage(playeridC_LAztecas"Vocк nгo й dos Los Aztecas");
        if(
VDaOrg(VLVagos,0,2)    && ProgressaoInfo[playerid][Membro] != 2) return RemovePlayerFromVehicle(playerid), SendClientMessage(playeridC_LVagos"Vocк nгo й dos Los Santos Vagos");
        if(
VDaOrg(VPFederal,0,2)    && ProgressaoInfo[playerid][Membro] != 2) return RemovePlayerFromVehicle(playerid), SendClientMessage(playeridC_PFederal"Vocк nгo й um Policial Federal");
        if(
VDaOrg(VExercito,0,2)    && ProgressaoInfo[playerid][Membro] != 2) return RemovePlayerFromVehicle(playerid), SendClientMessage(playeridC_Exercito"Vocк nгo й do Exercito");
       return 
true//loose indentation aqui(linha 425)
    
}
    return 
1// loose indentation aqui(linha 427)

Alguem pode me ajudar ? e.e
Reply


Messages In This Thread
Warnings - by VoighTi - 28.03.2016, 21:53
Re: Warnings - by TUIDAN - 28.03.2016, 22:05
Re: Warnings - by VoighTi - 28.03.2016, 22:20
Re: Warnings - by F1N4L - 28.03.2016, 22:33
Re: Warnings - by VoighTi - 28.03.2016, 22:42
Re: Warnings - by F1N4L - 28.03.2016, 22:51
Re: Warnings - by VoighTi - 28.03.2016, 23:03
Re: Warnings - by zPain - 28.03.2016, 23:10
Re: Warnings - by F1N4L - 28.03.2016, 23:12
Re: Warnings - by VoighTi - 28.03.2016, 23:30

Forum Jump:


Users browsing this thread: 1 Guest(s)