06.02.2016, 22:10
Mano eu coloquei isso e nгo funcionou, aparece minha tag antiga [ADM] e nгo aparece a nova e eu substitui a minha tag antiga alguem me ajuda pf.
Код:
SetPlayerChatBubble(playerid, text, Vermelho, 50.0, 10000); if(dini_Int(file,"pAdmin") == 1) { new stringv[128]; new pname[MAX_PLAYER_NAME]; GetPlayerName(playerid,pname,sizeof(pname)); format(stringv, sizeof(stringv), "%s [ID: %d] {00FF00}[{FF0000}MOD{00FF00}]{00FFFF} %s",pname,playerid,text); SendClientMessageToAll(GetPlayerColor(playerid),stringv); return 0; } if(dini_Int(file,"pAdmin") == 2) { new stringv[128]; new pname[MAX_PLAYER_NAME]; GetPlayerName(playerid,pname,sizeof(pname)); format(stringv, sizeof(stringv), "%s [ID: %d] {00FF00}[{FF0000}SUPERMOD{00FF00}]{00FFFF} %s",pname,playerid,text); SendClientMessageToAll(GetPlayerColor(playerid),stringv); return 0; } if(dini_Int(file,"pAdmin") == 3) { new stringv[128]; new pname[MAX_PLAYER_NAME]; GetPlayerName(playerid,pname,sizeof(pname)); format(stringv, sizeof(stringv), "%s [ID: %d] {00FF00}[{FF0000}ADM{00FF00}]{00FFFF} %s",pname,playerid,text); SendClientMessageToAll(GetPlayerColor(playerid),stringv); return 0; } if(dini_Int(file,"pAdmin") == 4) { new stringv[128]; new pname[MAX_PLAYER_NAME]; GetPlayerName(playerid,pname,sizeof(pname)); format(stringv, sizeof(stringv), "%s [ID: %d] {00FF00}[{FF0000}SUBDONO{00FF00}]{00FFFF} %s",pname,playerid,text); SendClientMessageToAll(GetPlayerColor(playerid),stringv); return 0; } if(dini_Int(file,"pAdmin") == 5) { new stringv[128]; new pname[MAX_PLAYER_NAME]; GetPlayerName(playerid,pname,sizeof(pname)); format(stringv, sizeof(stringv), "%s [ID: %d] {00FF00}[{FF0000}DONO{00FF00}]{00FFFF} %s",pname,playerid,text); SendClientMessageToAll(GetPlayerColor(playerid),stringv); return 0; } if(dini_Int(file,"VIP") == 1) { new stringv[128]; new pname[MAX_PLAYER_NAME]; GetPlayerName(playerid,pname,sizeof(pname)); format(stringv, sizeof(stringv), "%s [ID: %d] {00FF00}[{FF0000}VIP{00FF00}]{00FFFF} %s",pname,playerid,text); SendClientMessageToAll(GetPlayerColor(playerid),stringv); return 0; } if(Chatlb == 1) { format(string, sizeof(string), "[ID: %d] {00FF00}[{FF0000}JOGADOR{00FF00}]{00FFFF} %s", playerid, text); SendPlayerMessageToAll(playerid, string); } else { ChatProximo(playerid, text); } return 0; }