[Ajuda] warning 217: loose indentation, warning 202: number of arguments does not match definition
#1

Bom estou com essas Warnings e nгo consigo conserta :/ alguem me ajuda ae

C:\Users\Natan\Desktop\Server\gamemodes\WERP.pwn(2 0853) : warning 217: loose indentation
C:\Users\Natan\Desktop\Server\gamemodes\WERP.pwn(1 0420) : warning 202: number of arguments does not match definition

warning 202: number of arguments does not match definition:
Code:
ShowPlayerDialog(playerid, D_OUTR2, DIALOG_STYLE_LIST, "{FFFFFF}Profissгo - {FFFF00}Nнvel {FFFFFF}- {3DB134}Salбrio", StringCat, "Voltar", "OK", "Voltar"); //LINHA 10420
warning 217: loose indentation:
Code:
    if(dialogid == Xenon)
	{
		if(response)
		{
			if(GetPlayerState(playerid) != PLAYER_STATE_DRIVER) return SendClientMessage(playerid, -1, "Vocк nгo estб em um veнculo.");
			if(listitem == 0)
		{
			xenonid[playerid] = GetPlayerVehicleID(playerid);
			DestroyObject(xenonazul1[playerid]);
			DestroyObject(xenonazul2[playerid]);
			DestroyObject(xenonazul3[playerid]);
			DestroyObject(xenonazul4[playerid]);
			DeletePVar(playerid,xenonazul1[playerid]);
			DeletePVar(playerid,xenonazul2[playerid]);
			DeletePVar(playerid,xenonazul3[playerid]);
			DeletePVar(playerid,xenonazul4[playerid]);
			DestroyObject(xenonverde1[playerid]);
			DestroyObject(xenonverde2[playerid]);
			DestroyObject(xenonverde3[playerid]);
			DestroyObject(xenonverde4[playerid]);
			DeletePVar(playerid,xenonverde1[playerid]);
			DeletePVar(playerid,xenonverde2[playerid]);
			DeletePVar(playerid,xenonverde3[playerid]);
			DeletePVar(playerid,xenonverde4[playerid]);
			DestroyObject(xenonvermelho1[playerid]);
			DestroyObject(xenonvermelho2[playerid]);
			DestroyObject(xenonvermelho3[playerid]);
			DestroyObject(xenonvermelho4[playerid]);
			DeletePVar(playerid,xenonvermelho1[playerid]);
			DeletePVar(playerid,xenonvermelho2[playerid]);
			DeletePVar(playerid,xenonvermelho3[playerid]);
			DeletePVar(playerid,xenonvermelho4[playerid]);
			DestroyObject(xenonbranco1[playerid]);
			DestroyObject(xenonbranco2[playerid]);
			DestroyObject(xenonbranco3[playerid]);
			DestroyObject(xenonbranco4[playerid]);
			DeletePVar(playerid,xenonbranco1[playerid]);
			DeletePVar(playerid,xenonbranco2[playerid]);
			DeletePVar(playerid,xenonbranco3[playerid]);
			DeletePVar(playerid,xenonbranco4[playerid]);
			xenonazul1[playerid] = CreateObject(19298,0,0,0,0,0,0);
			xenonazul2[playerid] = CreateObject(19298,0,0,0,0,0,0);
			xenonazul3[playerid] = CreateObject(19298,0,0,0,0,0,0);
			xenonazul4[playerid] = CreateObject(19298,0,0,0,0,0,0);
			AttachObjectToVehicle(xenonazul1[playerid], xenonid[playerid], 0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
			AttachObjectToVehicle(xenonazul2[playerid], xenonid[playerid], 0.0, 5.0, -0.8, 0.0, 0.0, 0.0);
			AttachObjectToVehicle(xenonazul3[playerid], xenonid[playerid], 0.0, 6.0, -0.8, 0.0, 0.0, 0.0);
			AttachObjectToVehicle(xenonazul4[playerid], xenonid[playerid], 0.0, 7.0, -0.8, 0.0, 0.0, 0.0);
			SendClientMessage(playerid, Branco, " | INFO | Vocк adicionou um Xenon Azul.");
		}//==================================================================================================
		if(listitem == 1) //LINHA 20853
		{
			xenonid1[playerid] = GetPlayerVehicleID(playerid);
			DestroyObject(xenonazul1[playerid]);
			DestroyObject(xenonazul2[playerid]);
			DestroyObject(xenonazul3[playerid]);
			DestroyObject(xenonazul4[playerid]);
			DeletePVar(playerid,xenonazul1[playerid]);
			DeletePVar(playerid,xenonazul2[playerid]);
			DeletePVar(playerid,xenonazul3[playerid]);
			DeletePVar(playerid,xenonazul4[playerid]);
			DestroyObject(xenonverde1[playerid]);
			DestroyObject(xenonverde2[playerid]);
			DestroyObject(xenonverde3[playerid]);
			DestroyObject(xenonverde4[playerid]);
			DeletePVar(playerid,xenonverde1[playerid]);
			DeletePVar(playerid,xenonverde2[playerid]);
			DeletePVar(playerid,xenonverde3[playerid]);
			DeletePVar(playerid,xenonverde4[playerid]);
			DestroyObject(xenonvermelho1[playerid]);
			DestroyObject(xenonvermelho2[playerid]);
			DestroyObject(xenonvermelho3[playerid]);
			DestroyObject(xenonvermelho4[playerid]);
			DeletePVar(playerid,xenonvermelho1[playerid]);
			DeletePVar(playerid,xenonvermelho2[playerid]);
			DeletePVar(playerid,xenonvermelho3[playerid]);
			DeletePVar(playerid,xenonvermelho4[playerid]);
			DestroyObject(xenonbranco1[playerid]);
			DestroyObject(xenonbranco2[playerid]);
			DestroyObject(xenonbranco3[playerid]);
			DestroyObject(xenonbranco4[playerid]);
			DeletePVar(playerid,xenonbranco1[playerid]);
			DeletePVar(playerid,xenonbranco2[playerid]);
			DeletePVar(playerid,xenonbranco3[playerid]);
			DeletePVar(playerid,xenonbranco4[playerid]);
			xenonvermelho1[playerid] = CreateObject(19296,0,0,0,0,0,0);
			xenonvermelho2[playerid] = CreateObject(19296,0,0,0,0,0,0);
			xenonvermelho3[playerid] = CreateObject(19296,0,0,0,0,0,0);
			xenonvermelho4[playerid] = CreateObject(19296,0,0,0,0,0,0);
			AttachObjectToVehicle(xenonvermelho1[playerid], xenonid1[playerid], 0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
			AttachObjectToVehicle(xenonvermelho2[playerid], xenonid1[playerid], 0.0, 5.0, -0.8, 0.0, 0.0, 0.0);
			AttachObjectToVehicle(xenonvermelho3[playerid], xenonid1[playerid], 0.0, 6.0, -0.8, 0.0, 0.0, 0.0);
			AttachObjectToVehicle(xenonvermelho4[playerid], xenonid1[playerid], 0.0, 7.0, -0.8, 0.0, 0.0, 0.0);
			SendClientMessage(playerid, Branco, " | INFO | Vocк adicionou um Xenon Vermelho.");
		}//==================================================================================================
		if(listitem == 2)
		{
			xenonid2[playerid] = GetPlayerVehicleID(playerid);
			DestroyObject(xenonazul1[playerid]);
			DestroyObject(xenonazul2[playerid]);
			DestroyObject(xenonazul3[playerid]);
			DestroyObject(xenonazul4[playerid]);
			DeletePVar(playerid,xenonazul1[playerid]);
			DeletePVar(playerid,xenonazul2[playerid]);
			DeletePVar(playerid,xenonazul3[playerid]);
			DeletePVar(playerid,xenonazul4[playerid]);
			DestroyObject(xenonverde1[playerid]);
			DestroyObject(xenonverde2[playerid]);
			DestroyObject(xenonverde3[playerid]);
			DestroyObject(xenonverde4[playerid]);
			DeletePVar(playerid,xenonverde1[playerid]);
			DeletePVar(playerid,xenonverde2[playerid]);
			DeletePVar(playerid,xenonverde3[playerid]);
			DeletePVar(playerid,xenonverde4[playerid]);
			DestroyObject(xenonvermelho1[playerid]);
			DestroyObject(xenonvermelho2[playerid]);
			DestroyObject(xenonvermelho3[playerid]);
			DestroyObject(xenonvermelho4[playerid]);
			DeletePVar(playerid,xenonvermelho1[playerid]);
			DeletePVar(playerid,xenonvermelho2[playerid]);
			DeletePVar(playerid,xenonvermelho3[playerid]);
			DeletePVar(playerid,xenonvermelho4[playerid]);
			DestroyObject(xenonbranco1[playerid]);
			DestroyObject(xenonbranco2[playerid]);
			DestroyObject(xenonbranco3[playerid]);
			DestroyObject(xenonbranco4[playerid]);
			DeletePVar(playerid,xenonbranco1[playerid]);
			DeletePVar(playerid,xenonbranco2[playerid]);
			DeletePVar(playerid,xenonbranco3[playerid]);
			DeletePVar(playerid,xenonbranco4[playerid]);
			xenonverde1[playerid] = CreateObject(19297,0,0,0,0,0,0);
			xenonverde2[playerid] = CreateObject(19297,0,0,0,0,0,0);
			xenonverde3[playerid] = CreateObject(19297,0,0,0,0,0,0);
			xenonverde4[playerid] = CreateObject(19297,0,0,0,0,0,0);
			AttachObjectToVehicle(xenonverde1[playerid], xenonid2[playerid], 0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
			AttachObjectToVehicle(xenonverde2[playerid], xenonid2[playerid], 0.0, 5.0, -0.8, 0.0, 0.0, 0.0);
			AttachObjectToVehicle(xenonverde3[playerid], xenonid2[playerid], 0.0, 6.0, -0.8, 0.0, 0.0, 0.0);
			AttachObjectToVehicle(xenonverde4[playerid], xenonid2[playerid], 0.0, 7.0, -0.8, 0.0, 0.0, 0.0);
			SendClientMessage(playerid, Branco, " | INFO | Vocк adicionou um Xenon Verde.");
		}
		if(listitem == 3)
		{
			xenonid3[playerid] = GetPlayerVehicleID(playerid);
			DestroyObject(xenonazul1[playerid]);
			DestroyObject(xenonazul2[playerid]);
			DestroyObject(xenonazul3[playerid]);
			DestroyObject(xenonazul4[playerid]);
			DeletePVar(playerid,xenonazul1[playerid]);
			DeletePVar(playerid,xenonazul2[playerid]);
			DeletePVar(playerid,xenonazul3[playerid]);
			DeletePVar(playerid,xenonazul4[playerid]);
			DestroyObject(xenonverde1[playerid]);
			DestroyObject(xenonverde2[playerid]);
			DestroyObject(xenonverde3[playerid]);
			DestroyObject(xenonverde4[playerid]);
			DeletePVar(playerid,xenonverde1[playerid]);
			DeletePVar(playerid,xenonverde2[playerid]);
			DeletePVar(playerid,xenonverde3[playerid]);
			DeletePVar(playerid,xenonverde4[playerid]);
			DestroyObject(xenonvermelho1[playerid]);
			DestroyObject(xenonvermelho2[playerid]);
			DestroyObject(xenonvermelho3[playerid]);
			DestroyObject(xenonvermelho4[playerid]);
			DeletePVar(playerid,xenonvermelho1[playerid]);
			DeletePVar(playerid,xenonvermelho2[playerid]);
			DeletePVar(playerid,xenonvermelho3[playerid]);
			DeletePVar(playerid,xenonvermelho4[playerid]);
			DestroyObject(xenonbranco1[playerid]);
			DestroyObject(xenonbranco2[playerid]);
			DestroyObject(xenonbranco3[playerid]);
			DestroyObject(xenonbranco4[playerid]);
			DeletePVar(playerid,xenonbranco1[playerid]);
			DeletePVar(playerid,xenonbranco2[playerid]);
			DeletePVar(playerid,xenonbranco3[playerid]);
			DeletePVar(playerid,xenonbranco4[playerid]);
			xenonazul1[playerid] = CreateObject(19298,0,0,0,0,0,0);
			xenonazul2[playerid] = CreateObject(19298,0,0,0,0,0,0);
			xenonazul3[playerid] = CreateObject(19298,0,0,0,0,0,0);
			xenonazul4[playerid] = CreateObject(19298,0,0,0,0,0,0);
			AttachObjectToVehicle(xenonazul1[playerid], xenonid3[playerid], 0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
			AttachObjectToVehicle(xenonazul2[playerid], xenonid3[playerid], 0.0, 5.0, -0.8, 0.0, 0.0, 0.0);
			AttachObjectToVehicle(xenonazul3[playerid], xenonid3[playerid], 0.0, 6.0, -0.8, 0.0, 0.0, 0.0);
			AttachObjectToVehicle(xenonazul4[playerid], xenonid3[playerid], 0.0, 7.0, -0.8, 0.0, 0.0, 0.0);
			xenonvermelho1[playerid] = CreateObject(19296,0,0,0,0,0,0);
			xenonvermelho2[playerid] = CreateObject(19296,0,0,0,0,0,0);
			xenonvermelho3[playerid] = CreateObject(19296,0,0,0,0,0,0);
			xenonvermelho4[playerid] = CreateObject(19296,0,0,0,0,0,0);
			AttachObjectToVehicle(xenonvermelho1[playerid], xenonid3[playerid], 0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
			AttachObjectToVehicle(xenonvermelho2[playerid], xenonid3[playerid], 0.0, 5.0, -0.8, 0.0, 0.0, 0.0);
			AttachObjectToVehicle(xenonvermelho3[playerid], xenonid3[playerid], 0.0, 6.0, -0.8, 0.0, 0.0, 0.0);
			AttachObjectToVehicle(xenonvermelho4[playerid], xenonid3[playerid], 0.0, 7.0, -0.8, 0.0, 0.0, 0.0);
			SendClientMessage(playerid, Branco, " | INFO | Vocк adicionou um Xenon Rosa.");
		}
		if(listitem == 4)
		{
			xenonid4[playerid] = GetPlayerVehicleID(playerid);
			DestroyObject(xenonazul1[playerid]);
			DestroyObject(xenonazul2[playerid]);
			DestroyObject(xenonazul3[playerid]);
			DestroyObject(xenonazul4[playerid]);
			DeletePVar(playerid,xenonazul1[playerid]);
			DeletePVar(playerid,xenonazul2[playerid]);
			DeletePVar(playerid,xenonazul3[playerid]);
			DeletePVar(playerid,xenonazul4[playerid]);
			DestroyObject(xenonverde1[playerid]);
			DestroyObject(xenonverde2[playerid]);
			DestroyObject(xenonverde3[playerid]);
			DestroyObject(xenonverde4[playerid]);
			DeletePVar(playerid,xenonverde1[playerid]);
			DeletePVar(playerid,xenonverde2[playerid]);
			DeletePVar(playerid,xenonverde3[playerid]);
			DeletePVar(playerid,xenonverde4[playerid]);
			DestroyObject(xenonvermelho1[playerid]);
			DestroyObject(xenonvermelho2[playerid]);
			DestroyObject(xenonvermelho3[playerid]);
			DestroyObject(xenonvermelho4[playerid]);
			DeletePVar(playerid,xenonvermelho1[playerid]);
			DeletePVar(playerid,xenonvermelho2[playerid]);
			DeletePVar(playerid,xenonvermelho3[playerid]);
			DeletePVar(playerid,xenonvermelho4[playerid]);
			DestroyObject(xenonbranco1[playerid]);
			DestroyObject(xenonbranco2[playerid]);
			DestroyObject(xenonbranco3[playerid]);
			DestroyObject(xenonbranco4[playerid]);
			DeletePVar(playerid,xenonbranco1[playerid]);
			DeletePVar(playerid,xenonbranco2[playerid]);
			DeletePVar(playerid,xenonbranco3[playerid]);
			DeletePVar(playerid,xenonbranco4[playerid]);
			xenonbranco1[playerid] = CreateObject(19295,0,0,0,0,0,0);
			xenonbranco2[playerid] = CreateObject(19295,0,0,0,0,0,0);
			xenonbranco3[playerid] = CreateObject(19295,0,0,0,0,0,0);
			xenonbranco4[playerid] = CreateObject(19295,0,0,0,0,0,0);
			AttachObjectToVehicle(xenonbranco1[playerid], xenonid4[playerid], 0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
			AttachObjectToVehicle(xenonbranco2[playerid], xenonid4[playerid], 0.0, 5.0, -0.8, 0.0, 0.0, 0.0);
			AttachObjectToVehicle(xenonbranco3[playerid], xenonid4[playerid], 0.0, 6.0, -0.8, 0.0, 0.0, 0.0);
			AttachObjectToVehicle(xenonbranco4[playerid], xenonid4[playerid], 0.0, 7.0, -0.8, 0.0, 0.0, 0.0);
			SendClientMessage(playerid, Branco, " | INFO | Vocк adicionou um Xenon Branco.");
		}
		if(listitem == 5)
		{
			DestroyObject(xenonazul1[playerid]);
			DestroyObject(xenonazul2[playerid]);
			DestroyObject(xenonazul3[playerid]);
			DestroyObject(xenonazul4[playerid]);
			DeletePVar(playerid,xenonazul1[playerid]);
			DeletePVar(playerid,xenonazul2[playerid]);
			DeletePVar(playerid,xenonazul3[playerid]);
			DeletePVar(playerid,xenonazul4[playerid]);
			DestroyObject(xenonverde1[playerid]);
			DestroyObject(xenonverde2[playerid]);
			DestroyObject(xenonverde3[playerid]);
			DestroyObject(xenonverde4[playerid]);
			DeletePVar(playerid,xenonverde1[playerid]);
			DeletePVar(playerid,xenonverde2[playerid]);
			DeletePVar(playerid,xenonverde3[playerid]);
			DeletePVar(playerid,xenonverde4[playerid]);
			DestroyObject(xenonvermelho1[playerid]);
			DestroyObject(xenonvermelho2[playerid]);
			DestroyObject(xenonvermelho3[playerid]);
			DestroyObject(xenonvermelho4[playerid]);
			DeletePVar(playerid,xenonvermelho1[playerid]);
			DeletePVar(playerid,xenonvermelho2[playerid]);
			DeletePVar(playerid,xenonvermelho3[playerid]);
			DeletePVar(playerid,xenonvermelho4[playerid]);
			DestroyObject(xenonbranco1[playerid]);
			DestroyObject(xenonbranco2[playerid]);
			DestroyObject(xenonbranco3[playerid]);
			DestroyObject(xenonbranco4[playerid]);
			DeletePVar(playerid,xenonbranco1[playerid]);
			DeletePVar(playerid,xenonbranco2[playerid]);
			DeletePVar(playerid,xenonbranco3[playerid]);
			DeletePVar(playerid,xenonbranco4[playerid]);
			SendClientMessage(playerid, Branco, " | INFO | Xenon Desligado.");
			}
		}
		return 1;
	}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)