23.01.2013, 09:21
Here you go, I don't use [PAWN] because you'll have to scroll
if(PlayerInfo[playerid][pLevel] < 1
{
format(string, sizeof(string), "[NewbieChat] Newbie %s: %s", sendername, result);
SendClientMessage(playerid, COLOR_NEWBIE, string);
return 1;
}
else if(PlayerVip[playerid][VipLevel] == 4)
{
format(string, sizeof(string), "[NewbieChat] Helper %s: %s", sendername, result);
SendClientMessage(playerid, COLOR_NEWBIE, string);
return 1;
}
else if(PlayerInfo[playerid][pAdmin] == 1)
{
format(string, sizeof(string), "[NewbieChat] Moderator lv1 %s: %s", sendername, result);
SendClientMessage(playerid, COLOR_NEWBIE, string);
return 1;
}
else if(PlayerInfo[playerid][pAdmin] == 2)
{
format(string, sizeof(string), "[NewbieChat] Moderator lv2 %s: %s", sendername, result);
SendClientMessage(playerid, COLOR_NEWBIE, string);
return 1;
}
else if(PlayerInfo[playerid][pAdmin] == 3)
{
format(string, sizeof(string), "[NewbieChat] Administrator %s: %s", sendername, result);
SendClientMessage(playerid, COLOR_NEWBIE, string);
return 1;
}
else if(PlayerInfo[playerid][pAdmin] == 4)
{
format(string, sizeof(string), "[NewbieChat] Fondator %s: %s", sendername, result);
SendClientMessage(playerid, COLOR_NEWBIE, string);
return 1;
}
if(PlayerInfo[playerid][pLevel] < 1
{
format(string, sizeof(string), "[NewbieChat] Newbie %s: %s", sendername, result);
SendClientMessage(playerid, COLOR_NEWBIE, string);
return 1;
}
else if(PlayerVip[playerid][VipLevel] == 4)
{
format(string, sizeof(string), "[NewbieChat] Helper %s: %s", sendername, result);
SendClientMessage(playerid, COLOR_NEWBIE, string);
return 1;
}
else if(PlayerInfo[playerid][pAdmin] == 1)
{
format(string, sizeof(string), "[NewbieChat] Moderator lv1 %s: %s", sendername, result);
SendClientMessage(playerid, COLOR_NEWBIE, string);
return 1;
}
else if(PlayerInfo[playerid][pAdmin] == 2)
{
format(string, sizeof(string), "[NewbieChat] Moderator lv2 %s: %s", sendername, result);
SendClientMessage(playerid, COLOR_NEWBIE, string);
return 1;
}
else if(PlayerInfo[playerid][pAdmin] == 3)
{
format(string, sizeof(string), "[NewbieChat] Administrator %s: %s", sendername, result);
SendClientMessage(playerid, COLOR_NEWBIE, string);
return 1;
}
else if(PlayerInfo[playerid][pAdmin] == 4)
{
format(string, sizeof(string), "[NewbieChat] Fondator %s: %s", sendername, result);
SendClientMessage(playerid, COLOR_NEWBIE, string);
return 1;
}