How to create a new function
#7

Sorry for double post, but I will explain it.

PHP код:
public OnPlayerConnect(playerid)
{
     new 
string[350], pName[MAX_PLAYER_NAME];
    
GetPlayerName(playeridpNameMAX_PLAYER_NAME);
    
format(string,sizeof string"%s has joined the server."pName);
    
SetTimerEx("DelayedConnect"2000false"i"playerid);
    
SendClientMessageToAll(COLOR_GREYstring);
    return 
1;
}
forward DelayedConnect(playerid);
public 
DelayedConnect(playerid); 
When I connect to my server, it says "(Name) has joined the server.", I want to have my name at the very least
Reply


Messages In This Thread
How to create a new function - by saffierr - 23.08.2015, 21:48
AW: How to create a new function - by MrGtasagamer - 23.08.2015, 21:55
AW: How to create a new function - by Kaliber - 23.08.2015, 21:55
Re: How to create a new function - by Abagail - 23.08.2015, 22:00
Re: How to create a new function - by rymax99 - 23.08.2015, 22:00
Re: How to create a new function - by saffierr - 23.08.2015, 22:02
Re: How to create a new function - by saffierr - 23.08.2015, 22:08
AW: Re: How to create a new function - by MrGtasagamer - 23.08.2015, 22:12
Re: How to create a new function - by saffierr - 23.08.2015, 22:20
Re: How to create a new function - by Abagail - 23.08.2015, 22:22

Forum Jump:


Users browsing this thread: 1 Guest(s)