22.01.2013, 23:26
eai galera troquei meu /darvip pelo o /darvip do brasil Planet games sу que deu 26 erros quasi todos os mesmo esses erros a baixo
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15332) : error 017: undefined symbol "SCM"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(1533 : error 017: undefined symbol "SCM"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15344) : error 017: undefined symbol "SCM"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15353) : error 017: undefined symbol "SCM"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15364) : error 017: undefined symbol "SCM"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15366) : error 017: undefined symbol "SCM"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15372) : error 017: undefined symbol "KevinSantos"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15374) : error 017: undefined symbol "KevinSantos"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15376) : error 017: undefined symbol "KevinSantos"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(1537 : error 017: undefined symbol "KevinSantos"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15380) : error 017: undefined symbol "KevinSantos"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15382) : error 017: undefined symbol "KevinSantos"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15384) : error 017: undefined symbol "KevinSantos"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15385) : error 017: undefined symbol "KevinSantos"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15392) : error 017: undefined symbol "KevinSantos"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15394) : error 017: undefined symbol "KevinSantos"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15396) : error 017: undefined symbol "KevinSantos"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(1539 : error 017: undefined symbol "KevinSantos"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15400) : error 017: undefined symbol "KevinSantos"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15402) : error 017: undefined symbol "KevinSantos"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15404) : error 017: undefined symbol "KevinSantos"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15406) : error 017: undefined symbol "KevinSantos"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15407) : error 017: undefined symbol "KevinSantos"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15414) : error 017: undefined symbol "KevinSantos"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15416) : error 017: undefined symbol "KevinSantos"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(1541 : error 017: undefined symbol "KevinSantos"
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
26 Errors.
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15332) : error 017: undefined symbol "SCM"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(1533 : error 017: undefined symbol "SCM"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15344) : error 017: undefined symbol "SCM"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15353) : error 017: undefined symbol "SCM"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15364) : error 017: undefined symbol "SCM"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15366) : error 017: undefined symbol "SCM"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15372) : error 017: undefined symbol "KevinSantos"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15374) : error 017: undefined symbol "KevinSantos"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15376) : error 017: undefined symbol "KevinSantos"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(1537 : error 017: undefined symbol "KevinSantos"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15380) : error 017: undefined symbol "KevinSantos"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15382) : error 017: undefined symbol "KevinSantos"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15384) : error 017: undefined symbol "KevinSantos"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15385) : error 017: undefined symbol "KevinSantos"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15392) : error 017: undefined symbol "KevinSantos"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15394) : error 017: undefined symbol "KevinSantos"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15396) : error 017: undefined symbol "KevinSantos"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(1539 : error 017: undefined symbol "KevinSantos"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15400) : error 017: undefined symbol "KevinSantos"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15402) : error 017: undefined symbol "KevinSantos"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15404) : error 017: undefined symbol "KevinSantos"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15406) : error 017: undefined symbol "KevinSantos"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15407) : error 017: undefined symbol "KevinSantos"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15414) : error 017: undefined symbol "KevinSantos"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(15416) : error 017: undefined symbol "KevinSantos"
E:\GTA o servidor\BUL - Dominio Samp\gamemodes\BUL.pwn(1541 : error 017: undefined symbol "KevinSantos"
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
26 Errors.
pawn Code:
if(strcmp(cmd, "/darvip", true) == 0)
{
if(IsPlayerConnected(playerid))
{
if(PlayerInfo[playerid][pAdmin] < 1337)
{
SCM(playerid, COLOR_GRAD1, "Vocк nгo tem autorizaзгo para usar esse comando.");
return 1;
}
VipVaga();
if(VagaSobrando == 0)
{
SCM(playerid, COLOR_GRAD1, "Nгo hб mais vagas na lista use /limparvip primeiro.");
return 1;
}
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SCM(playerid, COLOR_GRAD2, "USE: /darvip [id] [Nivel]");
return 1;
}
new para1;
new level = strval(tmp);
para1 = ReturnUser(tmp);
tmp = strtok(cmdtext, idx);
if(!strlen(tmp))
{
SCM(playerid, COLOR_GRAD2, "USE: /darvip [id] [Nivel]");
return 1;
}
level = strval(tmp);
GetPlayerName(para1, giveplayer, sizeof(giveplayer));
GetPlayerName(playerid, sendername, sizeof(sendername));
if(IsPlayerConnected(para1))
{
if(para1 != INVALID_PLAYER_ID)
{
format(string, sizeof string, "Vocк deu VIP Nнvel %d para %s", level, giveplayer);
SCM(playerid, COLOR_LIGHTBLUE, string);
format(string, sizeof string, "Vocк ganhou VIP Nнvel %d do admin %s", level, sendername);
SCM(para1, COLOR_LIGHTBLUE, string);
if (level == 1)
{
GivePlayerMoneyEx(playerid, 100000);
PlayerInfo[playerid][pConta] = 200000;
format(string, 128, "{FFFFFF}Vocк Ganhou 200KK em sua conta bancбria.\n");
strcat(KevinSantos,string);
format(string, 128, "{FFFFFF}Vocк Adquiriu + 2 levels.\n");
strcat(KevinSantos,string);
format(string, 128, "{FFFFFF}Obteve o direito ao /kitnormal\n");
strcat(KevinSantos,string);
format(string, 128, "{FFFFFF}Poderб comprar veнculo vip, com o comando /carro comprar.\n");
strcat(KevinSantos,string);
format(string, 128, "{FFFFFF}Tem direito a casas e empresas vip.\n");
strcat(KevinSantos,string);
format(string, 128, "{FFFFFF}E terб seu nome na lista de vips: /vips\n");
strcat(KevinSantos,string);
format(string, 128, "{FFFFFF}Relatorio Com Cores Destacadas de Acordo a Seu Vip que Adquiriu\n");
strcat(KevinSantos,string);
ShowPlayerDialog(para1, 1099, DIALOG_STYLE_MSGBOX,"{FFFFFF}Vocк Adquiriu {00FF15}VIP Bronze", KevinSantos, "OK", "Fechar");
}
else if (level == 2)
{
GivePlayerMoneyEx(playerid, 100000);
PlayerInfo[playerid][pConta] = 200000;
format(string, 128, "{FFFFFF}Vocк Ganhou 400KK em sua conta bancбria.\n");
strcat(KevinSantos,string);
format(string, 128, "{FFFFFF}Vocк Adquiriu + 4 levels.\n");
strcat(KevinSantos,string);
format(string, 128, "{FFFFFF}Obteve o direito ao /kitnormal\n");
strcat(KevinSantos,string);
format(string, 128, "{FFFFFF}Poderб comprar veнculo vip, com o comando /carro comprar.\n");
strcat(KevinSantos,string);
format(string, 128, "{FFFFFF}Tem direito a casas e empresas vip.\n");
strcat(KevinSantos,string);
format(string, 128, "{FFFFFF}E terб seu nome na lista de vips: /vips\n");
strcat(KevinSantos,string);
format(string, 128, "{FFFFFF}Relatorio Com Cores Destacadas de Acordo a Seu Vip que Adquiriu\n");
strcat(KevinSantos,string);
format(string, 128, "{FFFFFF}E Terб Acйsso a Ilha VIP !\n");
strcat(KevinSantos,string);
ShowPlayerDialog(para1, 3399, DIALOG_STYLE_MSGBOX,"{FFFFFF}Vocк Adquiriu {ABABA8}VIP Prata", KevinSantos, "OK", "Fechar");
}
else if (level == 3)
{
GivePlayerMoneyEx(playerid, 100000);
PlayerInfo[playerid][pConta] = 800000;
format(string, 128, "{FFFFFF}Vocк Ganhou 800KK em sua conta bancбria.\n");
strcat(KevinSantos,string);
format(string, 128, "{FFFFFF}Vocк Adquiriu + 8 levels.\n");
strcat(KevinSantos,string);
format(string, 128, "{FFFFFF}Obteve o direito ao /kitnormal\n");
strcat(KevinSantos,string);
format(string, 128, "{FFFFFF}Poderб comprar veнculo vip, com o comando /carro comprar.\n");
strcat(KevinSantos,string);
format(string, 128, "{FFFFFF}Tem direito a casas e empresas vip.\n");
strcat(KevinSantos,string);
format(string, 128, "{FFFFFF}E terб seu nome na lista de vips: /vips\n");
strcat(KevinSantos,string);
format(string, 128, "{FFFFFF}Relatorio Com Cores Destacadas de Acordo a Seu Vip que Adquiriu\n");
strcat(KevinSantos,string);
format(string, 128, "{FFFFFF}E Terб Acйsso a Ilha VIP !\n");
strcat(KevinSantos,string);
ShowPlayerDialog(para1, 1199, DIALOG_STYLE_MSGBOX,"{FFFFFF}Vocк Adquiriu {FFF200}VIP Ouro", KevinSantos, "OK", "Fechar");
}
getdate(year, month, day);
gettime(hour,minute,second);
format(string, sizeof(string), "%s deu vip ao %s nнvel %d (%d/%d/%d - %d:%d)",sendername,giveplayer,level,day, month, year,hour, minute);
VipsLog(string);
PlayerInfo[para1][pVIP] = level;
new var03 = 0;
for(new i = 0; i < sizeof(VipInfo); i++)
{
if(strcmp(giveplayer,VipInfo[i][vNick],true)==0)
{
VipInfo[i][vTipo] = level;
SaveVip();
var03 = 1;
break;
}
}
if(var03 == 0)
{
for(new i = 0; i < sizeof(VipInfo); i++)
{
if(strcmp("Ninguem",VipInfo[i][vNick],true)==0)
{
strmid(VipInfo[i][vNick], giveplayer, 0, strlen(giveplayer), 255);
VipInfo[i][vTipo] = level;
SaveVip();
break;
}
}
}
}
}
}
return 1;
}