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 - Fjose
1
George's VC:MP Launcher / Re: VC:MP Launcher
« on February 29th, 2016, 09:25 PM »
it's very good
2
Off-Topic General / Re: Country War - Invitation
« on February 29th, 2016, 09:14 PM »
Eddy ya valieron madres gg
3
Snippet Showroom / Re: Team System v1.0.2
« on August 26th, 2015, 04:41 PM »
@Zeeshan.Bhatti the error is produced because you are using these commands having this: partner = null; FindPlayer will only works if is a string or an integer, I just changed the position of that line, check the code again.
4
Clans and Families / [LBR] Re: - Legion Brazilian
« on August 11th, 2015, 05:03 PM »
Member list updated.
5
Servers / [0.4] Re: Brasil Real RPG
« on July 13th, 2015, 12:41 AM »
Nice Server 8)
6
Client Updates / Re: Client Updates Released (29 May)
« on May 29th, 2015, 08:41 PM »
Quote
Added support for checkpoints. (Only one checkpoint at a time should be shown to a player.)
Added support for spheres.
How use these two things? 8) forget it
7
Tutorials / Re: ▌Video ▌How to add custom stuff !
« on May 29th, 2015, 08:39 PM »
thanks
Posted: May 29th, 2015, 08:33 PM
Quote from Thijn on May 29th, 2015, 06:50 AM
<weapon> - the ID of the weapon your custom weapon behaves like; putting 6 in here will make your weapon behave like a baseball bat
I was omitting/ignoring that detail xD, for that, I was confusing the things

For e.g the archive is called w100_s3_l24_SIngramCustom.7z, the id is 24 (Silenced Ingram), then I need modify the animgroup in the weaponname.xml to what?
 <animgroup>what I'll put?</animgroup>
8
Tutorials / Re: ▌Video ▌How to add custom stuff !
« on May 28th, 2015, 09:50 PM »
(click to show/hide)
<?xml version="1.0" encoding="ASCII"?>
<weapon>
   <basic>
      <name>Sniper</name>
      <logicalid>28</logicalid>
   </basic>

   <properties>
      <type>instant_hit</type>
      <range>100.000000</range>
      <firerate>180</firerate>
      <reload>1401</reload>
      <clipsize>7</clipsize>
      <damage>125</damage>
      <speed>-1.000000</speed>
      <radius>-1.000000</radius>
      <lifespan>-1.000000</lifespan>
      <spread>-1.000000</spread>
      <offset>
         <x>0.000000</x>
         <y>0.660000</y>
         <z>0.050000</z>
      </offset>
      <animgroup>unarmed</animgroup>
      <animstart>2</animstart>
      <animend>8</animend>
      <animfire>3</animfire>
      <anim2start>0</anim2start>
      <anim2end>10</anim2end>
      <anim2fire>3</anim2fire>
      <animbreak>99</animbreak>
      <modelindex>286</modelindex>
      <model2index>-1</model2index>
      <flags>00000100</flags>
      <weaponslot>8</weaponslot>
   </properties>
</weapon>

Taking this example.
about animgroup, where I can find the names of each one? specifically the animagroup for the tec-9, and what are the flags?

Sebby, I would like know where you learned all this :), was reading the vc code? (gta3.img model)

9
Scripting and Server Management / Re: Pickups cannot be picked
« on May 27th, 2015, 05:53 PM »
I've found another solution using pickup.Timer that does the same like pickup.RespawnTime ( I guess, this function doesn't work on 0.4)
10
Scripting and Server Management / Re: Pickups cannot be picked
« on May 27th, 2015, 04:32 PM »
ok, I have this.

Code: [Select]
        CreatePickup( 280, 1, 60, Vector( -1744.31, -299.216, 14.8683 ), 255, true ); // m4 group
CreatePickup( 274, 1, 50, Vector( -1741.35, -294.67, 14.8683 ), 255, true ); // col group
CreatePickup( 274, 1, 50, Vector( -1691.8, -177.954, 14.8683 ), 255, true );
CreatePickup( 289, 1, 40, Vector( -1663.16, -129.052, 14.8683 ), 255, true ); // m6 group

function onPickupPickedUp( player, pickup )
{
local model = pickup.Model, id = player.ID, p = pinfo[id];
switch( model )
{
case 274:
case 280:
case 289:
FindPickup( pickup.ID ).Remove();
FindPickup( pickup.ID ).RespawnTime( 5 );
return;
break;
case 408:
return gMessage( id, mGreen, "Your Financial Status - Cash: $" + Bytes( p.Cash ) + ", Bank: $" + Bytes( p.Bank ) );
break;
default:
break;
}
}

but there is an error using FindPickup( pickup.ID ).RespawnTime( 5 ); or FindPickup( pickup.ID ).RespawnTime = 5;

>> Error: Attempt to call an integer. <<

How use that function? I had no problems with that function on the 0.3

11
Scripting and Server Management / Re: Pickups cannot be picked
« on May 26th, 2015, 12:40 AM »
Nothing
12
Scripting and Server Management / Re: Pickups cannot be picked
« on May 25th, 2015, 05:14 PM »
Quote from S.L.C on May 25th, 2015, 04:47 PM
I think you need the function that decides whether a pickup can be picked by a player or not.

Code: [Select]
function onPickupClaimPicked(player, pickup)
{
return true; // true: Allow to pick-up. false: deny pick-up.
}
nothing happens
13
Scripting and Server Management / Pickups cannot be picked
« on May 25th, 2015, 04:40 PM »
I can't take the weapons from the pickups, I'm not seeing any problems on the script.

Code: [Select]
        CreatePickup( 280, Vector( -1744.31, -299.216, 14.8683 ) ); // m4 group
CreatePickup( 274, Vector( -1741.35, -294.67, 14.8683 ) ); // col group
CreatePickup( 274, Vector( -1691.8, -177.954, 14.8683 ) );
CreatePickup( 289, Vector( -1663.16, -129.052, 14.8683 ) ); // m6 group


function onPickupPickedUp( player, pickup )
{
local model = pickup.Model, id = player.ID, p = pinfo[id];
switch( model )
{
case 274:
return player.SetWeapon( 274, 50 );
break;
case 280:
return player.SetWeapon( 280, 60 );
break;
case 289:
return player.SetWeapon( 289, 40 );
break;
case 408:
return gMessage( id, mGreen, "Your Financial Status - Cash: $" + Bytes( p.Cash ) + ", Bank: $" + Bytes( p.Bank ) );
default:
break;
}
pickup.RespawnTime = 5;
}
14
General Discussion / [DOUBT] Re: About vehicles
« on May 25th, 2015, 04:08 PM »
Quote from stormeus on May 25th, 2015, 04:04 PM
That won't work because the Angle is a Quaternion with X, Y, Z, and W components. You need to use veh.EulerAngle.Z or store all the components.
ok, i'll test it

EDIT:

Working thanks ;D
15
General Discussion / [DOUBT] Re: About vehicles
« on May 25th, 2015, 03:48 PM »
Quote from stormeus on May 25th, 2015, 03:37 AM
Did you convert to radians?
No, only I copied the function how is. e.g:
" + veh.Model + "," + veh.World + "," + veh.Pos.x + "," + veh.Pos.y + "," + veh.Pos.z + "," + veh.Angle + "," + veh.Colour1 + "," + veh.Colour2;
this is the saved for create the vehicle, nothing more.

EDIT:

Code: [Select]
function DegtoRad( degree ) return degree * 0.0174533;
I have to multiply it for the angle z?