[AJUDA] Erros
#1

Galera to tendando salvar meus exp mais ta dando esses erros

Код:
C:\Documents and Settings\thaw\Desktop\0.3d\gamemodes\GW.pwn(153) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\thaw\Desktop\0.3d\gamemodes\GW.pwn(153) : error 029: invalid expression, assumed zero
C:\Documents and Settings\thaw\Desktop\0.3d\gamemodes\GW.pwn(153) : warning 215: expression has no effect
C:\Documents and Settings\thaw\Desktop\0.3d\gamemodes\GW.pwn(166) : error 012: invalid function call, not a valid address
C:\Documents and Settings\thaw\Desktop\0.3d\gamemodes\GW.pwn(166) : warning 215: expression has no effect
C:\Documents and Settings\thaw\Desktop\0.3d\gamemodes\GW.pwn(166) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\thaw\Desktop\0.3d\gamemodes\GW.pwn(166) : error 029: invalid expression, assumed zero
C:\Documents and Settings\thaw\Desktop\0.3d\gamemodes\GW.pwn(166) : fatal error 107: too many error messages on one line
Linha dos erros

OnPlayerConnect
Код:
if(dini_Isset("exp.ini",PlayerName(playerid))) Exp[playerid] = (playerid),dini_Int("exp.ini",PlayerName(playerid)));
OnPlayerDisconnect
Код:
 dini_IntSet("exp.ini",PlayerName(playerid),Exp(playerid));
Ajuda Por favor
Reply
#2

Tira o ; do Fim da linha OnPlayerConnect
Reply
#3

Tirei deu 4 erro

Код:
C:\Documents and Settings\thaw\Desktop\0.3d\gamemodes\GW.pwn(153) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\thaw\Desktop\0.3d\gamemodes\GW.pwn(153) : error 029: invalid expression, assumed zero
C:\Documents and Settings\thaw\Desktop\0.3d\gamemodes\GW.pwn(153 -- 155) : warning 215: expression has no effect
C:\Documents and Settings\thaw\Desktop\0.3d\gamemodes\GW.pwn(155) : error 001: expected token: ";", but found "return"
C:\Documents and Settings\thaw\Desktop\0.3d\gamemodes\GW.pwn(155) : fatal error 107: too many error messages on one line
Esqueci de posta

ongamemodeinit
Код:
if(!fexist("exp.ini")) dini_Create("exp.ini");
Ajuda por favor!
Reply
#4

Tente isso:
pawn Код:
if(!fexist("exp.ini") dini_Create("exp.ini"));
Reply
#5

Fico com erro nessa linha agora

Код:
C:\Documents and Settings\thaw\Desktop\0.3d\gamemodes\GW.pwn(82) : error 001: expected token: ")", but found "-identifier-"
C:\Documents and Settings\thaw\Desktop\0.3d\gamemodes\GW.pwn(82) : error 001: expected token: ";", but found ")"
C:\Documents and Settings\thaw\Desktop\0.3d\gamemodes\GW.pwn(82) : error 029: invalid expression, assumed zero
C:\Documents and Settings\thaw\Desktop\0.3d\gamemodes\GW.pwn(82) : fatal error 107: too many error messages on one line
Ajuda por favor
Reply
#6

Posta linhas do Erros
Reply
#7

posta a linha, 2 linhas acima e 2 linhas abaixo
Reply
#8

As linhas que tao dando erro sгo aquelas que eu postei ali em cima

sгo na OnPlayerConnect
OnPlayerDisconnect
OnGamemodeinit
Reply
#9

Tenta isso ae :
pawn Код:
dini_IntSet("exp.ini",PlayerName(playerid),Exp(playerid);
ou
dini_IntSet("exp.ini",PlayerName(playerid),Exp(playerid))
Reply
#10

Nгo deu, deixa assim mesmo.

Vlw pela ajuda de todos
Obrigado
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)