[HELP] welcome message when player spawned
#4

match this with your script
Add it to onplayerconnect if you want
and change this IsLoggedin
pawn Code:
new MessageHasShowen =0;

public OnPlayerSpawn(playerid)
{
      if(MessageHasShowen == 0 && IsLoggedin)
      {
            new string[128];
            new pname[24];
            GetPlayerName(playerid,pname,sizeof(pname));
            format(string,sizeof(string),"welcome again to server %s your level is: %d, Money: %d$",pname,PlayerInfo[playerid][pLevel],GetPlayerMoney(playerid));
            SendClientMessage(playerid,your color,string);
            MessageHasShowen =1;
      }
}
Reply


Messages In This Thread
[HELP] welcome message when player spawned - by Luca12 - 27.03.2014, 13:02
Re: [HELP] welcome message when player spawned - by ChristianIvann09 - 27.03.2014, 13:03
Re: [HELP] welcome message when player spawned - by Luca12 - 27.03.2014, 13:08
Re: [HELP] welcome message when player spawned - by TomatoRage - 27.03.2014, 13:08
Re: [HELP] welcome message when player spawned - by Luca12 - 27.03.2014, 13:33
Re: [HELP] welcome message when player spawned - by Sorti - 27.03.2014, 14:58
Re: [HELP] welcome message when player spawned - by Hanuman - 27.03.2014, 16:01

Forum Jump:


Users browsing this thread: 1 Guest(s)