Not sending messages
#3

Also, this message:
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.

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?
PHP код:
new str[128]; 
__
Change from this
PHP код:
new str[128];
new 
namecheck strfind(GetName(playerid), "_"true); 
to this
PHP код:
new str[88], namecheck strfind(GetName(playerid), "_"true); 
This is just an optimization technique.
Reply


Messages In This Thread
Not sending messages - by aoky - 19.05.2017, 10:28
Re: Not sending messages - by oMa37 - 19.05.2017, 10:32
Re: Not sending messages - by Logic_ - 19.05.2017, 10:55
Re: Not sending messages - by GTLS - 19.05.2017, 16:39

Forum Jump:


Users browsing this thread: 2 Guest(s)