
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.

1
Scripting and Server Management / Re: Time, Weather and script fix
« on August 11th, 2017, 05:42 PM »
Error in the code is because you aren't defining the player in timer and in the function you've set extra arguments.
Use:Code: [Select]
And change function to :
Code: [Select]
To set time, use this function
And to set server weather use SetWeather function
Use:
NewTimer ( "heal", 5000, 1, player.ID );
And change function to :
function heal(ID)
{
local player = FindPlayer (ID);
if (plr)
{
Player.Health = 100.;
MessagePlayer( "[#FFFF81]---> You have been healed !", player);
}
else return 0;
}
To set time, use this function
And to set server weather use SetWeather function
2
Scripting and Server Management / Re: Create Car Command
« on August 7th, 2017, 02:26 PM »
http://forum.vc-mp.org/?topic=1177.0 - Use this Snippet. It contains the command /addcar. You can use that command to addcar into the server.
3
Script and Content Requests / Re: System TOP
« on August 5th, 2017, 11:17 PM »looooooooooooooooooooool #RIP coding
Btw, @longhackmc , you could use SQL LIMIT function instead of the long way method.
4
Support / Re: need help
« on August 5th, 2017, 08:44 AM »I found a topic and adapted it to a function, for example: for the drive garage door for mansion use RawHideMapObject (2548, -3576, -5397,149); // to remove the object ai just create it again and use a function to move it
5
Servers / [0.4] Re: Rob the Vehicles
« on August 4th, 2017, 04:04 PM »We got our new forum:
http://rtv.vc-mp.co.uk/
6
Tutorials / [Guide] Re: Vehicle Handling Stats Explored
« on August 2nd, 2017, 03:14 PM »
Thats actually a cool guide. Much informative. Which solemnly proves you are a physics student :D
8
Scripting and Server Management / Re: Vehicles Cost Update Issue
« on July 29th, 2017, 04:41 PM »
you can simply execute the query on function onScriptLoad()
Code: [Select]
or you can update cost of any vehilce by /exec command. ( hope you have got that command )
use, /execCode: [Select]
function onScriptLoad()
{
QuerySQL( Vehicles, "UPDATE Cost SET = '350000' WHERE Model = '191' " );
}
or you can update cost of any vehilce by /exec command. ( hope you have got that command )
use, /exec
QuerySQL( Vehicles, "UPDATE Cost SET = '350000' WHERE Model = '191' " );
9
Skin Showroom / Re: New Tommy Model
« on July 25th, 2017, 08:41 PM »Lol he can't even describe hows the sun he's cooked lolQuote from MatheuS on July 25th, 2017, 05:02 PM AHAHAHHAHHHAHAHAHAHAQuote from aXXo on July 25th, 2017, 03:23 PM
10
General Discussion / Re: How can I add custom things to my server?
« on July 23rd, 2017, 09:01 PM »
Check out these two boards in the image for custom content. ( http://i.imgur.com/wKNneGM.jpg )
Check this topic as well: how to add custom stuff by sebbyyy
Check this topic as well: how to add custom stuff by sebbyyy
11
Script and Content Requests / Re: Running System Kilometer/Mileage Request
« on July 23rd, 2017, 08:52 PM »It can be done using timers (can be laggy , and memory-consuming)
12
Script and Content Requests / Re: Running System Kilometer/Mileage Request
« on July 23rd, 2017, 05:16 PM »Not speedometer. Mileague. Example : 22.000km traveled.
If you want to know the distance you travelled since the time you entered the car till the time you exit, i guess, you can use DistanceFromPoint function. Just set you pos when entering the vehilcle and call this function on vehicle exit.
13
Snippet Showroom / Re: Real Speedometer!!
« on July 23rd, 2017, 04:54 PM »I have a problem with CreateSprite. Help me, please!
Use Doom Killers Speed-o-Meter instead.
Here: http://forum.vc-mp.org/?topic=4353
14
Tutorials / [tut] Re: Objects are constantly appearing/dissappearing
« on July 23rd, 2017, 07:34 AM »
I had experienced it for the 1st time after i installed VC visual enhancement mod by hanney at lw forum. And this issue has been discussed earlier in lw community and solved as well with to solution you've provided above.
15
Scripting and Server Management / Re: onPlayerKill is not working
« on March 19th, 2016, 09:40 AM »@Decent_946 , ever viewed the wiki?
i 1st wanted to post that function but thought to give z axis also. ;) .