27.03.2014, 13:08
match this with your script
Add it to onplayerconnect if you want
and change this IsLoggedin
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;
}
}