Help with player info
#1

so when I go to add something else to the players info, eg. pRCar, everything else in the playersinfo won't work, like pAdmin will rep if you help
Reply
#2

show us the code with padmin and all that
Reply
#3

Remember if it's not the last thing in the enumerator, you need to use "," on the end of pRCar.
Otherwise show the enumerator, and how you are trying to add pRCar to it.
Reply
#4

enum pInfo
{
pKey[32],
pReg,
pCash,
pSkin,
pAdmin,
pRCar,
};
Reply
#5

What CalvinC said, that's exactly what happens.
It should look like this:
PHP код:
enum pInfo
{
pKey[32],
pReg,
pCash,
pSkin,
pAdmin,
pRCar
}; 
Don't put a comma at the end of the last thing, never. So, if you want to add another you'd do it like this:
PHP код:
enum pInfo
{
pKey[32],
pReg,
pCash,
pSkin,
pAdmin,
pRCar// Now the previously one that was the last will have now a comma (,).
pNEW // The new one won't have a comma.
}; 
Reply
#6

Still messes up
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)