04.10.2017, 15:01
Quote:
Hold up, so you don't understand how the process of the login/register system works?
When you connect, it checks for the userfile, and from there it shows the register or the login system based upon that. What more do you need explained in this instance? If you are simply trying to copy other peoples functions from their servers, maybe you need to start off with something a little more basic if you think this is completely different. The 'system' which he gave, wasn't even a working example, and really, he shouldn't have even given it to you, as it's obviously not a good example. I really hope you didn't +rep him for that shitty example. |
Код:
CreatePlayerLoginTextDraws(playerid);
Код:
ShowLoginTextDraws(playerid);
Код:
Register[playerid][4] = CreatePlayerTextDraw(playerid, 300.333374, 175.881469, "Register");
Код:
Register[playerid][4] = CreatePlayerTextDraw(playerid, 300.333374, 175.881469, "Login");
Example
Код:
stock PlayerIsRegistered(playerid) { pRegistered[playerid] = true; PlayerTextDrawSetString(playerid, PlayerLoginTextDraw[playerid][0], !" Login"); } stock PlayerIsNotRegistered(playerid) { pRegistered[playerid] = false; PlayerTextDrawSetString(playerid, PlayerLoginTextDraw[playerid][0], !" Register"); }