SendMessagetoall
#2

Quote:
Originally Posted by keujh
Okay, basically here's what i want to do.

SendClientMessageToAll(0xDEEE20FF, "Has been kicked.");

How can i make that like:

SendClientMessageToAll(0xDEEE20FF, "The Players Name" " Has been kicked, due to an invalid Roleplay name.");


The help is appreciated.
pawn Код:
new string[128];
new playername[MAX_PLAYER_NAME];
GetPlayerName(playerid, playername, sizeof(playername));
format(string,sizeof(string),"%s Has been kicked, due to an invalid Roleplay name.", playername);
SendClientMessageToAll(0xDEEE20FF, string);
Reply


Messages In This Thread
SendMessagetoall - by keujh - 25.02.2010, 00:40
Re: SendMessagetoall - by Norn - 25.02.2010, 00:42
Re: SendMessagetoall - by ihatetn931 - 25.02.2010, 00:43
Re: SendMessagetoall - by keujh - 25.02.2010, 00:43

Forum Jump:


Users browsing this thread: 1 Guest(s)