Last used skin
#7

Ohh so you're basically using SQLite and blazing user database?
After looking at the example provided at the thread of Slice:

pawn Код:
pInfo[playerid][Skin] = GetPlayerSkin(playerid);

new
    userid = BUD::GetNameUID( "FIRSTNAME_LASTNAME" ) // This will get the name's unique ID; it's needed to get/set information.
;
if ( userid != BUD::INVALID_UID )
{
    BUD::MultiSet( userid, "i", // integer
        "skinid", pInfo[playerid][Skin],
    );
}
I think that this will do the job, any feedback is appreciated!
Reply


Messages In This Thread
Last used skin - by Hybris - 27.09.2015, 12:44
Re: Last used skin - by J0sh... - 27.09.2015, 12:51
Re : Last used skin - by StreetRP - 27.09.2015, 12:51
Re: Re : Last used skin - by Hybris - 27.09.2015, 13:15
Re: Last used skin - by Stanford - 27.09.2015, 13:20
Re: Last used skin - by Hybris - 27.09.2015, 13:24
Re: Last used skin - by Stanford - 27.09.2015, 13:29
Re: Last used skin - by Hybris - 27.09.2015, 13:34
Re: Last used skin - by Stanford - 27.09.2015, 14:57

Forum Jump:


Users browsing this thread: 1 Guest(s)