[HELP] MAX CHARACTER
#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


Messages In This Thread
[HELP] MAX CHARACTER - by Ivan_Balkan - 06.08.2012, 21:48
Re: [HELP] MAX CHARACTER - by shitbird - 06.08.2012, 22:04
Re: [HELP] MAX CHARACTER - by Ivan_Balkan - 07.08.2012, 10:19
Re: [HELP] MAX CHARACTER - by shitbird - 07.08.2012, 11:22

Forum Jump:


Users browsing this thread: 1 Guest(s)