[Ajuda] Neon nгo aparece
#1

gente to com um problema aqui.
eu baixei um fs de neon e eu digito /neon e escolho o neon la a cor e talz e dai n aparece nada
eu pensei q fosse o fs, entao eu dei umas pesquisadas no forum de como fazer o neon
dai eu fui la e fiz e coloquei no gamemode,compilo td direitinho.mais na hora de escolher o neon n aparece o neon!
o que serб??
aqui o sistema do neon q eu olhei no forum
pawn Код:
#define menuneon    678

forward RemoverNeon(playerid);
forward IsABike(vehicleid);
aki o comando
pawn Код:
if (strcmp("/neon", cmd, true) == 0) {
    if (IsPlayerInAnyVehicle(playerid) > 0) {
        new vehid = GetPlayerVehicleID(playerid);
        if (IsABike(vehid)) {
            SendClientMessage(playerid, VERMELHO, "Nгo й possivel instalar neon nesse veнculo");
            return 1;
        }
        ShowPlayerDialog(playerid, menuneon, DIALOG_STYLE_LIST, "Escolha a cor", "Azul\nVermelho\nVerde\nBranco\nRosa\nAmarelo\nPolice\nInterior Lights\nNeon traseiro\nNeon dianteiro\nUndercover Roof Light\nDesligar Neon", "Select", "Cancel");
    } else {
        SendClientMessage(playerid, VERMELHO, "Vocк nгo estб em um veнculo!");
    }
    return 1;
}
if(strcmp(cmdtext, "/teles", true)==0)
    {
       ShowPlayerDialog(playerid, Dialog, DIALOG_STYLE_LIST, "{F60000} ---- Teleportes Drift Lords Server ---- ", "Drifts\nAeroportos\nParaquedas", "Selecionar", "Cancelar");
       return 1;
    }
aqui as dialog

