SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Português/Portuguese

Reply
 
Thread Tools Display Modes
Old 28/04/2010, 11:09 PM   #1
Phoenix_Br
Little Clucker
 
Join Date: Feb 2010
Posts: 38
Reputation: 0
Default [Ajuda] erro

Code:
gangMembers[i][0] = playerid;
format(string, sizeof(string),"[DraKoN's Server]: Crias-te o gang '%s' (id: %d)", gangNames[i], i);
SendClientMessage(playerid, COLOR_RED, string);
dini_IntSet("gangs.ini",PlayerName(playerid),gangNames(playerid));
como arrumo ese erro ?


testes.pwn(532) : error 012: invalid function call, not a valid address
testes.pwn(532) : warning 215: expression has no effect
testes.pwn(532) : error 001:error 001: expected token: ";", but found ")"
testes.pwn(532) : error 029: invalid expression, assumed zero
testes.pwn(532) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


4 Errors.
Phoenix_Br is offline   Reply With Quote
Old 28/04/2010, 11:14 PM   #2
ipsBruno
Banned
 
Join Date: Apr 2010
Location: Brazil, Caxias RS
Posts: 6,159
Reputation: 483
Default Re: [Ajuda] erro

Qual Seria a Linha do Erro Especificadamente?
Provavelmente é Problema Aqui

pawn Code:
dini_IntSet("gangs.ini",PlayerName(playerid),gangNames(playerid));

Tente Deletar dai Fala o que que dá

Porque meu Nome ta ali?
ipsBruno is offline   Reply With Quote
Old 28/04/2010, 11:20 PM   #3
Phoenix_Br
Little Clucker
 
Join Date: Feb 2010
Posts: 38
Reputation: 0
Default Re: [Ajuda] erro

to usando o sistema de gang traduzido seu, o meu ta bugado xD , aew eu deleto ai compila normal
Phoenix_Br is offline   Reply With Quote
Old 28/04/2010, 11:27 PM   #4
ipsBruno
Banned
 
Join Date: Apr 2010
Location: Brazil, Caxias RS
Posts: 6,159
Reputation: 483
Default Re: [Ajuda] erro

Mas para Salvar não é assim não
Vou te Dar um Exemplo

La nu Meu FS Tem
Procura
pawn Code:
igangMembers[i][0] = playerid;

Então Desse Algumas Linhas 4 ou 5 Terá
pawn Code:
playerGang[playerid]=i;
Logo Abaixo disto coloque
pawn Code:
//--------SAVEGANG----------------------------------------
new player[MAX_PLAYERS];
GetPlayerName(playerid,player,sizeof(player));
new File:GangFile;
format(string, sizeof(string), "%s", player);                  
GangFile = fopen(string, io_append);
new var[32];
format(var, 32, "Gang: %s, %d \r\n",gangNames[i],gangInfo[i][0]=1);
fwrite(GangFile, var);
fclose(GangFile);
//-------SAVEGANG------------------------------------------
ipsBruno is offline   Reply With Quote
Old 28/04/2010, 11:30 PM   #5
Phoenix_Br
Little Clucker
 
Join Date: Feb 2010
Posts: 38
Reputation: 0
Default Re: [Ajuda] erro

porem não salva, eu ja tive essa cod, aparace gang =
e se funcionace iria faltar a função de carregar a gang.
Phoenix_Br is offline   Reply With Quote
Old 28/04/2010, 11:31 PM   #6
ipsBruno
Banned
 
Join Date: Apr 2010
Location: Brazil, Caxias RS
Posts: 6,159
Reputation: 483
Default Re: [Ajuda] erro

Quote:
Originally Posted by Phoenix Encoder´s
porem não salva, eu ja tive essa cod, aparace gang =
e se funcionace iria faltar a função de carregar a gang.
Ele Carrega Sim

pawn Code:
GangFile = fopen(string, io_append);

Tente Novamente Talvez Dê Certo Amigo...

ipsBruno is offline   Reply With Quote
Old 28/04/2010, 11:55 PM   #7
Phoenix_Br
Little Clucker
 
Join Date: Feb 2010
Posts: 38
Reputation: 0
Default Re: [Ajuda] erro

como crio a função de caarregar a gang ?
Phoenix_Br is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[AJUDA] Erro 017 Dan_hp Português/Portuguese 1 08/05/2010 10:06 AM
[AJUDA] Erro 001 Dan_hp Português/Portuguese 2 08/05/2010 03:24 AM
[Ajuda]Erro vitor_santos Português/Portuguese 15 31/03/2010 06:03 PM
[DUV] /[ERRO]Ajuda erro continua :( Regalado_xD Português/Portuguese 5 12/02/2010 05:48 PM
[AJUDA] MySQL erro, ajuda aqui !!! (HURGENTE) rannyere Português/Portuguese 3 12/02/2010 05:46 PM


All times are GMT. The time now is 10:28 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.