SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Português/Portuguese

Reply
 
Thread Tools Display Modes
Old 04/04/2017, 05:11 PM   #1
NATANGameron
Big Clucker
 
NATANGameron's Avatar
 
Join Date: Mar 2017
Location: Includes/World.inc
Posts: 162
Reputation: 1
Default warning 217: loose indentation, warning 202: number of arguments does not match definition

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;
	}
NATANGameron is offline   Reply With Quote
Old 04/04/2017, 05:19 PM   #2
Powered
Little Clucker
 
Join Date: Apr 2017
Posts: 30
Reputation: 7
Default Re: warning 217: loose indentation, warning 202: number of arguments does not match definition

warning 202: number of arguments does not match definition:

Tenta isso:
PHP Code:
ShowPlayerDialog(playeridD_OUTR2DIALOG_STYLE_LIST"{FFFFFF}Profissão - {FFFF00}Nível {FFFFFF}- {3DB134}Salário"StringCat"OK""Voltar"); //LINHA 10420 
Powered is offline   Reply With Quote
Old 04/04/2017, 05:22 PM   #3
RazorGuigo
Banned
 
Join Date: May 2016
Location: South is my Country
Posts: 1,132
Reputation: 104
Default Re: warning 217: loose indentation, warning 202: number of arguments does not match definition

Você colocou 2 vezes, voltar, retire uma!
RazorGuigo is offline   Reply With Quote
Old 04/04/2017, 05:59 PM   #4
NATANGameron
Big Clucker
 
NATANGameron's Avatar
 
Join Date: Mar 2017
Location: Includes/World.inc
Posts: 162
Reputation: 1
Default Re: warning 217: loose indentation, warning 202: number of arguments does not match definition

Quote:
Originally Posted by Powered View Post
warning 202: number of arguments does not match definition:

Tenta isso:
PHP Code:
ShowPlayerDialog(playeridD_OUTR2DIALOG_STYLE_LIST"{FFFFFF}Profissão - {FFFF00}Nível {FFFFFF}- {3DB134}Salário"StringCat"OK""Voltar"); //LINHA 10420 
1 Warning consertado so falta o outro.
NATANGameron is offline   Reply With Quote
Old 04/04/2017, 06:06 PM   #5
Powered
Little Clucker
 
Join Date: Apr 2017
Posts: 30
Reputation: 7
Default Re: warning 217: loose indentation, warning 202: number of arguments does not match definition

PHP 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.03.0, -0.80.00.00.0);
            
AttachObjectToVehicle(xenonazul2[playerid], xenonid[playerid], 0.05.0, -0.80.00.00.0);
            
AttachObjectToVehicle(xenonazul3[playerid], xenonid[playerid], 0.06.0, -0.80.00.00.0);
            
AttachObjectToVehicle(xenonazul4[playerid], xenonid[playerid], 0.07.0, -0.80.00.00.0);
            
