[Pomoc] Tunecar

Započeo .::^FrAjLo^::., Avgust 23, 2013, 13:20:57 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Pozz!! Pravim comandu TUNECAR sa kojom ce moci admini da budze kola i dodaju neonke!!
Detaljan opis problema: Dolaze mi sledeci erori


Dio skripte:
Kod: [Odaberi]

CMD:tunecar(playerid, params[])
{
   if(PlayerInfo[playerid][pAdmin] <= 8) return SendClientMessage(playerid, COLOR_GREY, "Niste u mogucnosti koristiti ovu komandu!!");
   {
   ShowPlayerDialog(playerid, DIALOG_TUNECAR, DIALOG_STYLE_LIST, "{48E31C}Hard Vision RolePlay {FFFFFF}- {00CED1}Admin Tuning","Neonke","Ugradi","Izadji");
   }
    return 1;
}

public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
      if(dialogid == DIALOG_TUNECAR)
   {
       if(response)
       {
           if (listitem == 0)
           {
               ShowPlayerDialog(playerid, DIALOG_NEONKE, DIALOG_STYLE_LIST,"Hard Vision RolePlay - Neon upgrades!","Plave neonke\nZute neonke\nZelene neonke\nRoze neonke\nBele neonke\nCrvene neonke\nUkloni neonke","Dodaj","Odbij");
           }
        }
    }
    if(dialogid == DIALOG_NEONKE)
    {
        if(response == 1)
        {
            switch(listitem)
            {
            case 0:
            {
                SetPVarInt(playerid, "HasBlueNeons", 1);//Set there status in a player variable..
                SetPVarInt(playerid, "BlueNeons1", CreateObject(18648,0,0,0,0,0,0));//Set the neon object into a player variable..
                SetPVarInt(playerid, "BlueNeons2", CreateObject(18648,0,0,0,0,0,0));//Set the neon object into a player variable..
                AttachObjectToVehicle(GetPVarInt(playerid, "BlueNeons1"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);//Attatch the neon object to the vehicle(Do not change coordinates)..
                AttachObjectToVehicle(GetPVarInt(playerid, "BlueNeons2"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);//Attatch the neon object to the vehicle(Do not change coordinates)..
                PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
            SendClientMessage(playerid, COLOR_GREY, "Neonke postavljene!");
         }
            case 1:
            {
                SetPVarInt(playerid, "HasYellowNeons", 1);//Set there status in a player variable..
                SetPVarInt(playerid, "YellowNeons1", CreateObject(18650,0,0,0,0,0,0));//Set the neon object into a player variable..
                SetPVarInt(playerid, "YellowNeons2", CreateObject(18650,0,0,0,0,0,0));//Set the neon object into a player variable..
                AttachObjectToVehicle(GetPVarInt(playerid, "YellowNeons1"), GetPlayerVehicleID(playerid), -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);//Attatch the neon object to the vehicle(Do not change coordinates)..
                AttachObjectToVehicle(GetPVarInt(playerid, "YellowNeons2"), GetPlayerVehicleID(playerid), 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
                PlayerPlaySound(playerid, 1133, 0.0, 0.0, 0.0);
            SendClientMessage(playerid, COLOR_GREY, "Neonke postavljene!");
            }
            case 2:
            {
                AddGreenNeons(playerid);
                SendClientMessage(playerid, COLOR_GREY, "Neonke postavljene!");
         }
            }


Postavi u
I daj nam errore
[TuT]-Vozila na posebnog igrača- http://balkan-samp.com/forum/index.php?topic=78806.0 | [FS]-G.P.S- http://balkan-samp.com/forum/index.php?topic=73768.0
[FS]-Rcon Panel- http://balkan-samp.com/forum/index.php?topic=72595.0 | [GM]-Division Street(stari)- http://balkan-samp.com/forum/index.php?topic=78810.0
Citat: magarac poslato Avgust 28, 2013, 18:58:01 POSLE PODNE
Ma jbt ne zelim ja to...... koji k ce mi takva camera di trci okolo......

<script type="text/javascript">
var bannersnack_embed = {"hash":"bxui659h2","width":400,"height":130,"t":1421676936,"userId":16712396,"bgcolor":"#3D3D3D","wmode":"opaque"};
</script>
<script type="text/javascript" src="http://files.bannersnack.com/iframe/embed.js"></script>