UpdatePlayerData query problem
#9

Quote:

AssignPlayerData(playerid)
{
Player[playerid][ID] = cache_get_value_int(0, "id");
Player[playerid][Kills] = cache_get_value_int(0, "Kills");
Player[playerid][Deaths] = cache_get_value_int(0, "Deaths");
Player[playerid][Score] = cache_get_value_int(0, "Score");
Player[playerid][Money] = cache_get_value_int(0, "Money");
Player[playerid][Level] = cache_get_value_int(0, "Level");
Player[playerid][Cookies] = cache_get_value_int(0, "Cookies");
Player[playerid][Warns] = cache_get_value_int(0, "Warns");
SetPlayerScore(playerid, Player[playerid][Score]);
SetPlayerMoney(playerid, Player[playerid][Money]);
return 1;
}

try this
Reply


Messages In This Thread
UpdatePlayerData query problem - by Face9000 - 18.03.2017, 20:39
Re: UpdatePlayerData query problem - by Konstantinos - 18.03.2017, 20:55
Re: UpdatePlayerData query problem - by Face9000 - 18.03.2017, 21:02
Re: UpdatePlayerData query problem - by iLearner - 18.03.2017, 21:02
Re: UpdatePlayerData query problem - by iLearner - 18.03.2017, 21:04
Re: UpdatePlayerData query problem - by Face9000 - 18.03.2017, 21:14
Re: UpdatePlayerData query problem - by iLearner - 18.03.2017, 21:18
Re: UpdatePlayerData query problem - by Face9000 - 18.03.2017, 21:42
Re: UpdatePlayerData query problem - by iLearner - 18.03.2017, 21:50
Re: UpdatePlayerData query problem - by Face9000 - 18.03.2017, 21:53

Forum Jump:


Users browsing this thread: 1 Guest(s)