Переполнение стека
#7

Quote:
Originally Posted by CamperGTA
View Post
PHP Code:
new PlayerName[MAX_PLAYERS][MAX_PLAYER_NAME];
OnPlayerConnect(playerid)
{
    new 
name[MAX_PLAYER_NAME];
    
GetPlayerName(playeridnamesizeof(name));
    
strmid(PlayerName(playerid), name0strlen(name), MAX_PLAYER_NAME);

PHP Code:
new PlayerName[MAX_PLAYERS][MAX_PLAYER_NAME];
public 
OnPlayerConnect(playerid) {
    
GetPlayerName(playeridPlayerName[playerid],MAX_PLAYER_NAME);

Так ведь проще
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)