#6

Quote:
Originally Posted by TopShooter2
Посмотреть сообщение
You can use the format like that:

PHP код:
new string[80+MAX_PLAYER_NAME]; // You can enter the number of characters inside the brackets. MAX_PLAYER_NAME = 24.
format(stringsizeof(string), "%s is now admin on-duty, please type /ask for assistance"playerData[playerid][tempAdminName]"); // Here you can format the string we defined above, you can use any other name of the defination instead of 'string', it's up to you.
SendClientMessageToAll(COLOR_WHITE, string); // Here we can send the formatted string into a client message. 
No need for 80, just 54 + MAX_PLAYER_NAME.
Reply


Messages In This Thread
CMD - by KNIGHT786 - 26.03.2017, 18:30
Re: CMD - by GoldenLion - 26.03.2017, 18:31
Re: CMD - by KNIGHT786 - 26.03.2017, 18:41
Re: CMD - by Unte99 - 26.03.2017, 19:30
Re: CMD - by TopShooter2 - 26.03.2017, 20:17
Re: CMD - by Variable™ - 26.03.2017, 20:44
Re: CMD - by Kane - 26.03.2017, 21:37
Re: CMD - by Variable™ - 26.03.2017, 21:58
Re: CMD - by TopShooter2 - 26.03.2017, 22:35
Re: CMD - by KNIGHT786 - 27.03.2017, 08:42

Forum Jump:


Users browsing this thread: 2 Guest(s)