Saving a gTeam variable
#1

Fixed, Code Removed!
Reply
#2

Bump
Reply
#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
#4

Umm k i'll try that but should my MYSQl table of `team` should be text or intergers?
Reply
#5

Need help on this, this has stopped my progress
Reply
#6

It should be an integer.
Reply
#7

I tired it with an integer as well, it doesnt update it.
Reply
#8

Fixed, the problem was the comma beforre WHERE
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)