[HELP] Loading player variables - MySQL
#6

That you mean?
pawn Код:
enum _Players{
  e1,
  e2,
  e3,
  e4,
  e5,
  loggedin,
  .
  .
  .
};
new
  Players[MAX_PLAYERS][_Players];
Whatever, loggedin is either 0 or 1, use print(Players[playerid][loggedin]); is alyways outputting null.
Because the code is same as
pawn Код:
print("\1");
print("\0");
//null
And you should do
pawn Код:
printf("%d",Players[playerid][loggedin]);
Reply


Messages In This Thread
[HELP] Loading player variables - MySQL - by tom_jonez - 30.11.2009, 23:22
Re: Loading player variables - by yezizhu - 30.11.2009, 23:46
Re: Loading player variables - by tom_jonez - 30.11.2009, 23:56
Re: Loading player variables - by thegoliathmaster - 01.12.2009, 00:05
Re: [HELP] Loading player variables - MySQL - by tom_jonez - 01.12.2009, 01:14
Re: [HELP] Loading player variables - MySQL - by yezizhu - 01.12.2009, 02:27
Re: [HELP] Loading player variables - MySQL - by tom_jonez - 01.12.2009, 19:31
Re: [HELP] Loading player variables - MySQL - by yezizhu - 02.12.2009, 00:05
Re: [HELP] Loading player variables - MySQL - by tom_jonez - 02.12.2009, 00:25
Re: [HELP] Loading player variables - MySQL - by yezizhu - 02.12.2009, 01:18

Forum Jump:


Users browsing this thread: 1 Guest(s)