Need help with leaving/Joining server message!*SOLVED*
#1

I've been in SA-MP Wiki, i've added the codes for the joining server message, but nothing happens.
Here's what i did:

format(string, sizeof(string), "%s has joined the server.", playername );

Did i do anything wrong?
Please reply!
Reply
#2

format(string, sizeof(string), "%s has joined the server.", playername );
SendClientMessage(playerid, Color , string);

That's On Player Connect
________
Macumba advice
Reply
#3

pawn Код:
public OnPlayerConnect(playerid)
{
  new
    string[48],
    name[MAX_PLAYER_NAME];

  GetPlayerName(playerid, name, 24);
  format(string, sizeof(string), "%s has joined the server.", name);
  SendClientMessage(COLOR, string);
  return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)