29.06.2013, 18:15
(
Последний раз редактировалось gurmani11; 17.10.2015 в 17:00.
)
Delete
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; } |
public OnPlayerConnect(playerid) { if(strcmp(PlayerName(playerid),"[AX]Yo",true)) { SendClientMessageToAll(RED," Welcome [AX]Yo to the server); return 1; } return 1; } |