01.09.2009, 02:20
public OnPlayerText(playerid, text[])
{
if(text[0] == '!' && PlayerInfo[playerid][VIP] >= 1) {
new string[128]; GetPlayerName(playerid,string,sizeof(string));
format(string,sizeof(string),"VIP Chat: %s: %s",string,text[1]); MessageToVIP(green,string);
return 0;
}
then !vip chat!
{
if(text[0] == '!' && PlayerInfo[playerid][VIP] >= 1) {
new string[128]; GetPlayerName(playerid,string,sizeof(string));
format(string,sizeof(string),"VIP Chat: %s: %s",string,text[1]); MessageToVIP(green,string);
return 0;
}
then !vip chat!