SA-MP Forums Archive
[Help] NICKNAME bug?? Prevent nicks type "nick1-othertext" - 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: [Help] NICKNAME bug?? Prevent nicks type "nick1-othertext" (/showthread.php?tid=115608)



[Help] NICKNAME bug?? Prevent nicks type "nick1-othertext" - klke - 25.12.2009

Hi i have a big problem, if users set his nickname for example to "denis", buy a house(with sandra's property system) and then other user set his nickname to "denis-bug",it get benefices and is the owner.This second nick is not showed using getplayername .
How i can prevent this "second nicks"? :S
Sorry for my bad english.


Re: [Help] NICKNAME bug?? Prevent nicks type "nick1-othertext" - Gamer_Z - 25.12.2009

try also comparing sizeof ownername and sizeof bugplayername :P