08.01.2010, 13:52
Hey,i got problem,wanted to make if ur donator it will show that donator joined,
but it isnt then just joined
but...it will show twice that player joined
heres the lines
but it isnt then just joined
but...it will show twice that player joined
heres the lines
pawn Код:
if(PlayerInfo[playerid][pDonateRank] != 0)
{//<=====
new pName[MAX_PLAYER_NAME];
new string[85];
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), "Donator %s Joined the server. (Joined)", pName);
SendClientMessageToAll(0x9ACD32AA, string);
}
else//And there was no need for the else if, just an else will do
{
new string[85];
new pName[MAX_PLAYER_NAME];
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), " %s Joined the server. (Joined)", pName);
SendClientMessageToAll(0x9ACD32AA, string);
}