SA-MP Forums Archive
Adding Login and Register system - 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)
+--- Thread: Adding Login and Register system (/showthread.php?tid=303000)



Adding Login and Register system - BleverCastard - 11.12.2011

Hey guys, I followed this tutorial:
https://sampforum.blast.hk/showthread.php?tid=273088
and I keep getting these errors:
http://pastebin.com/Uxj1m9F2

Can someone help me please?


Re: Adding Login and Register system - THE_KNOWN - 11.12.2011

1. show line 868,870,872,878,886,972

2. delete new pName from line 977.

3. delete playername from line 1320


Re: Adding Login and Register system - BleverCastard - 11.12.2011

EDIT: Forgot it ill edit this when I done the lines


Re: Adding Login and Register system - BleverCastard - 11.12.2011

Line 868:
freq[playerid] = 1111;
Line 870:

GetPlayerName(playerid, playername, sizeof(playername));
Line 872:
format(msg, sizeof(msg), "Welcome %s. Your ID is: %d.", playername, playerid);
Line:878:

GetPlayerName(playerid, pName, 30);
Line 886:
RemoveBuildingForPlayer(playerid, 3664, 1388.0078, -2494.2656, 19.2813, 0.25);
Line 872:
}


Re: Adding Login and Register system - THE_KNOWN - 11.12.2011

do you have some stocks/macros for RemoveBuildingForPlayer,GetPlayerName?

could you paste the code around the lines i asked you to show?


Re: Adding Login and Register system - BleverCastard - 11.12.2011

They are the lines -.-


Re: Adding Login and Register system - THE_KNOWN - 11.12.2011

nono i mean the lines around them like for liek 870 show code from 865 to 875?