SendClientMessage(playeridBranco" | 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.03.0, -0.80.00.00.0);
            
AttachObjectToVehicle(xenonvermelho2[playerid], xenonid1[playerid], 0.05.0, -0.80.00.00.0);
            
AttachObjectToVehicle(xenonvermelho3[playerid], xenonid1[playerid], 0.06.0, -0.80.00.00.0);
            
AttachObjectToVehicle(xenonvermelho4[playerid], xenonid1[playerid], 0.07.0, -0.80.00.00.0);
            
SendClientMessage(playeridBranco" | 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.03.0, -0.80.00.00.0);
            
AttachObjectToVehicle(xenonverde2[playerid], xenonid2[playerid], 0.05.0, -0.80.00.00.0);
            
AttachObjectToVehicle(xenonverde3[playerid], xenonid2[playerid], 0.06.0, -0.80.00.00.0);
            
AttachObjectToVehicle(xenonverde4[playerid], xenonid2[playerid], 0.07.0, -0.80.00.00.0);
            
SendClientMessage(playeridBranco" | 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.03.0, -0.80.00.00.0);
            
AttachObjectToVehicle(xenonazul2[playerid], xenonid3[playerid], 0.05.0, -0.80.00.00.0);
            
AttachObjectToVehicle(xenonazul3[playerid], xenonid3[playerid], 0.06.0, -0.80.00.00.0);
            
AttachObjectToVehicle(xenonazul4[playerid], xenonid3[playerid], 0.07.0, -0.80.00.00.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.03.0, -0.80.00.00.0);
            
AttachObjectToVehicle(xenonvermelho2[playerid], xenonid3[playerid], 0.05.0, -0.80.00.00.0);
            
AttachObjectToVehicle(xenonvermelho3[playerid], xenonid3[playerid], 0.06.0, -0.80.00.00.0);
            
AttachObjectToVehicle(xenonvermelho4[playerid], xenonid3[playerid], 0.07.0, -0.80.00.00.0);
            
SendClientMessage(playeridBranco" | 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.03.0, -0.80.00.00.0);
            
AttachObjectToVehicle(xenonbranco2[playerid], xenonid4[playerid], 0.05.0, -0.80.00.00.0);
            
AttachObjectToVehicle(xenonbranco3[playerid], xenonid4[playerid], 0.06.0, -0.80.00.00.0);
            
AttachObjectToVehicle(xenonbranco4[playerid], xenonid4[playerid], 0.07.0, -0.80.00.00.0);
            
SendClientMessage(playeridBranco" | 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(playeridBranco" | INFO | Xenon Desligado.");
        }
    }
    return 
1;

Powered is offline   Reply With Quote
Old 04/04/2017, 06:06 PM   #6
didimk157
Huge Clucker
 
Join Date: Oct 2016
Location: Seropedica/RJ
Posts: 451
Reputation: 8
Default Re: warning 217: loose indentation, warning 202: number of arguments does not match definition

PHP 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.03.0, -0.80.00.00.0);
            
AttachObjectToVehicle(xenonazul2[playerid], xenonid[playerid], 0.05.0, -0.80.00.00.0);
            
AttachObjectToVehicle(xenonazul3[playerid], xenonid[playerid], 0.06.0, -0.80.00.00.0);
            
AttachObjectToVehicle(xenonazul4[playerid], xenonid[playerid], 0.07.0, -0.80.00.00.0);
            
SendClientMessage(playeridBranco" | 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.03.0, -0.80.00.00.0);
            
AttachObjectToVehicle(xenonvermelho2[playerid], xenonid1[playerid], 0.05.0, -0.80.00.00.0);
            
AttachObjectToVehicle(xenonvermelho3[playerid], xenonid1[playerid], 0.06.0, -0.80.00.00.0);
            
AttachObjectToVehicle(xenonvermelho4[playerid], xenonid1[playerid], 0.07.0, -0.80.00.00.0);
            
SendClientMessage(playeridBranco" | 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.03.0, -0.80.00.00.0);
            
AttachObjectToVehicle(xenonverde2[playerid], xenonid2[playerid], 0.05.0, -0.80.00.00.0);
            
AttachObjectToVehicle(xenonverde3[playerid], xenonid2[playerid], 0.06.0, -0.80.00.00.0);
            
AttachObjectToVehicle(xenonverde4[playerid], xenonid2[playerid], 0.07.0, -0.80.00.00.0);
            
SendClientMessage(playeridBranco" | 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.03.0, -0.80.00.00.0);
            
AttachObjectToVehicle(xenonazul2[playerid], xenonid3[playerid], 0.05.0, -0.80.00.00.0);
            
AttachObjectToVehicle(xenonazul3[playerid], xenonid3[playerid], 0.06.0, -0.80.00.00.0);
            
AttachObjectToVehicle(xenonazul4[playerid], xenonid3[playerid], 0.07.0, -0.80.00.00.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.03.0, -0.80.00.00.0);
            
AttachObjectToVehicle(xenonvermelho2[playerid], xenonid3[playerid], 0.05.0, -0.80.00.00.0);
            
AttachObjectToVehicle(xenonvermelho3[playerid], xenonid3[playerid], 0.06.0, -0.80.00.00.0);
            
AttachObjectToVehicle(xenonvermelho4[playerid], xenonid3[playerid], 0.07.0, -0.80.00.00.0);
            
SendClientMessage(playeridBranco" | 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.03.0, -0.80.00.00.0);
            
AttachObjectToVehicle(xenonbranco2[playerid], xenonid4[playerid], 0.05.0, -0.80.00.00.0);
            
AttachObjectToVehicle(xenonbranco3[playerid], xenonid4[playerid], 0.06.0, -0.80.00.00.0);
            
AttachObjectToVehicle(xenonbranco4[playerid], xenonid4[playerid], 0.07.0, -0.80.00.00.0);
            
SendClientMessage(playeridBranco" | 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(playeridBranco" | INFO | Xenon Desligado.");
            }
        }
        return 
1;
    } 
__________________
didimk157 is offline   Reply With Quote
Old 04/04/2017, 06:40 PM   #7
IlanZ
High-roller
 
Join Date: Jul 2016
Location: Brasil
Posts: 1,348
Reputation: 75
Default Re: warning 217: loose indentation, warning 202: number of arguments does not match definition

Esse warning acontece por falta de organização, so alinhar tudo certinho, mais se precisar de ajuda...

http://tabulador.medianewsonline.com/
IlanZ is offline   Reply With Quote
Old 05/04/2017, 12:36 AM   #8
NATANGameron
Big Clucker
 
NATANGameron's Avatar
 
Join Date: Mar 2017
Location: Includes/World.inc
Posts: 162
Reputation: 1
Default Re: warning 217: loose indentation, warning 202: number of arguments does not match definition

Quote:
Originally Posted by IlanZ View Post
Esse warning acontece por falta de organização, so alinhar tudo certinho, mais se precisar de ajuda...

http://tabulador.medianewsonline.com/

VLW! Consegui resolver com esse site.
NATANGameron is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
warning 202: number of arguments does not match definition Switch9400 Scripting Help 1 18/12/2016 01:35 PM
warning 202: number of arguments does not match definition aunzconcept Scripting Help 6 24/06/2016 02:28 PM
[HELP] warning 202: number of arguments does not match definition GBLTeam Scripting Help 3 18/11/2014 12:58 PM
warning (7784) : warning 202: number of arguments does not match definition b0b Scripting Help 3 08/06/2014 05:26 PM
warning 202: number of arguments does not match definition tyler12 Scripting Help 3 26/05/2012 01:04 PM


All times are GMT. The time now is 03:08 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.