Player's Id are not shown
#1

pawn Код:
new str[128], name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
format(str,sizeof(str),"%s (ID: %d) has joined the server",name);
SendClientMessageToAll(COLOR_GREEN,str);

It doesn't show the player's id. How can i fix it?
Reply
#2

PHP код:
new str[128], name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
format(str,sizeof(str),"%s (ID: %d) has joined the server",name,playerid);
SendClientMessageToAll(COLOR_GREEN,str); 
Reply
#3

Quote:
Originally Posted by newbienoob
Посмотреть сообщение
pawn Код:
new str[128], name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
format(str,sizeof(str),"%s (ID: %d) has joined the server",name);
SendClientMessageToAll(COLOR_GREEN,str);

It doesn't show the player's id. How can i fix it?
[QUOTE=newbienoob;1800364]
pawn Код:
new str[128], name[MAX_PLAYER_NAME];
GetPlayerName(playerid,name,sizeof(name));
format(str,sizeof(str),"%s (ID: %d) has joined the server",name,playerid);
SendClientMessageToAll(COLOR_GREEN,str);
Reply
#4

Thanks
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)