02.05.2012, 21:49
sу completando..
c der erro avisa *--*
pawn Код:
public OnPlayerText(playerid, text[])
{
new pname[MAX_PLAYER_NAME];
GetPlayerName(playerid,pname,sizeof(pname));
format(string, sizeof(string), "%s.ini",pname);
if(dini_Int(string,"VIP") == 1)
{
format(stringv, sizeof(stringv), " [ID:%d][VIP]: %s",playerid,text);
SendPlayerMessageToAll(playerid,stringv);
}else {
format(stringv, sizeof(stringv), " [ID:%d]: %s",playerid,text);
SendPlayerMessageToAll(playerid,stringv);
}
return 0;
}