Szerző Téma: Bonusz auto Script v1.0  (Megtekintve 402 alkalommal)

Swat

  • Vendég
Bonusz auto Script v1.0
« Dátum: 2012. február 06. - 18:48:09 »
0 Show voters
hello all a gépemen találtam egy bonusz auto scriptet
ez nem hasonlit arra amit website irt
ha beülsz akkor másodpercenként kpasz 7 $-t
Script:
[pawn]#include <a_samp>
#include <fixchars.h>
#include <zcmd>
#define COLOR_LBLUE 0x63DBE4FF
#define COLOR_IMPORTANT 0xFF0000AA
#define COLOR_LGREEN 0x9EF764FF
#define COLOR_WHITE 0xFFFFFFFF
#define COLOR_LEMONCHIFFON 0xFFFACDFF
#define COLOR_ROB_SUCCESS 0x00CCFFAA
#define COLOR_ROB_FAILURE 0xCCCCFFAA
#define COLOR_FLBLUE 0x6495EDAA
#define COLOR_ROB_ERROR 0xFF0000AA
#define COLOR_GREY 0xC0C0C0FF
#define COLOR_YELLOW 0xFFFF00AA
#define COLOR_RED 0xFF0000AA
#define COLOR_ORANGE 0xFF9900AA
#define LARANJA 0xFF6600AA
#define COLOR_GREEN 0x33AA33AA
#define COLOR_BLUE 0x0000BBAA
#define COLOR_LIGHTBLUE 0x33CCFFAA
#define COLOR_LIGHTCYAN 0xAAFFCC33
#define COLOR_PINK 0xFF66FFAA
#define COLOR_LIGHTGREEN 0x24FF0AB9
new engine, lights, alarm, doors, bonnet, boot, objective;
new BonusCarSpawnTimerName;
new Infernus, neon1, neon2;
forward BonusCarSpawnTimer();
forward BonusCarPay(playerid);
new BonusCarPayName[MAX_PLAYERS];
new BonusCarOwnerName[MAX_PLAYER_NAME];
new BonusCarMessageString[256];
new neon1object;
new neon2object;
public OnFilterScriptInit()
{
BonusCarSpawnTimerName = SetTimer(\"BonusCarSpawnTimer\",600000, true);
return 1;
}
public OnFilterScriptExit()
{
KillTimer(BonusCarSpawnTimerName);
GetVehicleParamsEx(Infernus, engine, lights, alarm, doors, bonnet, boot, objective);
SetVehicleParamsEx(Infernus, engine, lights, alarm, doors, bonnet, boot, false);
RemoveVehicleComponent(Infernus, 1010);
RemoveVehicleComponent(Infernus, 1083);
RemoveVehicleComponent(Infernus, 1086);
RemoveVehicleComponent(Infernus, 1087);
DestroyObject(neon1);
DestroyObject(neon2);
DestroyVehicle(Infernus);
return 1;
}
public OnPlayerStateChange(playerid, newstate, oldstate)
{
    if (newstate == PLAYER_STATE_DRIVER && oldstate == PLAYER_STATE_ONFOOT)
    {
        if (GetPlayerVehicleID(playerid) == Infernus)
    {
      BonusCarPayName[playerid] = SetTimerEx(\"BonusCarPay\",1000, true, \"i\", playerid);
      GetPlayerName(playerid, BonusCarOwnerName, sizeof(BonusCarOwnerName));
      format(BonusCarMessageString, sizeof(BonusCarMessageString), \"{33CCFF}..::{FFFF00}Bónusz autó{33CCFF}::.. {FFFFFF}%s {FFFACD}beszált a bónusz autóba ezért minden másodpercben gazdagabb lesz 7$-al!\", BonusCarOwnerName);
      SendClientMessageToAll(0x00FF00AA, BonusCarMessageString);
      SendClientMessage(playerid,0xFF9900AA, \"Beszáltál a bónusz jármûbe! Vigyázz, mert ha elveszik tõled nem kapsz pénzt!\");
        }
    }
    if(newstate == PLAYER_STATE_ONFOOT && oldstate == PLAYER_STATE_DRIVER)
    {
   KillTimer(BonusCarPayName[playerid]);
    }
    return 1;
}
public BonusCarPay(playerid)
{
GivePlayerMoney(playerid, 7);
return 1;
}
public OnVehicleDeath(vehicleid)
{
if(vehicleid == Infernus)
{
   GetVehicleParamsEx(Infernus, engine, lights, alarm, doors, bonnet, boot, objective);
   SetVehicleParamsEx(Infernus, engine, lights, alarm, doors, bonnet, boot, false);
   RemoveVehicleComponent(Infernus, 1010);
   RemoveVehicleComponent(Infernus, 1083);
   RemoveVehicleComponent(Infernus, 1086);
   RemoveVehicleComponent(Infernus, 1087);
   DestroyObject(neon1);
   DestroyObject(neon2);
   DestroyVehicle(Infernus);
   SendClientMessageToAll(-1, \"Felrobbant a bónusz autó, pár perc és újra spawnol!\");
}
return 1;
}
public BonusCarSpawnTimer()
{
new rand = random(4);
switch(rand)
{
    case 0:
   {
      if( Infernus > 0 )
      {
         GetVehicleParamsEx(Infernus, engine, lights, alarm, doors, bonnet, boot, objective);
         SetVehicleParamsEx(Infernus, engine, lights, alarm, doors, bonnet, boot, false);
         RemoveVehicleComponent(Infernus, 1010);
         RemoveVehicleComponent(Infernus, 1083);
         RemoveVehicleComponent(Infernus, 1086);
         RemoveVehicleComponent(Infernus, 1087);
         DestroyObject(neon1);
         DestroyObject(neon2);
         DestroyVehicle(Infernus);
      }
      Infernus = CreateVehicle(562, -1945.2056, 268.3177, 35.2010, 61.6616, -1,-1,-1);
      LinkVehicleToInterior(Infernus, 0);
      GetVehicleParamsEx(Infernus, engine, lights, alarm, doors, bonnet, boot, objective);
      SetVehicleParamsEx(Infernus, engine, lights, alarm, doors, bonnet, boot, true);
      AddVehicleComponent(Infernus, 1010);
      AddVehicleComponent(Infernus, 1083);
      AddVehicleComponent(Infernus, 1086);
      AddVehicleComponent(Infernus, 1087);
      SendClientMessageToAll(0xFF00FFAA, \"{33CCFF}..::{FFFF00}Bónusz autó{33CCFF}::..{FF0000}Lespawnolt {33CCFF}San Fierro-ban a Wang Cars környékén!\");
      neon1object = CreateObject(18650,0,0,0,0,0,0);
      neon2object = CreateObject(18650,0,0,0,0,0,0);
            neon1 = AttachObjectToVehicle(neon1object, Infernus, -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            neon2 = AttachObjectToVehicle(neon2object, Infernus, 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
   }
   case 1:
   {
      if( Infernus > 0 )
      {
         GetVehicleParamsEx(Infernus, engine, lights, alarm, doors, bonnet, boot, objective);
         SetVehicleParamsEx(Infernus, engine, lights, alarm, doors, bonnet, boot, false);
         RemoveVehicleComponent(Infernus, 1010);
         RemoveVehicleComponent(Infernus, 1083);
         RemoveVehicleComponent(Infernus, 1086);
         RemoveVehicleComponent(Infernus, 1087);
         DestroyObject(neon1);
         DestroyObject(neon2);
         DestroyVehicle(Infernus);
      }
      Infernus = CreateVehicle(562, -2686.6650, 234.0492, 4.0630, 271.5745, -1,-1,-1);
      LinkVehicleToInterior(Infernus, 0);
      GetVehicleParamsEx(Infernus, engine, lights, alarm, doors, bonnet, boot, objective);
      SetVehicleParamsEx(Infernus, engine, lights, alarm, doors, bonnet, boot, true);
      AddVehicleComponent(Infernus, 1010);
      AddVehicleComponent(Infernus, 1083);
      AddVehicleComponent(Infernus, 1086);
      AddVehicleComponent(Infernus, 1087);
      SendClientMessageToAll(0xFF00FFAA, \"{33CCFF}..::{FFFF00}Bónusz autó{33CCFF}::..{FF0000}Lespawnolt {33CCFF}San Fierro-ban a Wheels arch angels környékén!\");
      neon1object = CreateObject(18650,0,0,0,0,0,0);
      neon2object = CreateObject(18650,0,0,0,0,0,0);
            neon1 = AttachObjectToVehicle(neon1object, Infernus, -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            neon2 = AttachObjectToVehicle(neon2object, Infernus, 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
   }
    case 2:
   {
      if( Infernus > 0 )
      {
         GetVehicleParamsEx(Infernus, engine, lights, alarm, doors, bonnet, boot, objective);
         SetVehicleParamsEx(Infernus, engine, lights, alarm, doors, bonnet, boot, false);
         RemoveVehicleComponent(Infernus, 1010);
         RemoveVehicleComponent(Infernus, 1083);
         RemoveVehicleComponent(Infernus, 1086);
         RemoveVehicleComponent(Infernus, 1087);
         DestroyObject(neon1);
         DestroyObject(neon2);
         DestroyVehicle(Infernus);
      }
      Infernus = CreateVehicle(562, 2352.7075, 1490.8682, 42.5474, 89.8538, -1,-1,-1);
      LinkVehicleToInterior(Infernus, 0);
      GetVehicleParamsEx(Infernus, engine, lights, alarm, doors, bonnet, boot, objective);
      SetVehicleParamsEx(Infernus, engine, lights, alarm, doors, bonnet, boot, true);
      AddVehicleComponent(Infernus, 1010);
      AddVehicleComponent(Infernus, 1083);
      AddVehicleComponent(Infernus, 1086);
      AddVehicleComponent(Infernus, 1087);
      SendClientMessageToAll(0xFF00FFAA, \"{33CCFF}..::{FFFF00}Bónusz autó{33CCFF}::..{FF0000}Lespawnolt {33CCFF}Las Venturas-ban az eggyik parkoló környékén!\");
      neon1object = CreateObject(18650,0,0,0,0,0,0);
      neon2object = CreateObject(18650,0,0,0,0,0,0);
            neon1 = AttachObjectToVehicle(neon1object, Infernus, -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            neon2 = AttachObjectToVehicle(neon2object, Infernus, 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
   }
   case 3:
   {
      if( Infernus > 0 )
      {
         GetVehicleParamsEx(Infernus, engine, lights, alarm, doors, bonnet, boot, objective);
         SetVehicleParamsEx(Infernus, engine, lights, alarm, doors, bonnet, boot, false);
         RemoveVehicleComponent(Infernus, 1010);
         RemoveVehicleComponent(Infernus, 1083);
         RemoveVehicleComponent(Infernus, 1086);
         RemoveVehicleComponent(Infernus, 1087);
         DestroyObject(neon1);
         DestroyObject(neon2);
         DestroyVehicle(Infernus);
      }
      Infernus = CreateVehicle(562, 2461.9817, -1711.9194, 13.2485, 263.9848, -1,-1,-1);
      LinkVehicleToInterior(Infernus, 0);
      GetVehicleParamsEx(Infernus, engine, lights, alarm, doors, bonnet, boot, objective);
      SetVehicleParamsEx(Infernus, engine, lights, alarm, doors, bonnet, boot, true);
      AddVehicleComponent(Infernus, 1010);
      AddVehicleComponent(Infernus, 1083);
      AddVehicleComponent(Infernus, 1086);
      AddVehicleComponent(Infernus, 1087);
      SendClientMessageToAll(0xFF00FFAA, \"{33CCFF}..::{FFFF00}Bónusz autó{33CCFF}::..{FF0000}Lespawnolt {33CCFF}Los Santos-ban a Groove Street környékén!\");
      neon1object = CreateObject(18650,0,0,0,0,0,0);
      neon2object = CreateObject(18650,0,0,0,0,0,0);
            neon1 = AttachObjectToVehicle(neon1object, Infernus, -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            neon2 = AttachObjectToVehicle(neon2object, Infernus, 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
   }
    case 4:
   {
      if( Infernus > 0 )
      {
         GetVehicleParamsEx(Infernus, engine, lights, alarm, doors, bonnet, boot, objective);
         SetVehicleParamsEx(Infernus, engine, lights, alarm, doors, bonnet, boot, false);
         RemoveVehicleComponent(Infernus, 1010);
         RemoveVehicleComponent(Infernus, 1083);
         RemoveVehicleComponent(Infernus, 1086);
         RemoveVehicleComponent(Infernus, 1087);
         DestroyObject(neon1);
         DestroyObject(neon2);
         DestroyVehicle(Infernus);
      }
      Infernus = CreateVehicle(562, 1410.1666, -1648.4840, 13.1072, 269.4228, -1,-1,-1);
      LinkVehicleToInterior(Infernus, 0);
      GetVehicleParamsEx(Infernus, engine, lights, alarm, doors, bonnet, boot, objective);
      SetVehicleParamsEx(Infernus, engine, lights, alarm, doors, bonnet, boot, true);
      AddVehicleComponent(Infernus, 1010);
      AddVehicleComponent(Infernus, 1083);
      AddVehicleComponent(Infernus, 1086);
      AddVehicleComponent(Infernus, 1087);
      SendClientMessageToAll(0xFF00FFAA, \"{33CCFF}..::{FFFF00}Bónusz autó{33CCFF}::..{FF0000}Lespawnolt {33CCFF}Los Santos-ban a Rendõrség környékén!\");
      neon1object = CreateObject(18650,0,0,0,0,0,0);
      neon2object = CreateObject(18650,0,0,0,0,0,0);
            neon1 = AttachObjectToVehicle(neon1object, Infernus, -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            neon2 = AttachObjectToVehicle(neon2object, Infernus, 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
   }
   case 5:
   {
      if( Infernus > 0 )
      {
         GetVehicleParamsEx(Infernus, engine, lights, alarm, doors, bonnet, boot, objective);
         SetVehicleParamsEx(Infernus, engine, lights, alarm, doors, bonnet, boot, false);
         RemoveVehicleComponent(Infernus, 1010);
         RemoveVehicleComponent(Infernus, 1083);
         RemoveVehicleComponent(Infernus, 1086);
         RemoveVehicleComponent(Infernus, 1087);
         DestroyObject(neon1);
         DestroyObject(neon2);
         DestroyVehicle(Infernus);
      }
      Infernus = CreateVehicle(562, 314.8932, -1788.4923, 4.3542, 178.6097, -1,-1,-1);
      LinkVehicleToInterior(Infernus, 0);
      GetVehicleParamsEx(Infernus, engine, lights, alarm, doors, bonnet, boot, objective);
      SetVehicleParamsEx(Infernus, engine, lights, alarm, doors, bonnet, boot, true);
      AddVehicleComponent(Infernus, 1010);
      AddVehicleComponent(Infernus, 1083);
      AddVehicleComponent(Infernus, 1086);
      AddVehicleComponent(Infernus, 1087);
      SendClientMessageToAll(0xFF00FFAA, \"{33CCFF}..::{FFFF00}Bónusz autó{33CCFF}::..{FF0000}Lespawnolt {33CCFF}Los Santos-ban a Déli-Tengerpart (Santa Marina Beach) környékén!\");
      neon1object = CreateObject(18650,0,0,0,0,0,0);
      neon2object = CreateObject(18650,0,0,0,0,0,0);
            neon1 = AttachObjectToVehicle(neon1object, Infernus, -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            neon2 = AttachObjectToVehicle(neon2object, Infernus, 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
   }
    case 6:
   {
      if( Infernus > 0 )
      {
         GetVehicleParamsEx(Infernus, engine, lights, alarm, doors, bonnet, boot, objective);
         SetVehicleParamsEx(Infernus, engine, lights, alarm, doors, bonnet, boot, false);
         RemoveVehicleComponent(Infernus, 1010);
         RemoveVehicleComponent(Infernus, 1083);
         RemoveVehicleComponent(Infernus, 1086);
         RemoveVehicleComponent(Infernus, 1087);
         DestroyObject(neon1);
         DestroyObject(neon2);
         DestroyVehicle(Infernus);
      }
      Infernus = CreateVehicle(562, -2238.2244, -1712.5552, 480.5915, 186.8263, -1,-1,-1);
      LinkVehicleToInterior(Infernus, 0);
      GetVehicleParamsEx(Infernus, engine, lights, alarm, doors, bonnet, boot, objective);
      SetVehicleParamsEx(Infernus, engine, lights, alarm, doors, bonnet, boot, true);
      AddVehicleComponent(Infernus, 1010);
      AddVehicleComponent(Infernus, 1083);
      AddVehicleComponent(Infernus, 1086);
      AddVehicleComponent(Infernus, 1087);
      SendClientMessageToAll(0xFF00FFAA, \"{33CCFF}..::{FFFF00}Bónusz autó{33CCFF}::..{FF0000}Lespawnolt {33CCFF}Chilliad környékén!\");
      neon1object = CreateObject(18650,0,0,0,0,0,0);
      neon2object = CreateObject(18650,0,0,0,0,0,0);
            neon1 = AttachObjectToVehicle(neon1object, Infernus, -0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
            neon2 = AttachObjectToVehicle(neon2object, Infernus, 0.8, 0.0, -0.70, 0.0, 0.0, 0.0);
   }
}
return 1;
}[/pawn]
remélem valaki hasznát veszi :D
készitõ nevét nem tudom
By ZeRoX
« Utoljára szerkesztve: 2012. február 07. - 15:08:39 írta Norby »

Bonusz auto Script v1.0
« Válasz #1 Dátum: 2012. február 06. - 19:42:41 »
0 Show voters
ennek a script-nek nem igen sok értelmét látom :D

Nem elérhető Flash

  • 5726
  • (っ◕‿◕)っ
    • Profil megtekintése
Bonusz auto Script v1.0
« Válasz #2 Dátum: 2012. február 06. - 21:19:50 »
0 Show voters
Omg ez a script nekem volt meg a szerómba ugyan ott azokon a helyeken..
És én kaptam X tõl és akkor most ez hogy van?..

Nem elérhető instant

  • 2778
  • ZzzzzZ
    • Profil megtekintése
Bonusz auto Script v1.0
« Válasz #3 Dátum: 2012. február 07. - 10:43:42 »
0 Show voters
Idézetet írta: Flash date=1328559590\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"16676\" data-ipsquote-contentclass=\"forums_Topic
Omg ez a script nekem volt meg a szerómba ugyan ott azokon a helyeken..
És én kaptam X tõl és akkor most ez hogy van?..
 
valahonnan csorta , ha nem te készitetted eredeti link , készitõ.

Nem elérhető Flash

  • 5726
  • (っ◕‿◕)っ
    • Profil megtekintése
Bonusz auto Script v1.0
« Válasz #4 Dátum: 2012. február 07. - 12:50:35 »
0 Show voters
Nekem egy haverom adta, nekem csinálta meg a másik haveromnak, szóval valahonnan csórtad..

Nem elérhető Norby

  • 1575
    • Profil megtekintése
Bonusz auto Script v1.0
« Válasz #5 Dátum: 2012. február 07. - 13:32:04 »
0 Show voters
[mod]Témát zárom. Lopás.[/mod]
« Utoljára szerkesztve: 2012. február 07. - 15:07:20 írta Norby »

Swat

  • Vendég
Bonusz auto Script v1.0
« Válasz #6 Dátum: 2012. február 07. - 15:06:25 »
0 Show voters
Haveromtol kaptam vagy 1 hónapja

Nem elérhető Norby

  • 1575
    • Profil megtekintése
Bonusz auto Script v1.0
« Válasz #7 Dátum: 2012. február 07. - 15:07:41 »
0 Show voters
[mod]Témát zárom. Lopás végett.[/mod]

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal