GetPlayerName
#2

Код:
GetPlayerName(playerid, string, sizeof(name));
you had to use name instead of string
PHP код:
GetPlayerName(playeridnamesizeof(name)); 
full code:
PHP код:
    new name[MAX_PLAYER_NAME], string[24+MAX_PLAYER_NAME];
    
GetPlayerName(playeridnamesizeof(name));
    
format(stringsizeof(string), "You are logged in as %s, enjoy your stay!"name);
    
SendClientMessage(playeridCOLOR_GREENstring); 
Reply


Messages In This Thread
GetPlayerName - by MrCesar - 17.10.2016, 15:48
Re: GetPlayerName - by jlalt - 17.10.2016, 15:50
Re: GetPlayerName - by MrCesar - 17.10.2016, 15:52

Forum Jump:


Users browsing this thread: 2 Guest(s)