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.


  Show Posts
Pages: [1]
1  Scripting / Script Help / Re: [C++] I need some help regarding C++ -> SQ modules on: July 14, 2012, 03:24:35 pm
Why make it so complicated?

Why use C++ to have it work with SQ? That seems like too many extra steps.

Jest make a simple script snippet thatll do this for you and other users as they join and add it to your main.nut file.

It much easier & less work.
2  Scripting / Script Help / Re: /removecar Command on: July 12, 2012, 11:11:42 pm
What do you mean by removing vehicles? Removing existing ones LU provided in it's default scripts, or remove ones that users have created via commands with your own scripts?

ones created by users not those provided by the content.xml

BTW error I seem to get is sumthang like "Could not retrieve UserData"

I dont know what that means and/or how to solve that issue either. If sumone could provide a user friendly tutorial or sumthang to help would be great.
The first could be resolved through a usage of a database, and have the command remove the vehicle from the database, although destroying a vehicle directly in the server's memory is another situation. I know it's possible, but unsure of how it's done exactly.

As for the error, I remember it being related to database/hashing issues.

I am aware of sqlite and if I remember correctly it should save data via I think a txt file or sum special format for it to read off your harddrive and well I have tried to read the tutorial but seriously is there no way to be more user friendly about the install?

I jest tried to install sqlite into my main.nut file into the rest of my script snippets but even after serious modification to the example script I get that error.

There has to be an easier way to do this.
3  Scripting / Script Help / Re: /removecar Command on: July 12, 2012, 10:59:13 pm
What do you mean by removing vehicles? Removing existing ones LU provided in it's default scripts, or remove ones that users have created via commands with your own scripts?

ones created by users not those provided by the content.xml

BTW error I seem to get is sumthang like "Could not retrieve UserData"

I dont know what that means and/or how to solve that issue either. If sumone could provide a user friendly tutorial or sumthang to help would be great.
4  Scripting / Script Help / /removecar Command on: July 12, 2012, 10:12:25 am
Can sum1 help me add onto the main.nut file's "onPlayerCommand( pPlayer, szCmd, szParams )" function so that users may properly remove vehicles? Or provide the snippet to do so properly?

I have tried to add it myself and what not but I keep getting errors here and there. This is mostly due to the wiki lacking so much info related to scripting. What it has is good but it needs so much more.
Pages: [1]
© Liberty Unleashed Team.