Szerző Téma: /neon parancs  (Megtekintve 973 alkalommal)

/neon parancs
« Dátum: 2012. május 17. - 19:47:28 »
0 Show voters
Sziasztok!
az lenne e gondom hogy bierom /neon és választok egy szint pl: kék és ha kilépek és valaki belép akkor neki megmarad a neonja nem torlõdik le!
 
#include <a_samp>
public OnFilterScriptInit()
{
print(\"\\n************************************\");
print(\"Neon System By [EDT]Quattro Betöltve\");
print(\"         Fordította InAceX          \");
print(\"        Javította [sDM]Sanyi        \");
print(\"************************************\\n\");
return 1;
}
public OnFilterScriptExit()
{
print(\"\\n***************************************\");
print(\"Neon System By [EDT]Quattro Kikapcsolva\");
print(\"***************************************\\n\");
return 1;
}
 
public OnPlayerCommandText(playerid, cmdtext[])
{
//    new cartype = GetPlayerVehicleID(playerid);
//     new State   = GetPlayerState(playerid);
       
if(strcmp(cmdtext, \"/neon\", true)==0)
{
    ShowPlayerDialog(playerid, 8899, DIALOG_STYLE_LIST, \"Válassz neon színt\", \"Kék\\nPiros\\nZöld\\nFehér\\nRózsaszín\\nSárga\\nRendõr fény\\nInterior Fény\\nHátsó Neon\\nElsõ Neon\\nTetõ Neon\\nMinden Neon törlése\", \"Kiválaszt\", \"Kilépés\");
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, \"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)
   {
      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, 0xFFFFFFAA, \"Neon telepítve\");
   }
   if(listitem == 2)
   {
      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 telepítve\");
          }
   if(listitem == 3)
   {
      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, 0xFFFFFFAA, \"Neon telepítve\");
   }
   if(listitem == 4)
   {
      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, 0xFFFFFFAA, \"Neon telepítve\");
   }
   if(listitem == 5)
   {
      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, 0xFFFFFFAA, \"Neon telepítve\");
   }
   if(listitem == 6)
   {
      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);
            SendClientMessage(playerid, 0xFFFFFFAA, \"Neon telepítve\");
          }
           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);
            SendClientMessage(playerid, 0xFFFFFFAA, \"Interior fény telepítve\");
   }
             if(listitem == 8)
   {
      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);
            SendClientMessage(playerid, 0xFFFFFFAA, \"Hátsó neon telepítve\");
   }
   if(listitem == 9)
   {
      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);
            SendClientMessage(playerid, 0xFFFFFFAA, \"Elsõ neon telepítve\");
   }
   if(listitem == 10)
   {
      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);
            SendClientMessage(playerid, 0xFFFFFFAA, \"Tetõ fény telepítve\");
   }
   if(listitem == 11)
   {
            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 0;
}
public OnPlayerConnect(playerid)
{
SendClientMessage(playerid, 0xFFFF00AA,\"Neon System betöltve.Írd be /neon használatához!!!\");
return 1;
}

Nem elérhető Cappsy

  • Adminisztrátor
  • 2754
    • Profil megtekintése
/neon parancs
« Válasz #1 Dátum: 2012. május 17. - 20:56:19 »
+1 Show voters
lekért kocsikat menti??
azt kéne elõbb...

/neon parancs
« Válasz #2 Dátum: 2012. május 18. - 06:19:41 »
0 Show voters
Nem Nem van egy kocsim ELEGY és ID: 0 vagyok rakok az ELEGY re neon-t és ugy lépek ki a szeróból!
Valaki belép PL: Erwyn7 ID:0 és ha lekér egy ELEGY-t akkor a kocsiján az a neon marad amit én raktam....
és ugy kellene megcsinalni hogy ha teszek neon-t és kilépek akkor a neon-t a kocsiról törölje\'

Nem elérhető Cappsy

  • Adminisztrátor
  • 2754
    • Profil megtekintése
/neon parancs
« Válasz #3 Dátum: 2012. május 18. - 07:11:43 »
+1 Show voters
ez lehetetlen így sztm....
az mtaval lekért kocsikra lehet max

Nem elérhető ZyZu.

  • Globális moderátor
  • 8939
  • my turbo diesel forum
  • Discord: ZyZu.
    • Profil megtekintése
/neon parancs
« Válasz #4 Dátum: 2012. május 18. - 11:59:01 »
+1 Show voters

public OnPlayerDisconnect(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\");
return 1;
}

/neon parancs
« Válasz #5 Dátum: 2012. május 18. - 12:31:06 »
0 Show voters
KÖsz jó megy....
« Utoljára szerkesztve: 2012. május 18. - 12:35:26 írta FastFurious »

/neon parancs
« Válasz #6 Dátum: 2012. május 17. - 19:47:28 »
0 Show voters
Sziasztok!
az lenne e gondom hogy bierom /neon és választok egy szint pl: kék és ha kilépek és valaki belép akkor neki megmarad a neonja nem torlõdik le!
 
#include <a_samp>
public OnFilterScriptInit()
{
print(\"\\n************************************\");
print(\"Neon System By [EDT]Quattro Betöltve\");
print(\"         Fordította InAceX          \");
print(\"        Javította [sDM]Sanyi        \");
print(\"************************************\\n\");
return 1;
}
public OnFilterScriptExit()
{
print(\"\\n***************************************\");
print(\"Neon System By [EDT]Quattro Kikapcsolva\");
print(\"***************************************\\n\");
return 1;
}
 
public OnPlayerCommandText(playerid, cmdtext[])
{
//    new cartype = GetPlayerVehicleID(playerid);
//     new State   = GetPlayerState(playerid);
       
if(strcmp(cmdtext, \"/neon\", true)==0)
{
    ShowPlayerDialog(playerid, 8899, DIALOG_STYLE_LIST, \"Válassz neon színt\", \"Kék\\nPiros\\nZöld\\nFehér\\nRózsaszín\\nSárga\\nRendõr fény\\nInterior Fény\\nHátsó Neon\\nElsõ Neon\\nTetõ Neon\\nMinden Neon törlése\", \"Kiválaszt\", \"Kilépés\");
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, \"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)
   {
      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, 0xFFFFFFAA, \"Neon telepítve\");
   }
   if(listitem == 2)
   {
      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 telepítve\");
          }
   if(listitem == 3)
   {
      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, 0xFFFFFFAA, \"Neon telepítve\");
   }
   if(listitem == 4)
   {
      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, 0xFFFFFFAA, \"Neon telepítve\");
   }
   if(listitem == 5)
   {
      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, 0xFFFFFFAA, \"Neon telepítve\");
   }
   if(listitem == 6)
   {
      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);
            SendClientMessage(playerid, 0xFFFFFFAA, \"Neon telepítve\");
          }
           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);
            SendClientMessage(playerid, 0xFFFFFFAA, \"Interior fény telepítve\");
   }
             if(listitem == 8)
   {
      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);
            SendClientMessage(playerid, 0xFFFFFFAA, \"Hátsó neon telepítve\");
   }
   if(listitem == 9)
   {
      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);
            SendClientMessage(playerid, 0xFFFFFFAA, \"Elsõ neon telepítve\");
   }
   if(listitem == 10)
   {
      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);
            SendClientMessage(playerid, 0xFFFFFFAA, \"Tetõ fény telepítve\");
   }
   if(listitem == 11)
   {
            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 0;
}
public OnPlayerConnect(playerid)
{
SendClientMessage(playerid, 0xFFFF00AA,\"Neon System betöltve.Írd be /neon használatához!!!\");
return 1;
}

Nem elérhető Cappsy

  • Adminisztrátor
  • 2754
    • Profil megtekintése
/neon parancs
« Válasz #7 Dátum: 2012. május 17. - 20:56:19 »
0 Show voters
lekért kocsikat menti??
azt kéne elõbb...

/neon parancs
« Válasz #8 Dátum: 2012. május 18. - 06:19:41 »
0 Show voters
Nem Nem van egy kocsim ELEGY és ID: 0 vagyok rakok az ELEGY re neon-t és ugy lépek ki a szeróból!
Valaki belép PL: Erwyn7 ID:0 és ha lekér egy ELEGY-t akkor a kocsiján az a neon marad amit én raktam....
és ugy kellene megcsinalni hogy ha teszek neon-t és kilépek akkor a neon-t a kocsiról törölje\'

Nem elérhető Cappsy

  • Adminisztrátor
  • 2754
    • Profil megtekintése
/neon parancs
« Válasz #9 Dátum: 2012. május 18. - 07:11:43 »
0 Show voters
ez lehetetlen így sztm....
az mtaval lekért kocsikra lehet max

Nem elérhető ZyZu.

  • Globális moderátor
  • 8939
  • my turbo diesel forum
  • Discord: ZyZu.
    • Profil megtekintése
/neon parancs
« Válasz #10 Dátum: 2012. május 18. - 11:59:01 »
0 Show voters

public OnPlayerDisconnect(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\");
return 1;
}

/neon parancs
« Válasz #11 Dátum: 2012. május 18. - 12:31:06 »
0 Show voters
KÖsz jó megy....
« Utoljára szerkesztve: 2012. május 18. - 12:35:26 írta FastFurious »

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal