connect msg need help - 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)
+--- Thread: connect msg need help (
/showthread.php?tid=520471)
connect msg need help -
VishalSama - 19.06.2014
pwn code
public OnPlayerConnect(playerid)
{
new pName[MAX_PLAYER_NAME], string[39 + MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), "%s [ID:%d] has joined the server. [Connected]", pName, playerid);
SendClientMessageToAll(COLOR_GREY, string);
++++++++This showing the msg player(0) has joined the server in grey colour but i want the output must be like this:
Player(0) [in green colour] has joined the server.(country name)[in red colour]
can anyone tell me the pwn code for this
Re: connect msg need help -
SickAttack - 19.06.2014
pawn Код:
new pName[MAX_PLAYER_NAME], string[128];
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), "%s [ID:%d] {00FF40}has joined the server. [Connected]", pName, playerid);
SendClientMessageToAll(COLOR_GREY, string);
Re: connect msg need help -
CBCandyBoy - 19.06.2014
Quote:
Originally Posted by SickAttack
pawn Код:
new pName[MAX_PLAYER_NAME], string[128]; GetPlayerName(playerid, pName, sizeof(pName)); format(string, sizeof(string), "%s [ID:%d] {00FF40}has joined the server. [Connected]", pName, playerid); SendClientMessageToAll(COLOR_GREY, string);
|
but i think he needs that ip think try looking over this one have a look at this one
CLICK HERE
Re: connect msg need help -
VishalSama - 19.06.2014
I also need country name ...is their is any plugin needed
Re: connect msg need help -
Mriss - 19.06.2014
https://sampforum.blast.hk/showthread.php?tid=436115
Also gives code.