pawn Код:
if(dialogid == menuneon)
    {
        if(response)
        {
            if(listitem == 0)
            {


            //blue
            SetPVarInt(playerid, "Status", 1);
            SetPVarInt(playerid, "neon", CreateObject(18648,0,0,0,0,0,0));
            SetPVarInt(playerid, "neon1", CreateObject(18648,0,0,0,0,0,0));
            AttachObjectToVehicle(GetPVarInt(playerid, "neon"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, "neon1"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
             }
            if(listitem == 1)
            {


             //red
                SetPVarInt(playerid, "Status", 1);
                SetPVarInt(playerid, "neon2", CreateObject(18647,0,0,0,0,0,0));
                SetPVarInt(playerid, "neon3", CreateObject(18647,0,0,0,0,0,0));
                AttachObjectToVehicle(GetPVarInt(playerid, "neon2"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                AttachObjectToVehicle(GetPVarInt(playerid, "neon3"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);

}
            if(listitem == 2)
            {


            //green
               SetPVarInt(playerid, "Status", 1);
                SetPVarInt(playerid, "neon4", CreateObject(18649,0,0,0,0,0,0));
                SetPVarInt(playerid, "neon5", CreateObject(18649,0,0,0,0,0,0));
                AttachObjectToVehicle(GetPVarInt(playerid, "neon4"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                AttachObjectToVehicle(GetPVarInt(playerid, "neon5"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                SendClientMessage(playerid, 0xFFFFFFAA, "neon installed");

                }
            if(listitem == 3)
            {

            //white
               SetPVarInt(playerid, "Status", 1);
                SetPVarInt(playerid, "neon6", CreateObject(18652,0,0,0,0,0,0));
                SetPVarInt(playerid, "neon7", CreateObject(18652,0,0,0,0,0,0));
                AttachObjectToVehicle(GetPVarInt(playerid, "neon6"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                AttachObjectToVehicle(GetPVarInt(playerid, "neon7"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);

}
            if(listitem == 4)
            {


            //pink
               SetPVarInt(playerid, "Status", 1);
                SetPVarInt(playerid, "neon8", CreateObject(18651,0,0,0,0,0,0));
                SetPVarInt(playerid, "neon9", CreateObject(18651,0,0,0,0,0,0));
                AttachObjectToVehicle(GetPVarInt(playerid, "neon8"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                AttachObjectToVehicle(GetPVarInt(playerid, "neon9"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);

}
            if(listitem == 5)
            {


            //yellow
                 SetPVarInt(playerid, "Status", 1);
                SetPVarInt(playerid, "neon10", CreateObject(18650,0,0,0,0,0,0));
                SetPVarInt(playerid, "neon11", CreateObject(18650,0,0,0,0,0,0));
                AttachObjectToVehicle(GetPVarInt(playerid, "neon10"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                AttachObjectToVehicle(GetPVarInt(playerid, "neon11"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);

}
            if(listitem == 6)
            {


            //police
               SetPVarInt(playerid, "Status", 1);
                SetPVarInt(playerid, "neon12", CreateObject(18646,0,0,0,0,0,0));
                SetPVarInt(playerid, "neon13", CreateObject(18646,0,0,0,0,0,0));
                AttachObjectToVehicle(GetPVarInt(playerid, "neon12"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                AttachObjectToVehicle(GetPVarInt(playerid, "neon13"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);

                }

                if(listitem == 7)
                {
                SetPVarInt(playerid, "Status", 1);
                SetPVarInt(playerid, "interior", CreateObject(18646,0,0,0,0,0,0));
                SetPVarInt(playerid, "interior1", CreateObject(18646,0,0,0,0,0,0));
                AttachObjectToVehicle(GetPVarInt(playerid, "interior"), GetPlayerVehicleID(playerid), 0, -0.0, 0, 2.0, 2.0, 3.0);
                AttachObjectToVehicle(GetPVarInt(playerid, "interior1"), GetPlayerVehicleID(playerid), 0, -0.0, 0, 2.0, 2.0, 3.0);

                }
            if(listitem == 8)
            {

            //back
                SetPVarInt(playerid, "Status", 1);
                SetPVarInt(playerid, "back", CreateObject(18646,0,0,0,0,0,0));
                SetPVarInt(playerid, "back1", CreateObject(18646,0,0,0,0,0,0));
                AttachObjectToVehicle(GetPVarInt(playerid, "back"), GetPlayerVehicleID(playerid), -0.0, -1.5, -1, 2.0, 2.0, 3.0);
                AttachObjectToVehicle(GetPVarInt(playerid, "back1"), GetPlayerVehicleID(playerid), -0.0, -1.5, -1, 2.0, 2.0, 3.0);
                }
                if(listitem == 9)
                {

                //front
                SetPVarInt(playerid, "Status", 1);
                SetPVarInt(playerid, "front", CreateObject(18646,0,0,0,0,0,0));
                SetPVarInt(playerid, "front1", CreateObject(18646,0,0,0,0,0,0));
                AttachObjectToVehicle(GetPVarInt(playerid, "front"), GetPlayerVehicleID(playerid), -0.0, 1.5, -0.6, 2.0, 2.0, 3.0);
                AttachObjectToVehicle(GetPVarInt(playerid, "front1"), GetPlayerVehicleID(playerid), -0.0, 1.5, -0.6, 2.0, 2.0, 3.0);
                }
                if(listitem == 10)
                {
                //undercover
                SetPVarInt(playerid, "Status", 1);
                SetPVarInt(playerid, "undercover", CreateObject(18646,0,0,0,0,0,0));
                SetPVarInt(playerid, "undercover1", CreateObject(18646,0,0,0,0,0,0));
                AttachObjectToVehicle(GetPVarInt(playerid, "undercover"), GetPlayerVehicleID(playerid), -0.5, -0.2, 0.8, 2.0, 2.0, 3.0);
                AttachObjectToVehicle(GetPVarInt(playerid, "undercover1"), GetPlayerVehicleID(playerid), -0.5, -0.2, 0.8, 2.0, 2.0, 3.0);
                }
            if(listitem == 11)
            {
            //remove neon
            DestroyObject(GetPVarInt(playerid, "neon"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon1"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon2"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon3"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon4"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon5"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon6"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon7"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon8"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon9"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon10"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon11"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon12"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon13"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "interior"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "interior1"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "back"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "back1"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "front"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "front1"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "undercover"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "undercover1"));

            DeletePVar(playerid, "Status");


              }
         }
return 1;
}
e as public final

pawn Код:
public IsABike(vehicleid)
{
new id = GetVehicleModel(vehicleid);
if( id==448 || id==461 || id==462 || id==463 || id==468 || id==481 || id==509 || id==510 || id==521 || id==522 || id==523 || id==581 || id==586){
    return true;
}else{
    return false;
}
}

public RemoverNeon(playerid)
{
DestroyObject(GetPVarInt(playerid, "neon"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "neon1"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "neon2"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "neon3"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "neon4"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "neon5"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "neon6"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "neon7"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "neon8"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "neon9"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "neon10"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "neon11"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "neon12"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "neon13"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "interior"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "interior1"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "back"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "back1"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "front"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "front1"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "undercover"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "undercover1"));
DeletePVar(playerid, "Status");
}
e compila direitinho
pawn Код:
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase
e agora,alguem mi ajudaa
n sei mais oq fazer e n tenho a minima ideia doq pode causar esse bug =/
eh isso glr ,vlw *-*
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=177465
Reply
#3

Quote:
Originally Posted by Viniborn
Посмотреть сообщение
eu vi o topico ,li tudinho mais ainda nao entendi como isso vai fazer o neon aparecer .-.
Reply
#4

Pelo que eu entendi quando eu li, isso й apenas um sistema de RADAR.

Antes de criar tуpicos inъteis da uma pesquisada primeiro, achei em menos de 30 segundos. Depois sу vocк editar como quer o sistema. (( Deixe os crйditos pelo menos. ))

http://www.tecno-samp.net/2011/02/fs...by-maycon.html
Reply
#5

Quote:
Originally Posted by sh0wtime
Посмотреть сообщение
Pelo que eu entendi quando eu li, isso й apenas um sistema de RADAR.

Antes de criar tуpicos inъteis da uma pesquisada primeiro, achei em menos de 30 segundos. Depois sу vocк editar como quer o sistema. (( Deixe os crйditos pelo menos. ))

http://www.tecno-samp.net/2011/02/fs...by-maycon.html
eu ja tenho esse fs , mais eu coloco no server digito /neon certinho e escolho a cor
mais n aparece nada . и como se n tivesse neon
alguem mi ajuda
Reply
#6

Posta o cуdigo ai, quem sabe eu possa ajuda-lo.
Reply
#7

mais n da nenhum erro, ta compilando certinho, o unico problema eh na hora q agente digita /neon e escolhe a cor nao aparece nada
Reply
#8

Quote:
Originally Posted by williamgato
Посмотреть сообщение
gente to com um problema aqui.
eu baixei um fs de neon e eu digito /neon e escolho o neon la a cor e talz e dai n aparece nada
eu pensei q fosse o fs, entao eu dei umas pesquisadas no forum de como fazer o neon
dai eu fui la e fiz e coloquei no gamemode,compilo td direitinho.mais na hora de escolher o neon n aparece o neon!
o que serб??
aqui o sistema do neon q eu olhei no forum
pawn Код:
#define menuneon    678

forward RemoverNeon(playerid);
forward IsABike(vehicleid);
aki o comando
pawn Код:
if (strcmp("/neon", cmd, true) == 0) {
    if (IsPlayerInAnyVehicle(playerid) > 0) {
        new vehid = GetPlayerVehicleID(playerid);
        if (IsABike(vehid)) {
            SendClientMessage(playerid, VERMELHO, "Nгo й possivel instalar neon nesse veнculo");
            return 1;
        }
        ShowPlayerDialog(playerid, menuneon, DIALOG_STYLE_LIST, "Escolha a cor", "Azul\nVermelho\nVerde\nBranco\nRosa\nAmarelo\nPolice\nInterior Lights\nNeon traseiro\nNeon dianteiro\nUndercover Roof Light\nDesligar Neon", "Select", "Cancel");
    } else {
        SendClientMessage(playerid, VERMELHO, "Vocк nгo estб em um veнculo!");
    }
    return 1;
}
if(strcmp(cmdtext, "/teles", true)==0)
    {
       ShowPlayerDialog(playerid, Dialog, DIALOG_STYLE_LIST, "{F60000} ---- Teleportes Drift Lords Server ---- ", "Drifts\nAeroportos\nParaquedas", "Selecionar", "Cancelar");
       return 1;
    }
aqui as dialog

pawn Код:
if(dialogid == menuneon)
    {
        if(response)
        {
            if(listitem == 0)
            {


            //blue
            SetPVarInt(playerid, "Status", 1);
            SetPVarInt(playerid, "neon", CreateObject(18648,0,0,0,0,0,0));
            SetPVarInt(playerid, "neon1", CreateObject(18648,0,0,0,0,0,0));
            AttachObjectToVehicle(GetPVarInt(playerid, "neon"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            AttachObjectToVehicle(GetPVarInt(playerid, "neon1"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
             }
            if(listitem == 1)
            {


             //red
                SetPVarInt(playerid, "Status", 1);
                SetPVarInt(playerid, "neon2", CreateObject(18647,0,0,0,0,0,0));
                SetPVarInt(playerid, "neon3", CreateObject(18647,0,0,0,0,0,0));
                AttachObjectToVehicle(GetPVarInt(playerid, "neon2"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                AttachObjectToVehicle(GetPVarInt(playerid, "neon3"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);

}
            if(listitem == 2)
            {


            //green
               SetPVarInt(playerid, "Status", 1);
                SetPVarInt(playerid, "neon4", CreateObject(18649,0,0,0,0,0,0));
                SetPVarInt(playerid, "neon5", CreateObject(18649,0,0,0,0,0,0));
                AttachObjectToVehicle(GetPVarInt(playerid, "neon4"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                AttachObjectToVehicle(GetPVarInt(playerid, "neon5"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                SendClientMessage(playerid, 0xFFFFFFAA, "neon installed");

                }
            if(listitem == 3)
            {

            //white
               SetPVarInt(playerid, "Status", 1);
                SetPVarInt(playerid, "neon6", CreateObject(18652,0,0,0,0,0,0));
                SetPVarInt(playerid, "neon7", CreateObject(18652,0,0,0,0,0,0));
                AttachObjectToVehicle(GetPVarInt(playerid, "neon6"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                AttachObjectToVehicle(GetPVarInt(playerid, "neon7"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);

}
            if(listitem == 4)
            {


            //pink
               SetPVarInt(playerid, "Status", 1);
                SetPVarInt(playerid, "neon8", CreateObject(18651,0,0,0,0,0,0));
                SetPVarInt(playerid, "neon9", CreateObject(18651,0,0,0,0,0,0));
                AttachObjectToVehicle(GetPVarInt(playerid, "neon8"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                AttachObjectToVehicle(GetPVarInt(playerid, "neon9"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);

}
            if(listitem == 5)
            {


            //yellow
                 SetPVarInt(playerid, "Status", 1);
                SetPVarInt(playerid, "neon10", CreateObject(18650,0,0,0,0,0,0));
                SetPVarInt(playerid, "neon11", CreateObject(18650,0,0,0,0,0,0));
                AttachObjectToVehicle(GetPVarInt(playerid, "neon10"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                AttachObjectToVehicle(GetPVarInt(playerid, "neon11"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);

}
            if(listitem == 6)
            {


            //police
               SetPVarInt(playerid, "Status", 1);
                SetPVarInt(playerid, "neon12", CreateObject(18646,0,0,0,0,0,0));
                SetPVarInt(playerid, "neon13", CreateObject(18646,0,0,0,0,0,0));
                AttachObjectToVehicle(GetPVarInt(playerid, "neon12"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                AttachObjectToVehicle(GetPVarInt(playerid, "neon13"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);

                }

                if(listitem == 7)
                {
                SetPVarInt(playerid, "Status", 1);
                SetPVarInt(playerid, "interior", CreateObject(18646,0,0,0,0,0,0));
                SetPVarInt(playerid, "interior1", CreateObject(18646,0,0,0,0,0,0));
                AttachObjectToVehicle(GetPVarInt(playerid, "interior"), GetPlayerVehicleID(playerid), 0, -0.0, 0, 2.0, 2.0, 3.0);
                AttachObjectToVehicle(GetPVarInt(playerid, "interior1"), GetPlayerVehicleID(playerid), 0, -0.0, 0, 2.0, 2.0, 3.0);

                }
            if(listitem == 8)
            {

            //back
                SetPVarInt(playerid, "Status", 1);
                SetPVarInt(playerid, "back", CreateObject(18646,0,0,0,0,0,0));
                SetPVarInt(playerid, "back1", CreateObject(18646,0,0,0,0,0,0));
                AttachObjectToVehicle(GetPVarInt(playerid, "back"), GetPlayerVehicleID(playerid), -0.0, -1.5, -1, 2.0, 2.0, 3.0);
                AttachObjectToVehicle(GetPVarInt(playerid, "back1"), GetPlayerVehicleID(playerid), -0.0, -1.5, -1, 2.0, 2.0, 3.0);
                }
                if(listitem == 9)
                {

                //front
                SetPVarInt(playerid, "Status", 1);
                SetPVarInt(playerid, "front", CreateObject(18646,0,0,0,0,0,0));
                SetPVarInt(playerid, "front1", CreateObject(18646,0,0,0,0,0,0));
                AttachObjectToVehicle(GetPVarInt(playerid, "front"), GetPlayerVehicleID(playerid), -0.0, 1.5, -0.6, 2.0, 2.0, 3.0);
                AttachObjectToVehicle(GetPVarInt(playerid, "front1"), GetPlayerVehicleID(playerid), -0.0, 1.5, -0.6, 2.0, 2.0, 3.0);
                }
                if(listitem == 10)
                {
                //undercover
                SetPVarInt(playerid, "Status", 1);
                SetPVarInt(playerid, "undercover", CreateObject(18646,0,0,0,0,0,0));
                SetPVarInt(playerid, "undercover1", CreateObject(18646,0,0,0,0,0,0));
                AttachObjectToVehicle(GetPVarInt(playerid, "undercover"), GetPlayerVehicleID(playerid), -0.5, -0.2, 0.8, 2.0, 2.0, 3.0);
                AttachObjectToVehicle(GetPVarInt(playerid, "undercover1"), GetPlayerVehicleID(playerid), -0.5, -0.2, 0.8, 2.0, 2.0, 3.0);
                }
            if(listitem == 11)
            {
            //remove neon
            DestroyObject(GetPVarInt(playerid, "neon"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon1"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon2"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon3"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon4"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon5"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon6"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon7"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon8"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon9"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon10"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon11"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon12"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "neon13"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "interior"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "interior1"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "back"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "back1"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "front"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "front1"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "undercover"));
            DeletePVar(playerid, "Status");
            DestroyObject(GetPVarInt(playerid, "undercover1"));

            DeletePVar(playerid, "Status");


              }
         }
return 1;
}
e as public final

pawn Код:
public IsABike(vehicleid)
{
new id = GetVehicleModel(vehicleid);
if( id==448 || id==461 || id==462 || id==463 || id==468 || id==481 || id==509 || id==510 || id==521 || id==522 || id==523 || id==581 || id==586){
    return true;
}else{
    return false;
}
}

public RemoverNeon(playerid)
{
DestroyObject(GetPVarInt(playerid, "neon"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "neon1"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "neon2"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "neon3"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "neon4"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "neon5"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "neon6"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "neon7"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "neon8"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "neon9"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "neon10"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "neon11"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "neon12"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "neon13"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "interior"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "interior1"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "back"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "back1"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "front"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "front1"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "undercover"));
DeletePVar(playerid, "Status");
DestroyObject(GetPVarInt(playerid, "undercover1"));
DeletePVar(playerid, "Status");
}
e compila direitinho
pawn Код:
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase
e agora,alguem mi ajudaa
n sei mais oq fazer e n tenho a minima ideia doq pode causar esse bug =/
eh isso glr ,vlw *-*
Cara me ajuda a colocar neon no meu gm tbm? to tentando mas nao consigo
Reply
#9

Quote:
Originally Posted by aldair8
Посмотреть сообщение
Cara me ajuda a colocar neon no meu gm tbm? to tentando mas nao consigo
mais ai ta o code inteirinho do neon eh so por no seu gm,nun sei se vai funcionar ai, mais tenta xD
Reply
#10

Quote:
Originally Posted by williamgato
Посмотреть сообщение
mais ai ta o code inteirinho do neon eh so por no seu gm,nun sei se vai funcionar ai, mais tenta xD
Mas eu nao sei os lugares q tem q por as coisas, se vc pdesse me falar, pq tipo sem informaзao aonde por eu nao sei
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)