SA-MP Forums Archive
Problem with my register command - 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 with my register command (/showthread.php?tid=149937)



Problem with my register command - Niixie - 24.05.2010

Hey, i have a unknown bug for my side.
I know i made a tutorial on how to make register and login commands, so i should know how to do this.

But this is very wierd.
When someone registeres, it takes the first 2 letters and saves the file as that. heres my register command

http://registercommand.pastebin.com/9f5QyuKR

Its very wierd!


Re: Problem with my register command - Desert - 24.05.2010

I see nothing wrong with the GetPlayerName.

It sounds to me if you have a size problem. My guess would be that your string "file" is too short.




Off-Topic: The Pass string is too long, It is never gonna be any longer than 128-8-1= 119.


Re: Problem with my register command - [HiC]TheKiller - 24.05.2010

Make the file variable larger.


Re: Problem with my register command - Niixie - 24.05.2010

Thanks
Ill check if it works when i get home