[Fs]Neon bugado tem jeito de concertar?
#1

Galera eu peguei todos os fs de neons aki mais todos estao bugados n sei oque deu estava funcionando normalmente mais depois bugo tem jeito de arrumar ou outro fs que nao esta bugado?
Reply
#2

pawn Код:
if(strcmp(cmd, "/Neon", true) == 0)
    {
    if(!IsPlayerInVehicle(playerid, GetPlayerVehicleID(playerid))) return SendClientMessage(playerid, Branco, "Vocк nгo estб em um veiculo");
    new tmp[20];
    tmp = strtok(cmdtext, idx);
    if(!strlen(tmp)) {
    SendClientMessage(playerid, Branco, "{1E90FF}Uso correto:{FFFFFF} /Neon [Cor]");
    SendClientMessage(playerid, Branco, "Cores Disponнveis: {0000FF}[Azul] {E31919}[Vermelho] {00FF00}[Verde] {FF00FF}[Rosa] {FFFF00}[Amarelo] {FFFFFF}[Branco]");
    return 1;
    }
    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");
    if(strcmp(tmp,"Azul",true)==0)
    {
    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);
    SendClientMessage(playerid, Branco, "Vocк colocou um neon {0000FF}Azul");
    return 1;
    }
    else if(strcmp(tmp,"Vermelho",true)==0)
    {
    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);
    SendClientMessage(playerid, Branco, "Vocк colocou um neon {E31919}Vermelho");
    return 1;
    }
    else if(strcmp(tmp,"Verde",true)==0)
    {
    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, Branco, "Vocк colocou um neon {00FF00}Verde");
    return 1;
    }
    else if(strcmp(tmp,"Rosa",true)==0)
    {
    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);
    SendClientMessage(playerid, Branco, "Vocк colocou um neon {FF00FF}Rosa");
    return 1;
    }
    else if(strcmp(tmp,"Amarelo",true)==0)
    {
    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);
    SendClientMessage(playerid, Branco, "Vocк colocou um neon {FFFF00}Amarelo");
    return 1;
    }
    else if(strcmp(tmp,"Branco",true)==0)
    {
    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);
    SendClientMessage(playerid, Branco, "Vocк colocou um neon Branco");
    return 1;
    }
    return SendClientMessage(playerid, Branco, "Cores Disponнveis: {0000FF}[Azul] {E31919}[Vermelho] {00FF00}[Verde] {FF00FF}[Rosa] {FFFFFF}[Branco]");
    }
Criado por: MIM> =D
Reply
#3

Vo Tentar aki jaja edit

@

Valeu ae Mano ajudo bastante
Reply
#4

aproveitando este topico, tem algum FS ou programa seilб que dк pra por objectos no carro? tipo o Hold Studio?
Reply
#5

tem Sim..Acho que foi ate o Cinyc que feiz um assim...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)