Saving a gTeam variable
#3

You used to receive int data from mysql using mysql_fetch_int("team", pInfo[playerid][pTeam]); then you should use SetPlayerTeam(playerid,pInfo[playerid][pTeam]); as you get it , it won't work with gTeam because it's a global variable default global variables = 0 that's why it won't work!

Edit: if that's not working , make sure it saves the variable at your mysql database
Reply


Messages In This Thread
Saving a gTeam variable - by ZBits - 15.01.2014, 18:23
Re: Saving a gTeam variable - by ZBits - 15.01.2014, 21:19
Re: Saving a gTeam variable - by SilentSoul - 15.01.2014, 21:29
Re: Saving a gTeam variable - by ZBits - 15.01.2014, 22:17
Re: Saving a gTeam variable - by ZBits - 15.01.2014, 23:48
Re: Saving a gTeam variable - by Baines - 16.01.2014, 00:02
Re: Saving a gTeam variable - by ZBits - 16.01.2014, 00:05
Re: Saving a gTeam variable - by ZBits - 16.01.2014, 02:13

Forum Jump:


Users browsing this thread: 1 Guest(s)