Mysql Loading Data [+REP]
#1

Ok I have tried a lot to load data when a player logs in but I always fail.

Ok so I would be thank ful +rep for who can make a loading system for me using this enum



enum PCNR_user
{
pPass[129],
aLevel,
vLevel,
pCash,
pScore,
pKills,
pDeaths,
pHoldups,
pCrimes,
pFined,
pArrests,
pTakedowns,
pTickets,
pRope,
pPaintCan,
pScissors,
pKits,
vLock,
Helper,
hHelper,
pWarns,
pKicks,
pJoins,
pMaterials,
Banned,
jTime,
FloatArmour,
FloatHealth,
pWanted,
cTime,
Drugs,
PlayerBombs
}
new PlayerInfo[MAX_PLAYERS][PCNR_user];
Reply
#2

https://sampforum.blast.hk/showthread.php?tid=588163'

Search for "mysql_vehicles" or "mysql_weapons" and get an idea from there.
Reply
#3

I have tried already every tutorial and failed, I would be thankful if someone made it to me
Reply
#4

You just need to read the tutorials thoroughly and change the variables, enums and queries to your liking. There's a lot of documentation out there, you just have to find it. You aren't going to learn how to do something if you get other people to do it for you. The first MySQL registration and login system I used was: https://sampforum.blast.hk/showthread.php?tid=574714.
Reply
#5

Show us what have you done so far and the error(s) that you are getting with that code.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)