[Ajuda] GM do BVV!
#1

Ai ai, aqui estou novamente pedindo ajuda a voces Bem baixei o GM Brasil Vida Virtual e deu 4 erros

pawn Код:
C:\Users\Cliente\Desktop\Meu Servidor\gamemodes\BVV.pwn(12750) : error 017: undefined symbol "StrToInt"
C:\Users\Cliente\Desktop\Meu Servidor\gamemodes\BVV.pwn(12755) : error 017: undefined symbol "StrToInt"
C:\Users\Cliente\Desktop\Meu Servidor\gamemodes\BVV.pwn(12761) : error 017: undefined symbol "StrToInt"
C:\Users\Cliente\Desktop\Meu Servidor\gamemodes\BVV.pwn(12762) : error 017: undefined symbol "StrToInt"
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.


Cуdigo Completo:

pawn Код:
if(dialogid == 6740){
if(response == 1){
if(IsNumeric(inputtext) && IsPlayerConnected(StrToInt(inputtext))){
new aname[MAX_PLAYER_NAME];
new string2[256];
GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
new pname[MAX_PLAYER_NAME];
GetPlayerName(StrToInt(inputtext), pname, MAX_PLAYER_NAME);
format(file, sizeof(file), PASTA_CONTAS, aname);
format(file2, sizeof(file2), PASTA_CONTAS, pname);
format(string, sizeof(string), "/Clans/clan%d.ini", dini_Int(file, "Clan"));
if(dini_Int(file2, "SClan") == 0){
format(string2, sizeof(string2), "Vocк foi convidado para entrar no clan:\n%s\nPara Aceitar clique em Aceitar, para recusar clique em Recusar", dini_Get(string, "Nome"));
convt[StrToInt(inputtext)] = dini_Int(file, "Clan");
ShowPlayerDialog(StrToInt(inputtext),6738 , DIALOG_STYLE_MSGBOX, "Convite de Clan", string2, "Aceitar", "Recusar");
SendClientMessage(playerid, Verde, "(~) Convite Enviado!");
} else {
SendClientMessage(playerid, Vermelho, "(~) Este player jб tem clan!");
}
} else {
SendClientMessage(playerid, Vermelho, "(~) ID invбlido!");
}
}
}


Linhas:

pawn Код:
if(IsNumeric(inputtext) && IsPlayerConnected(StrToInt(inputtext))){


pawn Код:
GetPlayerName(StrToInt(inputtext), pname, MAX_PLAYER_NAME);


pawn Код:
convt[StrToInt(inputtext)] = dini_Int(file, "Clan");


pawn Код:
ShowPlayerDialog(StrToInt(inputtext),6738 , DIALOG_STYLE_MSGBOX, "Convite de Clan", string2, "Aceitar", "Recusar");
Reply
#2

Final do GM

pawn Код:
stock StrToInt(string[]) {
return strval(string);
}

stock set(dest[],source[]) {
new count = strlen(source);
new i=0;
for (i=0;i<count;i++) {
dest[i]=source[i];
}
dest[count]=0;
}
Tenta ae

Ainda deve ficar alguns warnings..
Reply
#3

Compiler Vlw + Rep pra vc
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)