[HELP] MAX CHARACTER
#1

Hi to all.First sorry for my english
Script I use : GTA RP
My problem : I have a problem with max character name.How you know,GTA RP max character nick must be max 12 letters or numbers.I want to change that to 20 . Please help
Some pics :
Reply
#2

Show us the registration part of the script.
Reply
#3

Quote:
Originally Posted by shitbird
Посмотреть сообщение
Show us the registration part of the script.
you think ''onplayerregister'' or ''onplayerconnect''?
Reply
#4

I really can't tell. You're the one with the script. Find out where ever the registration process is.
You're looking for a "strlen" determination, on a given players name.

ie.
pawn Код:
new pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, sizeof(pName));
if (strlen(pName) > 12) return KickEx(playerid, "Name is too long.");
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)