Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - [LSR]Soprano

Pages: 1 2 [3] 4 5 6 7 8 9 10 11 12
31
Media / Re: Screenshots
« on: June 17, 2011, 06:20:23 pm »



32
Media / Re: Screenshots
« on: June 11, 2011, 04:14:31 am »
i like HDR effects :)

33
Off-Topic / Re: Know Your Destiny (Random Destiny Generator)
« on: June 10, 2011, 06:55:10 pm »

34
Media / Re: Screenshots
« on: June 10, 2011, 06:53:49 pm »

35
Off-Topic / Re: What are you listening to now?
« on: May 31, 2011, 10:03:57 am »
[youtube]http://www.youtube.com/watch?v=9KZDw5STEpk[/youtube]

36
Off-Topic / Re: Show your desktop
« on: May 29, 2011, 08:18:07 pm »
There's comming up a Ets2 thats gonna be a great game here u can see screenies from it and some vids it comes out end of this year:

http://www.trucksimulators.nl/forum/viewtopic.php?f=192&t=6881

http://blog.scssoft.com/

37
Off-Topic / Re: How tall are you?
« on: May 29, 2011, 08:17:00 pm »
182

38
Off-Topic / Re: Avatar and Signature requests!
« on: May 10, 2011, 07:41:47 pm »
Nice signatures Falky  ;)

39
AdrenalineX Development / Re: R Can you make this?
« on: May 07, 2011, 09:15:11 am »
R did you ask these codes?

Code: [Select]
#include <a_samp>

/*------------------------------------
native AddVehicleMissiles(vehicleid,Float:offsetx,Float:offsetz)
native RemoveVehicleMissiles(vehicleid)
native IsVehicleHot(vehicleid)
-------------------------------------*/

#define MISSILE_DETONATE_TIME 500   //milliseconds
#define MISSILE_EXPLODE_TYPE 10
#define MISSILE_EXPLODE_RADIUS 10.0
#define MISSILE_SPEED 40.0
#define MISSILE_FIRE_KEY 1

new VehicleFire[MAX_VEHICLES];
new VehicleBomb[MAX_VEHICLES][2];
new VehicleSmok[MAX_VEHICLES][2];
new Float:VehicleOffsetX[MAX_VEHICLES];
new Float:VehicleOffsetZ[MAX_VEHICLES];

forward VM_OnPlayerKeyStateChange(playerid,newkeys);
forward VM_Explode(vehicleid,mode);
forward VM_OnVehicleFire(vehicleid,slot);

stock AddVehicleMissiles(vehicleid,Float:offsetx,Float:offsetz)
{
   if(!VehicleFire[vehicleid])
   {
      new Float:x,Float:u;
      GetVehiclePos(vehicleid,x,u,u);
      if(x != 0)
      {
         if(!IsValidObject(VehicleBomb[vehicleid][1]))
         {

            VehicleBomb[vehicleid][0] = CreateObject(3790,0.0,0.0,0.0,0,0,0,300.0);
            VehicleBomb[vehicleid][1] = CreateObject(3790,0.0,0.0,0.0,0,0,0,300.0);

            AttachObjectToVehicle(VehicleBomb[vehicleid][0],vehicleid,offsetx,0,offsetz,0,0,270);
            AttachObjectToVehicle(VehicleBomb[vehicleid][1],vehicleid,-offsetx,0,offsetz,0,0,270);

            VehicleOffsetX[vehicleid] = offsetx;
            VehicleOffsetZ[vehicleid] = offsetz;
            return 1;
         }
      }
   }
   return 0;
}

stock RemoveVehicleMissiles(vehicleid)
{
   if(!VehicleFire[vehicleid])
   {
      if(VehicleBomb[IsValidObject(vehicleid][1]))
      {
         if(VehicleBomb[vehicleid][0])
         {
            DestroyObject(VehicleBomb[vehicleid][0]);
            DestroyObject(VehicleBomb[vehicleid][1]);
            return 1;
         }
         return DestroyObject(VehicleBomb[vehicleid][1]),1;
      }
   }
   return 0;
}

stock IsVehicleHot(vehicleid)
{
   if(IsValidObject(VehicleBomb[vehicleid][1]))
      return 1;

   return 0;
}


