25.02.2014, 05:25
Here, just edit "tablename" and ur mysql details and try it.
https://gist.github.com/codyafirl/673e3bb88aa0ed6e1b97
Under "public LoggedIn" , that's where you put ur shit to load into the players account so like an exmaple:
That would restore my Admin Level into the variable i have
btw this uses R37 plugin of BlueG's
edit: if ur using the one I made, I accidently left something out OnPlayerConnect so ye
https://gist.github.com/codyafirl/673e3bb88aa0ed6e1b97
Under "public LoggedIn" , that's where you put ur shit to load into the players account so like an exmaple:
pawn Код:
new tempfetch[500];
cache_get_field_content(0, "Admin_Level", tempfetch, connection), PlayerInfo[playerid][pAdmin] = strval(tempfetch);
btw this uses R37 plugin of BlueG's
edit: if ur using the one I made, I accidently left something out OnPlayerConnect so ye