19.05.2017, 10:55
Also, this message:
Will not be sent because the length is too long, max characters that SendClientMessage can support is 144.
__
The string you format is only of 64 characters, add 24 in it as it's the max characters for the player name and your string chars will be 88, they why use 128?
__
Change from this
to this
This is just an optimization technique.
Quote:
On United County Roleplay we operate a 'Master Account' system. In order to register an account you will need to join with a nickname(without the '_'), instead of your roleplay name. |
__
The string you format is only of 64 characters, add 24 in it as it's the max characters for the player name and your string chars will be 88, they why use 128?
PHP код:
new str[128];
Change from this
PHP код:
new str[128];
new namecheck = strfind(GetName(playerid), "_", true);
PHP код:
new str[88], namecheck = strfind(GetName(playerid), "_", true);