public VM_OnPlayerKeyStateChange(playerid,newkeys)
{
   if((newkeys & MISSILE_FIRE_KEY) == (MISSILE_FIRE_KEY))
   {
      new id = GetPlayerVehicleID(playerid);
      if(!VehicleFire[id])
      {
         if(id)
         {
            if(IsValidObject(VehicleBomb[id][1]))
            {
               new
               Float:x,
               Float:y,
               Float:z,
               Float:a;


               VehicleFire[id] = 1;

               if(IsValidObject(VehicleBomb[id][0]))
               {
                  DestroyObject(VehicleBomb[id][0]);

                  GetVehiclePos(id,x,y,z);
                  GetVehicleZAngle(id,a);

                  a += 270;
                  z += VehicleOffsetZ[id];

                  x += (VehicleOffsetX[id] * floatsin(-a, degrees));
                  y += (VehicleOffsetX[id] * floatcos(-a, degrees));

                  VehicleBomb[id][0] = CreateObject(3790,x,y,z,0,0,a,300.0);
                  VehicleSmok[id][0] = CreateObject(18731,x,y,z-1.3,0,0,0,300.0);

                  a += 90;

                  x += (30 * floatsin(-a, degrees));
                  y += (30 * floatcos(-a, degrees));

                  MoveObject(VehicleBomb[id][0],x,y,z,MISSILE_SPEED);
                  MoveObject(VehicleSmok[id][0],x,y,z-1.3,MISSILE_SPEED);

                  SetTimerEx("VM_Explode",MISSILE_DETONATE_TIME,0,"dd",id,0);
                  VM_OnVehicleFire(id,0);
                  return 1;
               }
               DestroyObject(VehicleBomb[id][1]);

               GetVehiclePos(id,x,y,z);
               GetVehicleZAngle(id,a);

               a += 90;
               z += VehicleOffsetZ[id];

               x += (VehicleOffsetX[id] * floatsin(-a, degrees));
               y += (VehicleOffsetX[id] * floatcos(-a, degrees));

               VehicleBomb[id][1] = CreateObject(3790,x,y,z,0,0,a+180,300.0);
               VehicleSmok[id][1] = CreateObject(18731,x,y,z-1.3,0,0,0,300.0);

               a += 270;

               x += (30 * floatsin(-a, degrees));
               y += (30 * floatcos(-a, degrees));

               MoveObject(VehicleBomb[id][1],x,y,z,MISSILE_SPEED);
               MoveObject(VehicleSmok[id][1],x,y,z-1.3,MISSILE_SPEED);

               SetTimerEx("VM_Explode",MISSILE_DETONATE_TIME,0,"dd",id,1);
               VM_OnVehicleFire(id,1);
               return 1;
            }
         }
         return 1;
      }
   }
   return 1;
}

public VM_Explode(vehicleid,mode)
{
   if(IsValidObject(VehicleBomb[vehicleid][mode]))
   {
      new
      Float:x,
      Float:y,
      Float:z;

      GetObjectPos(VehicleBomb[vehicleid][mode],x,y,z);
      CreateExplosion(x,y,z,MISSILE_EXPLODE_TYPE,MISSILE_EXPLODE_RADIUS);

      DestroyObject(VehicleBomb[vehicleid][mode]);
      DestroyObject(VehicleSmok[vehicleid][mode]);

      VehicleFire[vehicleid] = 0;
      return 1;
   }
   return 1;
}

public VM_OnVehicleFire(vehicleid,slot)
{
    return 1;
}

40
AdrenalineX Development / R Can you make this?
« on: May 07, 2011, 07:18:28 am »
[youtube]http://www.youtube.com/watch?v=TwDCXVj1_WQ&feature=player_embedded[/youtube]

it would be funny in IV races.

41
Off-Topic / Re: PC Spec's thread
« on: May 05, 2011, 06:01:39 pm »

42
Off-Topic / Re: Show your desktop
« on: May 05, 2011, 05:43:55 pm »
I love this girl. I can die for her.  :-*

btw, i've watched fast five couple days ago. It was amazing movie.

43
Off-Topic / Re: Happpy b-day R :D
« on: May 05, 2011, 05:36:46 pm »
Happy B-Day bro.  O0

44
Off-Topic / Re: Game Trailers
« on: April 29, 2011, 10:56:48 am »
[youtube]http://www.youtube.com/watch?v=_23HBXNZi40&feature=player_embedded[/youtube]

45
Media / Re: Screenshots
« on: April 28, 2011, 11:01:52 am »



Pages: 1 2 [3] 4 5 6 7 8 9 10 11 12