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.
Show posts MenuQuoteI got bored and decided to make a spawn camera like the one in Grand Theft Auto V.[/spoiler]
You know ... the one where it goes into birds-eye view like the old GTA, then changes a couple of times, each getting closer to the player until finally showing the player and restoring control.
Usually a little dialog in there too, but I didn't recreate that lol.
So behold, the same spawn camera for Liberty Unleashed!
Just plug and play, pretty much. Script folder into server, add to content.xml, and so on.
A couple of things though:
The draw distance sucks for GTA III, so I had to bring the camera view way down. In GTA V they usually start with the whole city or an entire region of the rural area, before making their way down to the smaller area where the player is. This spawn camera I made starts in the small area, and works down from there. Not exactly the same but it's pretty neat though.
Second, normal spawn with the control key is blocked. Use the following snippet of code to use the new spawn camera:GTAVSpawn ( Player pPlayer , Vector pVector );
Anyway, here's the link to the source. Available on GitHub.
https://github.com/VortrexFTW/lu_gtavspawncam
Quote from: KuRuMi^ on Aug 07, 2018, 05:03 AMBump.
CPlayers <- [ "Bob", "Jerry", "Tom", "TotalNoob" ];
CPlayers2 <- [ "Mary", "Bryan", "Billy", "Michael" ];
function Script::ScriptLoad() {
Console.Print( returnString( CPlayers ) );
Label <- GUILabel( VectorScreen( 0, 0 ), Colour( 255, 255, 255 ), returnString( CPlayers ) );
}
function returnString( arr ) {
local str = null;
foreach( iStr in arr ) {
( !str ? ( str = iStr ) : ( str += ", "+iStr ) );
}
return str;
}
Quote from: zaeemkapco on Aug 06, 2018, 02:29 PMwow when updateUpdating might take a year but once again don't lose hope we are always there for you any other request post here.
Quote from: ahmedzead on Aug 05, 2018, 07:22 AMThis is the function that have the problemfunction onPickupPickedUp
{
if ( pickup.Model == 375 )
{
if ( player.WantedLevel > 1 )
{
player.Skin = 2;
player.Colour = RGB( 51, 51, 255 );
player.SetWeapon( 19, 70 );
player.SetWeapon( 25, 150 );
player.SetWeapon( 26, 150 );
}
else MessagePlayer(" You need to clean ur wanted level to join cop duty ", player); // updated there can be bug in new update i untested it so u can remove that if its called bug
}
}
function onPickupPickedUp
{
if ( pickup.Model == 375 )
{
if ( player.WantedLevel < 1 )
{
player.Skin = 2;
player.Colour = RGB( 51, 51, 255 );
player.SetWeapon( 19, 70 );
player.SetWeapon( 25, 150 );
player.SetWeapon( 26, 150 );
}
else MessagePlayer(" You need to clean ur wanted level to join cop duty ", player); // updated there can be bug in new update i untested it so u can remove that if its called bug
}
}
Stick to play
Quote from: zaeemkapco on Aug 06, 2018, 01:21 PMathanatos sorry i not understoodHe ment next time don't use unofficial hacks use vcmp built in official hacks so you won't get a ban.VCMP provides official hacks only to those players who keep posting such topics all the day on every vcmp related forums.
Quote from: zaeemkapco on Aug 06, 2018, 01:27 PM plzz anyone can low the price of zone cars ? we players tired to collect money plzz please zone cars price is 5000k chang it to 2500k and bikes are 5000k and 2500k change it to 2000k and propcostum price is 2500k change it to 1000k change it if you not want to change then replayYour topic is under discussion staff will soon reply may be in a year but don't lose hope we're always there for help.
Quote from: Rtsui4 on Aug 06, 2018, 01:12 PMThe invite link is invalidIt works only for scripters.
Quote from: MEGAMIND on Aug 02, 2018, 07:38 AMthat is one good thing but it didnt worked nor do i got any error in debuglog.txt, i placed it on top of script in store/script but didt workedJust put it at the top of main.nut or any other file then use this in OnScriptLoad()
so can u tell me where to add it properly cuz i dont find it usefull even to put it on scriptload @!
+ does it require any font file???
GUI_3D_Label.Create();
Quote from: MEGAMIND on Aug 01, 2018, 03:39 PM]woa thats look something awsome btw any example to that, its nearly like having samp back in vcmp but more efficient
GUI_3D_Label <- {
/* Configuration */
iPos = Vector( -672.244, 748.86, 17 ),
iRotation = Vector( 90, 180, -90 ),
iSize = Vector( 20, 5, 5 ),
iColor = Colour( 255, 255, 255 ),
iText = "Grand Theft Auto Vice City",
/* Configuration Ends */
Label = null,
function Create( ) {
Label = ::GUILabel( );
Label.AddFlags( GUI_FLAG_3D_ENTITY );
Label.Text = iText;
Label.TextColour = iColor;
Label.FontSize = 100;
Label.Size3D = iSize;
Label.Rotation3D = GetAngleFromDeg( iRotation );
Label.Position3D = iPos;
Label.AddFlags( GUI_FLAG_VISIBLE );
}
function Destroy( ) {
Label = null;
}
function GetAngleFromDeg( deg ) {
local x = 6.270 / 360.000;
local y = 6.270 / 360.000;
local z = 6.270 / 360.000;
return Vector( deg.X * x, deg.Y * y, deg.Z * z );
}
};
Quote from: Xenon on May 30, 2018, 12:07 AMNext time use this for align the text, not this. Btw, good luck.I would rather go for spaces instead of centering cause sometimes we do want to centralize list having same starting position to make it even look better. Example bellow
Quote from: Xenon on May 30, 2018, 12:07 AMSpaces
* [FC]LegendKiller^
* [FC]FireStone
* [FC]Enkie^
* [FC]Killer_King
Quote from: Xenon on May 30, 2018, 12:07 AM* [FC]LegendKiller^
* [FC]FireStone
* [FC]Enkie^
* [FC]Killer_King
Quote from: Xenon on May 30, 2018, 12:07 AM* [FC]LegendKiller^
* [FC]FireStone
* [FC]Enkie^
* [FC]Killer_King
Quote from: [KM]Helathien on Jul 28, 2018, 12:05 PMUmar4911 bro, can you pm me of vks forum about how did you make the bot. ThanksThere is a ready made bot by Necktrox if you know a bit about node.js this is the link which will help you.
Quote from: ! on Jul 27, 2018, 04:36 PMYes it is possible.
I had ported mta-discord-bot to vcmp before and it worked.
MTA DISCORD BOT
PORTED Version TO LU
Quote from: (SpCy)Alex on Jul 28, 2018, 09:14 AMYou will not update your , you copy allOff: Forum ban expected soon.