Need Help (For a third time :D)!!! Login and Register Dialog Box
#1

I have Godfather Mod and it doesent have login and register box, so can somebody post this code/tutorial for this (Godfather GM)... Pls
Reply
#2

GF is not for noob scripters, as it said in the topic. But if you wan't us to help you anyways post some snippets of code, screenshots, error messages, ... Something we can work with not this crap.
Reply
#3

If its godfather there is another gm check there or if you are using the same then check there xDD
Reply
#4

Код:
	if (strcmp(cmd, "/login", true) ==0 || strcmp(cmd, "/l", true) ==0)
	{
	    if(IsPlayerConnected(playerid))
	    {
	        new tmppass[64];
			if(gPlayerLogged[playerid] == 1)
			{
				SendClientMessage(playerid, TEAM_AZTECAS_COLOR, "SERVER: You are already logged in.");
				return 1;
			}
			tmp = strtok(cmdtext, idx);
			if(!strlen(tmp))
			{
				SendClientMessage(playerid, TEAM_AZTECAS_COLOR, "USAGE: (/l)ogin [password]");
				return 1;
			}
			strmid(tmppass, tmp, 0, strlen(cmdtext), 255);
			//Encrypt(tmppass);
			OnPlayerLogin(playerid,tmppass);
		}
		return 1;
	}
This is for my login, and here are the screens (sry for the languange, it is croatian): /imageshack/img810/6775/samp001lc.png /imageshack/img843/3766/samp000nb.png
Reply
#5

HELP!
Reply
#6

Try this It might help https://sampforum.blast.hk/showthread.php?tid=281
Reply
#7

witch page?
Reply
#8

Just check through ok.
Reply
#9

okay
Reply
#10

Cant find anything... Pls help anyone (I got GF mod[not GF2])
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)