string help
#1

Hey guys i make a string and some there it work but when i join name it say player %s joined the server there code
Код:
new name[ MAX_PLAYER_NAME ];
GetPlayerName( playerid, name, MAX_PLAYER_NAME );
new string[32];
format(string, sizeof(string), " Igrac %s je usao na server!","%s");
SendClientMessageToAll(0x33AA33AA,string);
Reply
#2

PHP код:
new nameMAX_PLAYER_NAME ];
GetPlayerNameplayeridnameMAX_PLAYER_NAME );
new 
string[32];
format(stringsizeof(string), " Igrac %s je usao na server!",name);
SendClientMessageToAll(0x33AA33AA,string); 
Reply
#3

tnx it work rep+
Reply
#4

Quote:
Originally Posted by IceWizz
Посмотреть сообщение
tnx it work
No problem.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)