Trying to fix the aduty command to load from mysql
#4

you're just reloading the player's data again when they type /aduty (I mean second phase from - else if(AdminDuty[playerid] == 1))
you must get only adminname and username, than set it with SetPlayerName(playerid,name)

and remove if(SetPlayerName(playerid) == 1); from your code.
Reply


Messages In This Thread
Trying to fix the aduty command to load from mysql - by IndependentGaming - 12.03.2018, 22:09
Re: Trying to fix the aduty command to load from mysql - by Mugala - 12.03.2018, 22:16
Re: Trying to fix the aduty command to load from mysql - by IndependentGaming - 12.03.2018, 22:19
Re: Trying to fix the aduty command to load from mysql - by Mugala - 12.03.2018, 22:27

Forum Jump:


Users browsing this thread: 1 Guest(s)