About DJson
#1

I keep getting this error:
pawn Код:
warning 203: symbol is never used: "djson_GameModeExit"
warning 203: symbol is never used: "djson_GameModeInit"
and I have only included it.
What to do? How to fix
Reply
#2

Post them inside the callback they represent!

pawn Код:
public OnGameModeInit( )  djson_GameModeInit( );
public OnGameModeExit( )  djson_GameModeExit( );
Reply
#3

So what should I do?
I havent used funtion djson_GameModeInit();
or djson_GameModeExit();
Reply
#4

If you don't use them and don't need them, just delete them.
Reply
#5

Quote:
Originally Posted by Serbish
Посмотреть сообщение
If you don't use them and don't need them, just delete them.
Those should be used, but because they are not used on the right callback it will received a warning because those aren't used anywhere.

So do as i said!

copy paste djson_GameModeInit into OnGameModeInit callback and same for the djson_GameModeExit!
Reply
#6

Or use a pragma to set them unused.
Reply
#7

Or just use them as you need them or DJSON won't function properly.

Common sense?
Reply
#8

Quote:
Originally Posted by Jochemd
Посмотреть сообщение
Or use a pragma to set them unused.
That'be wrong! I said DJson needs those callbacks to be EXISTING inside the callbacks they represent!
Reply
#9

Quote:
Originally Posted by Zh3r0
Посмотреть сообщение
That'be wrong! I said DJson needs those callbacks to be EXISTING inside the callbacks they represent!
Yeah, but if he is getting the warning, I guess he's not really using it.
Reply
#10

Quote:
Originally Posted by Jochemd
Посмотреть сообщение
Yeah, but if he is getting the warning, I guess he's not really using it.
But that proves that he is trying to use DJson and got stuck at this lame warning!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)