18.08.2012, 21:10
Код:
C:\Users\Villy\Desktop\iniciante\gamemodes\Freeroam.pwn(5962) : error 010: invalid function or declaration C:\Users\Villy\Desktop\iniciante\gamemodes\Freeroam.pwn(5963) : error 010: invalid function or declaration C:\Users\Villy\Desktop\iniciante\gamemodes\Freeroam.pwn(5968) : error 010: invalid function or declaration C:\Users\Villy\Desktop\iniciante\gamemodes\Freeroam.pwn(5970) : error 010: invalid function or declaration C:\Users\Villy\Desktop\iniciante\gamemodes\Freeroam.pwn(5971) : error 010: invalid function or declaration C:\Users\Villy\Desktop\iniciante\gamemodes\Freeroam.pwn(5972) : error 010: invalid function or declaration C:\Users\Villy\Desktop\iniciante\gamemodes\Freeroam.pwn(5974) : error 021: symbol already defined: "DOF2_CreateFile" C:\Users\Villy\Desktop\iniciante\gamemodes\Freeroam.pwn(5974) : error 010: invalid function or declaration C:\Users\Villy\Desktop\iniciante\gamemodes\Freeroam.pwn(5974 -- 5975) : error 021: symbol already defined: "DOF2_SetInt" C:\Users\Villy\Desktop\iniciante\gamemodes\Freeroam.pwn(5974 -- 5975) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 10 Errors.
pawn Код:
#include <DOF2>
#define ADMIN_SPEC_TYPE_PLAYER 17
#define ADMIN_SPEC_TYPE_NONE 18
#define Mensagem(%1,%2,%3) SendClientMessage(%1,%2,%3)
#define MensagemParaTodos(%1,%2) SendClientMessageToAll(%1,%2)
#define LoginCase 19
#define RegisterCase 20
#define ContasSalvas "/Contas/%s.ini"
#define Arquivos "Contas/%s.ini"
new
gString[1024],
gAdminName[24],
gPlayerName[24],
Float:pX,
Float:pY,
Float:pZ,
Avisos[SLOTS],
SpectadorON[SLOTS],
SpectadorMode[SLOTS],
ExpirarBAN[SLOTS]
;
/* Enumerator */
enum pInfo
{
PlayerAdmin,
PlayerScore,
PlayerKills,
PlayerDeaths,
PlayerBanido
};
new Informacoes[SLOTS][pInfo];
public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid, Textdraw0);
SendDeathMessage(playerid, INVALID_PLAYER_ID, 200);
new string[40];
new pName[25];
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), "%s Entrou no Servidor!", pName);
SendClientMessageToAll(0xAAAAAAAA, string);
GameTextForPlayer(playerid,"~b~Bem-Vindo",5000,5);
SendClientMessage(playerid, 0xFFFF00AA, ">> Seja Bem Vindo Ao Server<<");
PlayAudioStreamForPlayer(playerid,"https://dl.dropbox.com/u/93019797/1.mp3.mp3");
if(Informacoes[playerid][PlayerBanido] == 1) return Mensagem(playerid, RED, "Banido do Servidor Temporariбmente, Bye!"), Kick(playerid);
if(DOF2_FileExists(PlayerArchive(playerid)))
{
ShowPlayerDialog(playerid, LoginCase, DIALOG_STYLE_INPUT,"Logando no Servidor", "Bem Vindo Novamente\nLogue-se com Sua Senha do Registro","Logar","Cancelar");
}
else
{
ShowPlayerDialog(playerid, RegisterCase, DIALOG_STYLE_INPUT,"Registrando no Servidor", "Bem Vindo ao Servidor\nDigite sua Senha Abaixo Para Registrar-se","Registrar","Cancelar");
}
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
new pName[MAX_PLAYER_NAME];
new string[40];
GetPlayerName(playerid, pName, sizeof(pName));
format(string, sizeof(string), "%s Saiu do Servidor! ", pName);
SendClientMessageToAll(0xAAAAAAAA, string);
SendDeathMessage(INVALID_PLAYER_ID, playerid, 201);
DestroyVehicle(Veiculo[playerid]);
Informacoes[playerid][PlayerScore] = GetPlayerScore(playerid);
SetPlayerScore(playerid, DOF2_GetInt(PlayerArchive(playerid), "Score"));
DOF2_SetInt(PlayerArchive(playerid), "Administrador", Informacoes[playerid][PlayerAdmin]);
DOF2_SetInt(PlayerArchive(playerid), "Grana", GetPlayerMoney(playerid));
DOF2_SetInt(PlayerArchive(playerid), "Score", Informacoes[playerid][PlayerScore]);
DOF2_SetInt(PlayerArchive(playerid), "Kills", Informacoes[playerid][PlayerKills]);
DOF2_SetInt(PlayerArchive(playerid), "Deaths", Informacoes[playerid][PlayerDeaths]);
DOF2_SaveFile();
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
if(killerid != INVALID_PLAYER_ID) SetPlayerScore(killerid, GetPlayerScore(killerid) + 1);
GivePlayerMoney(killerid, 1000);
SendDeathMessage(killerid, playerid, reason);
Informacoes[playerid][PlayerDeaths]++;
Informacoes[killerid][PlayerKills]++;
SetPlayerScore(killerid, GetPlayerScore(killerid) + 1);
Informacoes[killerid][PlayerScore]++;
return 1;
}
public OnPlayerCallCommand(playerid,cmdtext[],sucess){
if(!sucess) {
new result[128];
format(result,sizeof(result),"{0FF0FF}[INFO]:O comando %s nгo existe",cmdtext);
SendClientMessage(playerid,-1,result);
}
return 1;
}
//============= COMANDOS DE ADMIN ============================================================================================
bCMD[observar]-(playerid, params[])
{
new VictimID;
if(Informacoes[playerid][PlayerAdmin] < 1) return Mensagem(playerid, RED, "Erro: Vocк Nгo tem Nнvel Suficiente de Administrador");
if(sscanf(params, "u", VictimID)) return Mensagem(playerid, RED, "Erro: /observar [ID]");
if(!IsPlayerConnected(VictimID)) return Mensagem(playerid, RED, "Erro: Jogador Nгo Conectado");
TogglePlayerSpectating(playerid, 1);
PlayerSpectatePlayer(playerid, VictimID);
SetPlayerInterior(playerid,GetPlayerInterior(VictimID));
SetPlayerVirtualWorld(playerid,GetPlayerVirtualWorld(VictimID));
SpectadorON[playerid] = VictimID;
SpectadorMode[playerid] = ADMIN_SPEC_TYPE_PLAYER;
GetPlayerName(playerid, gAdminName, sizeof(gAdminName));
GetPlayerName(VictimID, gPlayerName, sizeof(gPlayerName));
format(gString, sizeof(gString), ">> Admin-CMD: %s Estб Observando o Jogador %s", gAdminName, gPlayerName);
foreach(new i: Player)
if(Informacoes[i][PlayerAdmin] >= 0)
Mensagem(i, -1, gString);
return 1;
}
bCMD[tapa]-(playerid, params[])
{
new VictimID;
if(Informacoes[playerid][PlayerAdmin] < 2) return Mensagem(playerid, RED, "Erro: Vocк Nгo tem Nнvel Suficiente de Administrador");
if(sscanf(params, "u", VictimID)) return Mensagem(playerid, RED, "Erro: /tapa [ID]");
if(!IsPlayerConnected(VictimID)) return Mensagem(playerid, RED, "Erro: Jogador Nгo Conectado");
GetPlayerPos(VictimID, pX, pY, pZ);
SetPlayerPos(VictimID, pX, pY, pZ+5);
GetPlayerName(playerid, gAdminName, sizeof(gAdminName));
GetPlayerName(VictimID, gPlayerName, sizeof(gPlayerName));
format(gString, sizeof(gString), ">> Admin-CMD: %s deu um Tapa no Jogador %s", gAdminName, gPlayerName);
foreach(new i: Player)
if(Informacoes[i][PlayerAdmin] >= 1)
Mensagem(i, RED, gString);
return 1;
}
bCMD[tapao]-(playerid, params[])
{
new VictimID;
if(Informacoes[playerid][PlayerAdmin] < 2) return Mensagem(playerid, RED, "Erro: Vocк Nгo tem Nнvel Suficiente de Administrador");
if(sscanf(params, "u", VictimID)) return Mensagem(playerid, RED, "Erro: /tapao [ID]");
if(!IsPlayerConnected(VictimID)) return Mensagem(playerid, RED, "Erro: Jogador Nгo Conectado");
GetPlayerPos(VictimID, pX, pY, pZ);
SetPlayerPos(VictimID, pX, pY, pZ+15);
GetPlayerName(playerid, gAdminName, sizeof(gAdminName));
GetPlayerName(VictimID, gPlayerName, sizeof(gPlayerName));
format(gString, sizeof(gString), ">> Admin-CMD: %s deu uma Super Bofetada no Jogador %s", gAdminName, gPlayerName);
foreach(new i: Player)
if(Informacoes[i][PlayerAdmin] >= 1)
Mensagem(i, RED, gString);
return 1;
}
bCMD[explodir]-(playerid, params[])
{
new VictimID;
if(Informacoes[playerid][PlayerAdmin] < 3) return Mensagem(playerid, RED, "Erro: Vocк Nгo tem Nнvel Suficiente de Administrador");
if(sscanf(params, "u", VictimID)) return Mensagem(playerid, RED, "Erro: /tapao [ID]");
if(!IsPlayerConnected(VictimID)) return Mensagem(playerid, RED, "Erro: Jogador Nгo Conectado");
GetPlayerPos(VictimID, pX, pY, pZ);
GetPlayerName(playerid, gAdminName, sizeof(gAdminName));
GetPlayerName(VictimID, gPlayerName, sizeof(gPlayerName));
format(gString, sizeof(gString), ">> Admin-CMD: %s Explodiu o Jogador %s", gAdminName, gPlayerName);
foreach(new i: Player)
if(Informacoes[i][PlayerAdmin] >= 1)
Mensagem(i, RED, gString);
CreateExplosion(pX, pY, pZ, 10, 20.0);
return 1;
}
bCMD[avisar]-(playerid, params[])
{
new VictimID, Motivo[120];
if(Informacoes[playerid][PlayerAdmin] < 1) return Mensagem(playerid, RED, "Erro: Vocк Nгo tem Nнvel Suficiente de Administrador");
if(sscanf(params, "us[120]", VictimID, Motivo)) return Mensagem(playerid, RED, "Erro: /avisar [ID] [Motivo]");
if(!IsPlayerConnected(VictimID)) return Mensagem(playerid, RED, "Erro: Jogador Nгo Conectado");
GetPlayerName(playerid, gAdminName, sizeof(gAdminName));
GetPlayerName(VictimID, gPlayerName, sizeof(gPlayerName));
if(Avisos[playerid] == 0)
{
format(gString, sizeof(gString), ">> Admin-CMD: %s Levou um Aviso do Administrador %s [1/3]", gPlayerName, gAdminName);
MensagemParaTodos(RED, gString);
}
if(Avisos[playerid] == 1)
{
format(gString, sizeof(gString), ">> Admin-CMD: %s Levou um Aviso do Administrador %s [2/3]", gPlayerName, gAdminName);
MensagemParaTodos(RED, gString);
}
if(Avisos[playerid] == 2)
{
format(gString, sizeof(gString), ">> Admin-CMD: %s Levou um Aviso do Administrador %s [3/3]", gPlayerName, gAdminName);
MensagemParaTodos(RED, gString);
Kick(VictimID);
}
Avisos[VictimID]++;
return 1;
}
bCMD[retiraravisos]-(playerid, params[])
{
new VictimID;
if(Informacoes[playerid][PlayerAdmin] < 5) return Mensagem(playerid, RED, "Erro: Vocк Nгo tem Nнvel de Administrador Suficiente");
if(sscanf(params, "u", VictimID)) return Mensagem(playerid, RED, "Erro: /retiraravisos [ID]");
GetPlayerName(playerid, gAdminName, sizeof(gAdminName));
GetPlayerName(VictimID, gPlayerName, sizeof(gPlayerName));
format(gString, sizeof(gString), ">> Admin-CMD: %s Retirou os Avisos do Jogador %s", gAdminName, gPlayerName);
foreach(new i: Player)
if(Informacoes[i][PlayerAdmin] >= 1)
Mensagem(i, RED, gString);
Avisos[VictimID] = 0;
return 1;
}
bCMD[a]-(playerid, params[])
{
new Texto[500];
if(Informacoes[playerid][PlayerAdmin] < 1 )return Mensagem(playerid, RED, "Erro: Vocк Nгo tem Nнvel Suficiente de Administrador");
if(sscanf(params, "s[200]", Texto)) return Mensagem(playerid, RED, "Erro: /a [Texto]");
GetPlayerName(playerid, gAdminName, sizeof(gAdminName));
format(gString, sizeof(gString), "{FF0000}(Admin-Chat) - {FFFFFF}%s{FF0000} Diz:{FFFFFF} %s", gAdminName, Texto);
foreach(new i: Player)
if(Informacoes[i][PlayerAdmin])
Mensagem(i, RED, gString);
return 1;
}
bCMD[x9]-(playerid, params[])
{
new VictimID, Motivo[150], gString2[200], gString3[200], gString4[200];
if(sscanf(params, "us[150]", VictimID, Motivo)) return Mensagem(playerid, RED, "Erro: /x9 [ID] [Motivo]");
GetPlayerName(playerid, gAdminName, sizeof(gAdminName));
GetPlayerName(VictimID, gPlayerName, sizeof(gPlayerName));
format(gString, sizeof(gString), "[DENUNCIA]: %s Denunciou o Jogador %s Pelo Motivo: %s", gAdminName, gPlayerName, Motivo);
foreach(new i: Player)
{
if(Informacoes[i][PlayerAdmin] >= 1)
{
Mensagem(i, RED, gString);
Mensagem(i, BRONZE, gString2);
Mensagem(i, CINZA, gString3);
Mensagem(i, YELLOW, gString4);
}
}
return 1;
}
bCMD[admins]-(playerid)
{
new gString2[500], Nomeado[50];
foreach(new i: Player)
{
GetPlayerName(i, gAdminName, sizeof(gAdminName));
if(Informacoes[i][PlayerAdmin] >= 1)
{
if(Informacoes[i][PlayerAdmin] == 1) Nomeado = "Helper";
if(Informacoes[i][PlayerAdmin] == 2) Nomeado = "Moderador";
if(Informacoes[i][PlayerAdmin] == 3) Nomeado = "Administrador";
if(Informacoes[i][PlayerAdmin] == 4) Nomeado = "Administrador Geral";
if(Informacoes[i][PlayerAdmin] == 5) Nomeado = "Sub-Dono";
if(Informacoes[i][PlayerAdmin] == 6) Nomeado = "Dono";
format(gString, sizeof(gString), "{FF0000}Administrador:{FFFFFF} %s{FF0000} - Level{FFFFFF} %d{FF0000} - Hierarquia:{FFFFFF} %s\n", gAdminName, Informacoes[i][PlayerAdmin], Nomeado);
strcat(gString2, gString, sizeof(gString2));
}
}
if(Informacoes[playerid][PlayerAdmin] < 1)
{
format(gString, sizeof(gString), "Administraзгo Offline no Momento!");
ShowPlayerDialog(playerid, 10, DIALOG_STYLE_MSGBOX, "Administraзгo Online", gString, "Fechar", "");
}
ShowPlayerDialog(playerid, 10, DIALOG_STYLE_MSGBOX, "Administraзгo Online", gString2, "Fechar", "");
return 1;
}
bCMD[dizer]-(playerid, params[])
{
new Fala[350], Texto[120], gString2[200];
if(Informacoes[playerid][PlayerAdmin] < 1) return Mensagem(playerid, RED, "Erro: Vocк Nгo tem Nнvel de Administrador Suficiente");
if(sscanf(params, "s[120]", Texto)) return Mensagem(playerid, RED, "Erro: /dizer [Texto]");
GetPlayerName(playerid, gAdminName, sizeof(gAdminName));
format(gString, sizeof(gString), "__________________Administraзгo__________________"); strcat(Fala, gString);
format(gString2, sizeof(gString2), "%s : %s", gAdminName, Texto); strcat(Fala, gString2);
SendClientMessageToAll(RED, gString);
SendClientMessageToAll(RED, gString2);
return 1;
}
bCMD[kick]-(playerid, params[])
{
new VictimID, Motivo[120];
if(Informacoes[playerid][PlayerAdmin] < 1) return Mensagem(playerid, RED, "Erro: Vocк Nгo tem Nнvel de Administrador Suficiente");
if(sscanf(params, "us[120]", VictimID, Motivo)) return Mensagem(playerid, RED, "Erro: /kick [ID] [Motivo]");
if(!IsPlayerConnected(VictimID)) return Mensagem(playerid, RED, "Erro: Jogador Nгo Conectado");
GetPlayerName(playerid, gAdminName, sizeof(gAdminName));
GetPlayerName(VictimID, gPlayerName, sizeof(gPlayerName));
format(gString, sizeof(gString), ">> Admin-CMD: %s Kickou o Jogador %s Pelo Motivo: %s", gAdminName, gPlayerName, Motivo);
MensagemParaTodos(RED, gString);
Kick(VictimID);
return 1;
}
bCMD[ban]-(playerid, params[])
{
new VictimID, Motivo[120];
if(Informacoes[playerid][PlayerAdmin] < 3) return Mensagem(playerid, RED, "Erro: Vocк Nгo tem Nнvel de Administrador Suficiente");
if(sscanf(params, "us[120]", VictimID, Motivo)) return Mensagem(playerid, RED, "Erro: /ban [ID] [Motivo]");
if(!IsPlayerConnected(VictimID)) return Mensagem(playerid, RED, "Erro: Jogador Nгo Conectado");
GetPlayerName(playerid, gAdminName, sizeof(gAdminName));
GetPlayerName(VictimID, gPlayerName, sizeof(gPlayerName));
format(gString, sizeof(gString), ">> Admin-CMD: %s Baniu o Jogador %s Pelo Motivo: %s", gAdminName, gPlayerName, Motivo);
MensagemParaTodos(RED, gString);
Ban(VictimID);
return 1;
}
bCMD[ir]-(playerid, params[])
{
new VictimID;
if(Informacoes[playerid][PlayerAdmin] < 1) return Mensagem(playerid, RED, "Erro: Vocк Nгo tem Nнvel de Administrador Suficiente");
if(sscanf(params, "u", VictimID)) return Mensagem(playerid, RED, "Erro: /ir [ID]");
if(!IsPlayerConnected(VictimID)) return Mensagem(playerid, RED, "Erro: Jogador Nгo Conectado");
GetPlayerName(playerid, gAdminName, sizeof(gAdminName));
GetPlayerName(VictimID, gPlayerName, sizeof(gPlayerName));
format(gString, sizeof(gString), ">> Admin-CMD: Vocк Foi atй o Jogador %s", gPlayerName);
Mensagem(playerid, RED, gString);
format(gString, sizeof(gString), ">> Admin-CMD: O Admin %s Foi atй Vocк", gAdminName);
Mensagem(VictimID, RED, gString);
GetPlayerPos(VictimID, pX, pY, pZ);
SetPlayerPos(playerid, pX, pY, pZ);
return 1;
}
bCMD[trazer]-(playerid, params[])
{
new VictimID;
if(Informacoes[playerid][PlayerAdmin] < 1) return Mensagem(playerid, RED, "Erro: Vocк Nгo tem Nнvel de Administrador Suficiente");
if(sscanf(params, "u", VictimID)) return Mensagem(playerid, RED, "Erro: /trazer [ID]");
if(!IsPlayerConnected(VictimID)) return Mensagem(playerid, RED, "Erro: Jogador Nгo Conectado");
GetPlayerName(playerid, gAdminName, sizeof(gAdminName));
GetPlayerName(VictimID, gPlayerName, sizeof(gPlayerName));
format(gString, sizeof(gString), ">> Admin-CMD: Vocк Trouxe o Jogador %s Atй Vocк", gPlayerName);
Mensagem(playerid, RED, gString);
format(gString, sizeof(gString), ">> Admin-CMD: O Admin %s Puxou Vocк para a Posiзгo Dele", gAdminName);
Mensagem(VictimID, RED, gString);
GetPlayerPos(playerid, pX, pY, pZ);
SetPlayerPos(VictimID, pX, pY, pZ);
return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == RegisterCase){
if(!response)
{
Mensagem(playerid, RED, ": Vocк Nгo quis Registrar-se e Por esse Motivo foi Kickado!");
Kick(playerid);
}
if(response)
{
if(!strlen(inputtext)) return Mensagem(playerid, RED, ": Vocк Digitou uma Senha Invбlida ou Nгo Digitou nada, Por Favor, Registre-se com uma Senha Vбlida");
if(strlen(inputtext) < 5) return Mensagem(playerid, RED, ": Senha Invбlida , Vбlido Apenas com mais de 5 Characteres"), ShowPlayerDialog(playerid, RegisterCase, DIALOG_STYLE_INPUT, "Registrando no Servidor", "[FuneraL's Admin System]: Bem Vindo ao Servidor\nDigite sua Senha Abaixo Para Registrar-se","Registrar","Cancelar");
if(strlen(inputtext) >= 5)
{
DOF2_CreateFile(PlayerArchive(playerid), inputtext);
DOF2_SetInt(PlayerArchive(playerid), "Administrador", 0);
DOF2_SetInt(PlayerArchive(playerid), "Grana", 10000);
DOF2_SetInt(PlayerArchive(playerid), "Score", 0);
DOF2_SetInt(PlayerArchive(playerid), "Kills", 0);
DOF2_SetInt(PlayerArchive(playerid), "Deaths", 0);
DOF2_SaveFile();
Mensagem(playerid, RED, "Registrado com Sucesso no Servidor, Seus dados Serгo Salvos!");
SpawnPlayer(playerid), GivePlayerMoney(playerid, 5000);}}
}
if(dialogid == LoginCase)
{
if(!response)
{
Mensagem(playerid, RED, ": Vocк Nгo Quis Logar e Por Esse Motivo foi Kickado!");
Kick(playerid);
}
if(response)
{
if(DOF2_CheckLogin(PlayerArchive(playerid), inputtext))
{
Mensagem(playerid, RED, "Logado com Sucesso! Bom Jogo");
CarregarDados(playerid);
}
else
{
ShowPlayerDialog(playerid, LoginCase, DIALOG_STYLE_INPUT,"Logando no Servidor",": Digite a Senha Correta Para Logar no Servidor!","Logar","Cancelar");
}
return 1;
}
stock PlayerArchive(playerid)
{
new StringArquivo[128], NomeArquivo[24];
GetPlayerName(playerid, NomeArquivo, sizeof(NomeArquivo));
format(StringArquivo, sizeof(StringArquivo), ContasSalvas, NomeArquivo);
return StringArquivo;
}
stock CarregarDados(playerid)
{
Informacoes[playerid][PlayerAdmin] = DOF2_GetInt(PlayerArchive(playerid), "Administrador");
GivePlayerMoney(playerid, DOF2_GetInt(PlayerArchive(playerid), "Grana"));
Informacoes[playerid][PlayerScore] = DOF2_GetInt(PlayerArchive(playerid), "Score");
Informacoes[playerid][PlayerKills] = DOF2_GetInt(PlayerArchive(playerid), "Kills");
Informacoes[playerid][PlayerDeaths] = DOF2_GetInt(PlayerArchive(playerid), "Morreu");
Informacoes[playerid][PlayerBanido] = DOF2_GetInt(PlayerArchive(playerid), "Banido");
SetPlayerScore(playerid, DOF2_GetInt(PlayerArchive(playerid), "Score"));
}
stock SalvarDados(playerid)
{
DOF2_SetInt(PlayerArchive(playerid), "Grana", GetPlayerMoney(playerid));
DOF2_SetInt(PlayerArchive(playerid), "Administrador", Informacoes[playerid][PlayerAdmin]);
DOF2_SetInt(PlayerArchive(playerid), "Score", GetPlayerScore(playerid));
DOF2_SetInt(PlayerArchive(playerid), "Kills", Informacoes[playerid][PlayerKills]);
DOF2_SetInt(PlayerArchive(playerid), "Morreu", Informacoes[playerid][PlayerDeaths]);
DOF2_SetInt(PlayerArchive(playerid), "Banido", Informacoes[playerid][PlayerBanido]);
SetPlayerScore(playerid, DOF2_GetInt(PlayerArchive(playerid), "Score"));
DOF2_SaveFile();
return 1;
}
@edit esqueci de coloca eu coloquei o DOF2_Exit (); sim