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 - Diego^
1
Snippet Showroom / [SA Style] Re: Parachuting System
« on March 2nd, 2017, 02:04 PM »
Good job, @sseebbyy :)
2
General Discussion / [Question] Re: onPlayerRequestClass
« on March 2nd, 2017, 01:52 PM »
Code: [Select]
player.Select();
???
4
Scripting and Server Management / Re: cant getin to some cars
« on November 12th, 2016, 02:27 PM »
Quote from Kewun on November 11th, 2016, 12:59 PM
there isnt any event called "onPlayerRequestEnterVehicle" in my server
Show the function onPlayerEnteringVehicle.
5
Scripting and Server Management / Re: onObjectBump dose wokring
« on October 10th, 2016, 08:43 PM »
An example:

Code: [Select]
function onScriptLoad()
{
gate <- CreateObject( 405, 1, 1.1111, 1.1111, 1.1111, 255 );
gate.TrackingBumps = true;
}

function onObjectBump( object, player )
{
if ( object.ID == gate.ID ) player.Kick();
}
6
Scripting and Server Management / Re: disable commands in world 2
« on October 2nd, 2016, 10:45 AM »
Code: [Select]
function onPlayerCommand( player, cmd, text )
{
if ( player.World == 2 ) return MessagePlayer( "The commands are disabled in this world.", player );
}
8
Videos & Screenshots / [BRL] Re: Soccer updated
« on September 5th, 2016, 02:06 PM »
9
Off-Topic General / Re: Your First/Faviorte vehicle you owned
« on August 23rd, 2016, 12:29 PM »

Honda CG 125 (Brazilian motorcycle).
10
General Discussion / Re: .col custom object
« on August 15th, 2016, 11:37 AM »
I use this:

Code: [Select]
<?xml version="1.0" encoding="ASCII"?>
<objectlist>
<object id="0">
<flags value="0" />
<texture path="lombada.txd" />
<collision type="autogenerate" />
<model path="lombada.dff" distance="1000" />
</object>
</objectlist>

And it works on my server.

Off: Congratulations for stealing this custom object ;D.
11
Scripting and Server Management / Re: Fire Fighter problem
« on August 12th, 2016, 03:48 PM »
Try:

Code: [Select]
function onFireStart()
{
local firefighter_pos = [
Vector( 941.928, -1022.5, 10.6707 ),
Vector( 1195.75, -48.8512, 9.47806 ),
Vector( 1128.21, -950.044, 14.472 ),
Vector( 1370.7, -298.81, 49.52 ),
Vector( 913.7, -41.75, 7 ),
Vector( 1280.65, -283.827, 34.5798 )
];

CreateExplosion( 1, 1, firefighter_pos[ random( 0, firefighter_pos.len() ) ], -1, true );
Message( "[#00ff00]A fire has started somewhere in map, go find it" );
}

12
General Discussion / Re: Few suggestions
« on August 9th, 2016, 11:08 PM »
Quote from Kewun on August 9th, 2016, 01:58 PM
done engine off script.

      if ( player.Vehicle ) {
         player.Vehicle.SetHandlingData(13,0)
         //player.Vehicle.Pos = player.Pos;
         player.Vehicle.Speed = Vector(0,0,0)
         MessagePlayer("[#00ff00]You turned off vehicle engine",player)
      }

after that , u need use player.Vehicle.SetHandlingData(13,150) to launch engine again.
Each vehicle has its value MaxSpeed, i suggest you use: player.Vehicle.ResetHandlingData( 13 ) to launch engine again. This works only for cars and bikes.
13
Videos & Screenshots / Re: Trolling players with fake money
« on August 9th, 2016, 01:56 PM »
Quote from vito on August 9th, 2016, 12:24 PM
lol we can swim there, awesome i will check that server.
Yes, it is not something perfect, but prevents the player dies drowned.
Quote from Anik on August 9th, 2016, 01:55 PM
Which server is it?
Brasil Real.
15
Bugs and Crashes / [BUG] Object in UniqueWorld for a Player
« on August 7th, 2016, 07:57 PM »
I created an object to a player, using:
Code: [Select]
CreateObject( 371, player.UniqueWorld, player.Pos.x, player.Pos.y, player.Pos.z, 255 );


https://youtu.be/6OIv02fxlA4

But when the player is on the object, the player disappears to the other players. This is a bug?


Sorry for my bad English.