SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Discussion

Reply
 
Thread Tools Display Modes
Old 28/01/2018, 08:19 AM   #1
Mobtiesgangsa
Big Clucker
 
Mobtiesgangsa's Avatar
 
Join Date: Oct 2016
Location: Skopje, Macedonia
Posts: 52
Reputation: 3
Default PlayerName 3-20 characters diffenrence with MAX_PLAYER_NAME

20-characters.jpg

As much as i know in the SA-MP Community from the 0.3x 'a, b, c, d, x, 7' versions, what is the difference between there two:
  • while connection to a random server adding a nickname less then 3 characters and more than 20 characters
    and
    defining MAX_PLAYER_NAME
__________________
As once told a programmer that in case your written code has a problem to not worry cuz one day you will figure a solution on how to overcome your problem
Mobtiesgangsa is offline   Reply With Quote
Old 28/01/2018, 08:23 AM   #2
edyun
Big Clucker
 
edyun's Avatar
 
Join Date: Sep 2014
Posts: 134
Reputation: 8
Default Re: PlayerName 3-20 characters diffenrence with MAX_PLAYER_NAME

Defining MAX_PLAYER_NAME won't do nothing, MAX_PLAYER_NAME is equal to 24, and it's mostly used when using GetPlayerName to not set an abominal max value, 24 characters it's the nickname limit and you can't change this by defining MAX_PLAYER_NAME. But remember, when using the client nickname the limit is 20 characters, the 24 characters limit of the nickname is when you change the playername with SetPlayerName.
__________________
edyun is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
0.3d MAX_PLAYER_NAME jaskiller Scripting Help 3 08/01/2012 05:52 PM
Why MAX_PLAYER_NAME is ... MJ! Help Archive 4 03/01/2011 11:24 AM
new name[MAX_PLAYER_NAME], string{MAX_PLAYER_NAME] problem Yourfatness Help Archive 2 06/10/2010 01:28 AM
MAX_PLAYER_NAME Scarface~ Help Archive 4 10/09/2010 05:44 PM


All times are GMT. The time now is 03:03 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.