14.11.2015, 09:48
I want load my username in my game for /stats and anymore, and i test with save my username in "OnPlayerDisconect" but my username is not saved. even my username is empty in my database.
And finally I know why can not save, because in the game my username does not load.
this is evidence for username in the game does not load.
I use cmd /stats like this:
and in the game username is nothing.
I'm confused, please help
And finally I know why can not save, because in the game my username does not load.
this is evidence for username in the game does not load.
I use cmd /stats like this:
Код:
CMD:stats(playerid, params[]) { if(IsPlayerConnected(playerid)) { new string[200]; format(string, sizeof(string), "Name: %s | Money: %d | Username: %s ", GetName(playerid), GetPlayerMoney(playerid), PlayerInfo[playerid][pUname]); SendClientMessage(playerid ,0xFFFFFFAA, string); } return 1; }
I'm confused, please help