{SHU}ALEXM16

FAMILLY DEDICATED SKINS

4 posts in this topic

Hey Everyone,

I am back with yet another awesome Idea, but yet again, too big for me to figure out. :-p

So little explanation of this miracle "Alex" Idea... :PLOLLLL:

Pretty straight forward be able to add custom skins (mpmission) and have X familly have access to it, and skin 2 have Y familly have access to it, etc... all this in the custom vehicle or else where if necessary

My research:

  • Cant put functions in cpp. (IF uid blabla, or if familly id)
  • Of course skins in mpmissions
  • and that is where I am lost. :-(

Help needed:

Well pretty much I am lost at the begining, I am not sure how to go with this. Maybe a overide? addaction to the custom vehicle trader? Can you guys please give me how you would do it?

Thanks allot for your time. 

Share this post


Link to post
Share on other sites
On 11/18/2016 at 5:57 AM, {SHU}ALEXM16 said:

Hey Everyone,

I am back with yet another awesome Idea, but yet again, too big for me to figure out. :-p

So little explanation of this miracle "Alex" Idea... :PLOLLLL:

Pretty straight forward be able to add custom skins (mpmission) and have X familly have access to it, and skin 2 have Y familly have access to it, etc... all this in the custom vehicle or else where if necessary

My research:

  • Cant put functions in cpp. (IF uid blabla, or if familly id)
  • Of course skins in mpmissions
  • and that is where I am lost. :-(

Help needed:

Well pretty much I am lost at the begining, I am not sure how to go with this. Maybe a overide? addaction to the custom vehicle trader? Can you guys please give me how you would do it?

Thanks allot for your time. 

Well i am no pro by any means, but i would look at once a person is added to the family, the UID would be added (thus another database table) and then the script can be called. You could also do a custom trader, that maybe only accessed by family, it would be the first of its kind i believe.

 

Share this post


Link to post
Share on other sites
Advertisement

I can help with the database side at least...

You'd have to create a new query in the sql custom folder, lets say...

[checkFamilyID]
SQL_1 = SELECT clan_ID FROM account WHERE uid = ?
Number of Inputs = 1
SQL1_INPUTS = 1 
OUTPUT = 1

That would get you the players clan ID, where you would just set up your Trader Class list to check it.. something like..

(not the correct syntax but it's just to show how it could be done i think)

 

if checkFamilyID = 1 then
	Show the following Items
End If

 

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.