Adding names
#5

Quote:
Originally Posted by Jonny5
Посмотреть сообщение
@RealCop
thats not so good
what if the username was already 20 char?

then the name would be cut!

best to override the OnPlayerText and just add to the name at that point.
There is nothing wrong with the code, the max amount of characters a player can enter sa-mp with is 20. So his code is just fine.
Reply


Messages In This Thread
Adding names - by BleverCastard - 25.04.2012, 21:06
Re: Adding names - by Scenario - 25.04.2012, 21:19
Re: Adding names - by Kindred - 25.04.2012, 21:21
Re: Adding names - by Jonny5 - 25.04.2012, 21:21
Re: Adding names - by ReneG - 25.04.2012, 21:24
Re: Adding names - by Jonny5 - 25.04.2012, 21:27
Re: Adding names - by BleverCastard - 25.04.2012, 21:32
Re: Adding names - by Elysian` - 25.04.2012, 21:34
Re: Adding names - by BleverCastard - 25.04.2012, 21:36
Re: Adding names - by Jonny5 - 25.04.2012, 21:47

Forum Jump:


Users browsing this thread: 1 Guest(s)