30.06.2013, 10:17
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; } |