SA-MP Forums Archive
LiL Problem - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: LiL Problem (/showthread.php?tid=243507)



LiL Problem - wheelman_WM - 23.03.2011

Код:
public
	OnPlayerConnect(playerid)
{
	new
		joinMsg[128],
		name[MAX_PLAYER_NAME];
	GetPlayerName(playerid, name, sizeof(name));
	format(joinMsg, sizeof(joinMsg), "02[%d] 03*** %s has joined the server.", playerid, name);
	IRC_GroupSay(gGroupID, IRC_CHANNEL, joinMsg);
	return 1;
}
Can Onething be added to this
when player connect
They must be a message to all or for player

example

Player Has joined server

Message to him or for all
name : Welcome to test server %s

Hope u can do it

Regards From Wheelman


Re: LiL Problem - wheelman_WM - 23.03.2011

Man will it work in IRC


Re: LiL Problem - Ironboy500[TW] - 23.03.2011

Код:
new string[128];
new name[MAX_PLAYER_NAME];
GetPlayerName(playerid, name, sizeof(name));
format(string, sizeof(string), "%s, Welcome to test server.");
SendClientMessage(playerid, COLOR, string);
This one will send him a welcome message. Is it okay?


Re: LiL Problem - wheelman_WM - 23.03.2011

YEP YEP


Re: LiL Problem - wheelman_WM - 23.03.2011

Anyone knows


Re: LiL Problem - wheelman_WM - 23.03.2011

Heheheh
Your Best Friend Is Nt Giving Me The Right Answer


Re: LiL Problem - wheelman_WM - 23.03.2011

He doesnt helped me :O