LiL Problem
#1

Код:
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
Reply
#2

Man will it work in IRC
Reply
#3

Код:
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?
Reply
#4

YEP YEP
Reply
#5

Anyone knows
Reply
#6

Heheheh
Your Best Friend Is Nt Giving Me The Right Answer
Reply
#7

He doesnt helped me :O
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)