[Ajuda] XENON
#1

oque hб de errado?
pawn Код:
C:\Users\Re\Desktop\neon.pwn(104) : error 030: compound statement not closed at the end of file (started at line 29)
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
OBS:nгo existe linha 104
pawn Код:
//remover xenon
            DestroyObject(GetPVarInt(playerid, "xenon"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon1"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon2"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon3"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon4"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon5"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon6"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon7"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon8"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon9"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon10"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon11"));
            DeletePVar(playerid, "Status");
return 1;
}
Reply
#2

voce abriu um

pawn Код:
/*
algures e esqueceu fechar.
Reply
#3

Quote:
Originally Posted by PT
Посмотреть сообщение
voce abriu um

pawn Код:
/*
algures e esqueceu fechar.
pawn Код:
#include <a_samp>
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{

#else
#endif
#pragma tabsize 0


public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp("/xenon", cmdtext, true, 10) == 0)
{
ShowPlayerDialog(playerid, 8899, DIALOG_STYLE_LIST, "Xenons", "Azul\nVermelho\nVerde\nDesligar Xenon", "Selecionar", "Cancelar");
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 10.0);
return 1;
}
return 0;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{

 if(dialogid == 8899)
    {
        if(response)
        {
            if(listitem == 0)
            {


            //azul
            SetPVarInt(playerid, "Status", 1);
            SetPVarInt(playerid, "xenon", CreateObject(19298,0,0,0,0,0,0));
            SetPVarInt(playerid, "xenon1", CreateObject(19298,0,0,0,0,0,0));
            SetPVarInt(playerid, "xenon2", CreateObject(19298,0,0,0,0,0,0));
            SetPVarInt(playerid, "xenon3", CreateObject(19298,0,0,0,0,0,0));
            AttachObjectToVehicle(GetPVarInt(playerid, "xenon"), GetPlayerVehicleID(playerid), 0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, "xenon1"), GetPlayerVehicleID(playerid),0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, "xenon2"), GetPlayerVehicleID(playerid), 0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, "xenon3"), GetPlayerVehicleID(playerid),0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
             }
            if(listitem == 1)
            {


             //vermelho
                SetPVarInt(playerid, "Status", 1);
            SetPVarInt(playerid, "xenon4", CreateObject(19296,0,0,0,0,0,0));
            SetPVarInt(playerid, "xenon5", CreateObject(19296,0,0,0,0,0,0));
            SetPVarInt(playerid, "xenon6", CreateObject(19296,0,0,0,0,0,0));
            SetPVarInt(playerid, "xenon7", CreateObject(19296,0,0,0,0,0,0));
            AttachObjectToVehicle(GetPVarInt(playerid, "xenon4"), GetPlayerVehicleID(playerid), 0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, "xenon5"), GetPlayerVehicleID(playerid),0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, "xenon6"), GetPlayerVehicleID(playerid), 0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, "xenon7"), GetPlayerVehicleID(playerid),0.0, 3.0, -0.8, 0.0, 0.0, 0.0);

}
            if(listitem == 2)
            {


            //verde
            SetPVarInt(playerid, "Status", 1);
            SetPVarInt(playerid, "xenon8", CreateObject(19297,0,0,0,0,0,0));
            SetPVarInt(playerid, "xenon9", CreateObject(19297,0,0,0,0,0,0));
            SetPVarInt(playerid, "xenon10", CreateObject(19297,0,0,0,0,0,0));
            SetPVarInt(playerid, "xenon11", CreateObject(19297,0,0,0,0,0,0));
            AttachObjectToVehicle(GetPVarInt(playerid, "xenon8"), GetPlayerVehicleID(playerid), 0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, "xenon9"), GetPlayerVehicleID(playerid),0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, "xenon10"), GetPlayerVehicleID(playerid), 0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, "xenon11"), GetPlayerVehicleID(playerid),0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
                }
            //remover xenon
            DestroyObject(GetPVarInt(playerid, "xenon"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon1"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon2"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon3"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon4"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon5"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon6"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon7"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon8"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon9"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon10"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon11"));
            DeletePVar(playerid, "Status");
return 1;
}
Reply
#4

help!!! :/
Reply
#5

pawn Код:
#include <a_samp>
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{

#else
#endif
#pragma tabsize 0


public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp("/xenon", cmdtext, true, 10) == 0)
{
ShowPlayerDialog(playerid, 8899, DIALOG_STYLE_LIST, "Xenons", "Azul\nVermelho\nVerde\nDesligar Xenon", "Selecionar", "Cancelar");
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 10.0);
return 1;
}
return 0;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{

 if(dialogid == 8899)
    {
        if(response)
        {
            if(listitem == 0)
            {


            //azul
            SetPVarInt(playerid, "Status", 1);
            SetPVarInt(playerid, "xenon", CreateObject(19298,0,0,0,0,0,0));
            SetPVarInt(playerid, "xenon1", CreateObject(19298,0,0,0,0,0,0));
            SetPVarInt(playerid, "xenon2", CreateObject(19298,0,0,0,0,0,0));
            SetPVarInt(playerid, "xenon3", CreateObject(19298,0,0,0,0,0,0));
            AttachObjectToVehicle(GetPVarInt(playerid, "xenon"), GetPlayerVehicleID(playerid), 0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, "xenon1"), GetPlayerVehicleID(playerid),0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, "xenon2"), GetPlayerVehicleID(playerid), 0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, "xenon3"), GetPlayerVehicleID(playerid),0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
             }
            if(listitem == 1)
            {


             //vermelho
                SetPVarInt(playerid, "Status", 1);
            SetPVarInt(playerid, "xenon4", CreateObject(19296,0,0,0,0,0,0));
            SetPVarInt(playerid, "xenon5", CreateObject(19296,0,0,0,0,0,0));
            SetPVarInt(playerid, "xenon6", CreateObject(19296,0,0,0,0,0,0));
            SetPVarInt(playerid, "xenon7", CreateObject(19296,0,0,0,0,0,0));
            AttachObjectToVehicle(GetPVarInt(playerid, "xenon4"), GetPlayerVehicleID(playerid), 0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, "xenon5"), GetPlayerVehicleID(playerid),0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, "xenon6"), GetPlayerVehicleID(playerid), 0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, "xenon7"), GetPlayerVehicleID(playerid),0.0, 3.0, -0.8, 0.0, 0.0, 0.0);

}
            if(listitem == 2)
            {


            //verde
            SetPVarInt(playerid, "Status", 1);
            SetPVarInt(playerid, "xenon8", CreateObject(19297,0,0,0,0,0,0));
            SetPVarInt(playerid, "xenon9", CreateObject(19297,0,0,0,0,0,0));
            SetPVarInt(playerid, "xenon10", CreateObject(19297,0,0,0,0,0,0));
            SetPVarInt(playerid, "xenon11", CreateObject(19297,0,0,0,0,0,0));
            AttachObjectToVehicle(GetPVarInt(playerid, "xenon8"), GetPlayerVehicleID(playerid), 0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, "xenon9"), GetPlayerVehicleID(playerid),0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, "xenon10"), GetPlayerVehicleID(playerid), 0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, "xenon11"), GetPlayerVehicleID(playerid),0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
                }
            //remover xenon
            DestroyObject(GetPVarInt(playerid, "xenon"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon1"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon2"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon3"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon4"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon5"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon6"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon7"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon8"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon9"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon10"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon11"));
            DeletePVar(playerid, "Status");
}
return 1;
}
Reply
#6

Quote:
Originally Posted by Wellington1999
Посмотреть сообщение
pawn Код:
#include <a_samp>
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{

#else
#endif
#pragma tabsize 0


public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp("/xenon", cmdtext, true, 10) == 0)
{
ShowPlayerDialog(playerid, 8899, DIALOG_STYLE_LIST, "Xenons", "Azul\nVermelho\nVerde\nDesligar Xenon", "Selecionar", "Cancelar");
PlayerPlaySound(playerid, 1133, 0.0, 0.0, 10.0);
return 1;
}
return 0;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{

 if(dialogid == 8899)
    {
        if(response)
        {
            if(listitem == 0)
            {


            //azul
            SetPVarInt(playerid, "Status", 1);
            SetPVarInt(playerid, "xenon", CreateObject(19298,0,0,0,0,0,0));
            SetPVarInt(playerid, "xenon1", CreateObject(19298,0,0,0,0,0,0));
            SetPVarInt(playerid, "xenon2", CreateObject(19298,0,0,0,0,0,0));
            SetPVarInt(playerid, "xenon3", CreateObject(19298,0,0,0,0,0,0));
            AttachObjectToVehicle(GetPVarInt(playerid, "xenon"), GetPlayerVehicleID(playerid), 0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, "xenon1"), GetPlayerVehicleID(playerid),0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, "xenon2"), GetPlayerVehicleID(playerid), 0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, "xenon3"), GetPlayerVehicleID(playerid),0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
             }
            if(listitem == 1)
            {


             //vermelho
                SetPVarInt(playerid, "Status", 1);
            SetPVarInt(playerid, "xenon4", CreateObject(19296,0,0,0,0,0,0));
            SetPVarInt(playerid, "xenon5", CreateObject(19296,0,0,0,0,0,0));
            SetPVarInt(playerid, "xenon6", CreateObject(19296,0,0,0,0,0,0));
            SetPVarInt(playerid, "xenon7", CreateObject(19296,0,0,0,0,0,0));
            AttachObjectToVehicle(GetPVarInt(playerid, "xenon4"), GetPlayerVehicleID(playerid), 0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, "xenon5"), GetPlayerVehicleID(playerid),0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, "xenon6"), GetPlayerVehicleID(playerid), 0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, "xenon7"), GetPlayerVehicleID(playerid),0.0, 3.0, -0.8, 0.0, 0.0, 0.0);

}
            if(listitem == 2)
            {


            //verde
            SetPVarInt(playerid, "Status", 1);
            SetPVarInt(playerid, "xenon8", CreateObject(19297,0,0,0,0,0,0));
            SetPVarInt(playerid, "xenon9", CreateObject(19297,0,0,0,0,0,0));
            SetPVarInt(playerid, "xenon10", CreateObject(19297,0,0,0,0,0,0));
            SetPVarInt(playerid, "xenon11", CreateObject(19297,0,0,0,0,0,0));
            AttachObjectToVehicle(GetPVarInt(playerid, "xenon8"), GetPlayerVehicleID(playerid), 0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, "xenon9"), GetPlayerVehicleID(playerid),0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, "xenon10"), GetPlayerVehicleID(playerid), 0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, "xenon11"), GetPlayerVehicleID(playerid),0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
                }
            //remover xenon
            DestroyObject(GetPVarInt(playerid, "xenon"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon1"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon2"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon3"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon4"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon5"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon6"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon7"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon8"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon9"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon10"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "xenon11"));
            DeletePVar(playerid, "Status");
}
return 1;
}
pawn Код:
C:\Users\Re\Desktop\neon.pwn(102) : error 030: compound statement not closed at the end of file (started at line 27)
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Reply
#7

Eu recomendo vocк a identar o seu cуdigo!

pawn Код:
#include <a_samp>

public OnPlayerCommandText(playerid, cmdtext[])
{
    if(strcmp("/xenon", cmdtext, true, 10) == 0)
    {
        ShowPlayerDialog(playerid, 8899, DIALOG_STYLE_LIST, "Xenons", "Azul\nVermelho\nVerde\nDesligar Xenon", "Selecionar", "Cancelar");

        PlayerPlaySound(playerid, 1133, 0.0, 0.0, 10.0);
        return 1;
    }
    return 0;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == 8899)
    {
        if(response)
        {
            if(listitem == 0)
            {
                SetPVarInt(playerid, "Status", 1);
                SetPVarInt(playerid, "xenon", CreateObject(19298,0,0,0,0,0,0));
                SetPVarInt(playerid, "xenon1", CreateObject(19298,0,0,0,0,0,0));
                SetPVarInt(playerid, "xenon2", CreateObject(19298,0,0,0,0,0,0));
                SetPVarInt(playerid, "xenon3", CreateObject(19298,0,0,0,0,0,0));

                AttachObjectToVehicle(GetPVarInt(playerid, "xenon"), GetPlayerVehicleID(playerid), 0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
                AttachObjectToVehicle(GetPVarInt(playerid, "xenon1"), GetPlayerVehicleID(playerid),0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
                AttachObjectToVehicle(GetPVarInt(playerid, "xenon2"), GetPlayerVehicleID(playerid), 0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
                AttachObjectToVehicle(GetPVarInt(playerid, "xenon3"), GetPlayerVehicleID(playerid),0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
            }
            if(listitem == 1)
            {
                SetPVarInt(playerid, "Status", 1);
                SetPVarInt(playerid, "xenon4", CreateObject(19296,0,0,0,0,0,0));
                SetPVarInt(playerid, "xenon5", CreateObject(19296,0,0,0,0,0,0));
                SetPVarInt(playerid, "xenon6", CreateObject(19296,0,0,0,0,0,0));
                SetPVarInt(playerid, "xenon7", CreateObject(19296,0,0,0,0,0,0));

                AttachObjectToVehicle(GetPVarInt(playerid, "xenon4"), GetPlayerVehicleID(playerid), 0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
                AttachObjectToVehicle(GetPVarInt(playerid, "xenon5"), GetPlayerVehicleID(playerid),0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
                AttachObjectToVehicle(GetPVarInt(playerid, "xenon6"), GetPlayerVehicleID(playerid), 0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
                AttachObjectToVehicle(GetPVarInt(playerid, "xenon7"), GetPlayerVehicleID(playerid),0.0, 3.0, -0.8, 0.0, 0.0, 0.0);

            }
            if(listitem == 2)
            {
                SetPVarInt(playerid, "Status", 1);
                SetPVarInt(playerid, "xenon8", CreateObject(19297,0,0,0,0,0,0));
                SetPVarInt(playerid, "xenon9", CreateObject(19297,0,0,0,0,0,0));
                SetPVarInt(playerid, "xenon10", CreateObject(19297,0,0,0,0,0,0));
                SetPVarInt(playerid, "xenon11", CreateObject(19297,0,0,0,0,0,0));

                AttachObjectToVehicle(GetPVarInt(playerid, "xenon8"), GetPlayerVehicleID(playerid), 0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
                AttachObjectToVehicle(GetPVarInt(playerid, "xenon9"), GetPlayerVehicleID(playerid),0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
                AttachObjectToVehicle(GetPVarInt(playerid, "xenon10"), GetPlayerVehicleID(playerid), 0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
                AttachObjectToVehicle(GetPVarInt(playerid, "xenon11"), GetPlayerVehicleID(playerid),0.0, 3.0, -0.8, 0.0, 0.0, 0.0);
            }
            if(listitem == 3)
            {
                DestroyObject(GetPVarInt(playerid, "xenon"));
                DeletePVar(playerid, "Status");
                DestroyObject(GetPVarInt(playerid, "xenon1"));
                DeletePVar(playerid, "Status");
                DestroyObject(GetPVarInt(playerid, "xenon2"));
                DeletePVar(playerid, "Status");
                DestroyObject(GetPVarInt(playerid, "xenon3"));
                DeletePVar(playerid, "Status");
                DestroyObject(GetPVarInt(playerid, "xenon4"));
                DeletePVar(playerid, "Status");
                DestroyObject(GetPVarInt(playerid, "xenon5"));
                DeletePVar(playerid, "Status");
                DestroyObject(GetPVarInt(playerid, "xenon6"));
                DeletePVar(playerid, "Status");
                DestroyObject(GetPVarInt(playerid, "xenon7"));
                DeletePVar(playerid, "Status");
                DestroyObject(GetPVarInt(playerid, "xenon8"));
                DeletePVar(playerid, "Status");
                DestroyObject(GetPVarInt(playerid, "xenon9"));
                DeletePVar(playerid, "Status");
                DestroyObject(GetPVarInt(playerid, "xenon10"));
                DeletePVar(playerid, "Status");
                DestroyObject(GetPVarInt(playerid, "xenon11"));
                DeletePVar(playerid, "Status");
            }
        }
    }
    return 1;
}
Reply
#8

Problemas com fechamento de chaves...
@TIP:

Quote:
Originally Posted by Schocc
Посмотреть сообщение
Sempre feche as chaves '', "", (), {}, [], no mesmo momento em que vocк abre, para uma boa pratica seguindo padrхes de programaзгo.
Reply
#9

Compilo sem erro,mas quando eu entro no server e clico no xenon que eu quero o xenon nгo funciona.
up!
Reply
#10

No caso aн vocк precisa estar dentro de um veнculo.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)