Set String From Database. - Not loading
#5

Quote:
Originally Posted by X337
Посмотреть сообщение
You need to put string length at 4th parameter, as 'personalmsg' is an enum.
Код:
cache_get_value_name(0, "personalmsg", PlayerInfo[playerid][personalmsg], length of personalmsg here);
Thank you so much X337 it worked.
Worked from the database. Do i need personalmsg[129] in my enum?

Код:
enum pInfo
{
    pAdmin,
    pWork,
    StartingPoint,
    EndingPoint,
    pConvoy,
    MissionID,
    ID,
    Password[129],
    Score,
    Money,
    personalmsg[129],
}
new PlayerInfo[MAX_PLAYERS][pInfo];
Reply


Messages In This Thread
Set String From Database. - Not loading - by DerickClark - 25.01.2017, 00:48
Re: Set String From Database. - Not loading - by Lordzy - 25.01.2017, 00:54
Re: Set String From Database. - Not loading - by DerickClark - 25.01.2017, 01:03
Re: Set String From Database. - Not loading - by X337 - 25.01.2017, 02:41
Re: Set String From Database. - Not loading - by DerickClark - 25.01.2017, 02:46
Re: Set String From Database. - Not loading - by saffierr - 25.01.2017, 12:29

Forum Jump:


Users browsing this thread: 1 Guest(s)