SA-MP Forums Archive
Problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Problem (/showthread.php?tid=104300)



Problem - Matej682 - 23.10.2009

i use GF mod, and when i put "if (IsPlayerNPC(playerid))" in the mod its still not working. Do i have to do something else?



Re: Problem - Darekfred - 23.10.2009

you missed #include <a_samp> one.
Or you have such thing as /login.


Re: Problem - Matej682 - 23.10.2009

I have /login and /register and what do i need to do?


Re: Problem - Darekfred - 23.10.2009

Thats th thing,they cat login.
Unless you dont do autologin, or something


Re: Problem - Matej682 - 23.10.2009

How to do the auto login?


Re: Problem - Darekfred - 23.10.2009

dunno mabye this will give you a good idea.
Pawno
Код:
	if(!udb_Exists(PlayerName2(playerid))) SendClientMessage(playerid,orange, "ACCOUNT: Type /register [password] to create an account");
	else
	{
	  PlayerInfo[playerid][Registered] = 1;
		format(file,sizeof(file),"/ladmin/users/%s.sav",udb_encode(PlayerName));
		new tmp2[256]; tmp2 = dini_Get(file,"ip");
		if( (!strcmp(tmp3,tmp2,true)) && (ServerInfo[AutoLogin] == 1) )
		{
			LoginPlayer(playerid);
			if(PlayerInfo[playerid][Level] > 0)
			{



Re: Problem - Sayaron - 24.10.2009

stop using gf and you will never get any of this problems again


Re: Problem - shady91 - 24.10.2009

Quote:
Originally Posted by [LRP
Sayaron ]
stop using gf and you will never get any of this problems again
i was about to say the same thing.

mate don't waste your time you wont get any players with a GF edit server and you will just make other role play server look bad. so please dont save us all a bit of hassle


Re: Problem - Matej682 - 24.10.2009

i am not opening a server its just for me and my frends for fun

Btw. i have another problem the npc dosent leve the server, but he is not in the car what to do?