Posts: 810
Threads: 17
Joined: Aug 2013
Reputation:
0
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
Posts: 516
Threads: 77
Joined: Dec 2011
Reputation:
0
Umm k i'll try that but should my MYSQl table of `team` should be text or intergers?
Posts: 516
Threads: 77
Joined: Dec 2011
Reputation:
0
Need help on this, this has stopped my progress
Posts: 516
Threads: 77
Joined: Dec 2011
Reputation:
0
I tired it with an integer as well, it doesnt update it.
Posts: 516
Threads: 77
Joined: Dec 2011
Reputation:
0
Fixed, the problem was the comma beforre WHERE