hi can we welcome different players in server
#3

Quote:

public OnPlayerConnect(playerid)
{
new str[256];
format(str, sizeof(str), "Welcome %s to the server!", PlayerName(playerid));
SendClientMessage(playerid,RED,str);
return 1;
}

stock PlayerName(playerid)
{
new name[24];
GetPlayerName(playerid,name,sizeof(name));
return name;
}

I guess that's it.
Reply


Messages In This Thread
Delete - by gurmani11 - 29.06.2013, 18:15
Delete - by gurmani11 - 30.06.2013, 10:08
Re: hi can we welcome different players in server - by RowdyrideR - 30.06.2013, 10:17
Re: hi can we welcome different players in server - by RowdyrideR - 30.06.2013, 10:28
Re: hi can we welcome different players in server - by gurmani11 - 30.06.2013, 10:50

Forum Jump:


Users browsing this thread: 2 Guest(s)