Jump to content
  • 0

Erori Script [OnPlayerText.pwn]


Question

Posted

Am tradus toate fisierele din pawno/include dupa care am mers in gamemode si am deschis gamemode-ul cu pawno dupa care am dat compile ca sa am serverul tradus si am primit aceste erori:

C:\Users\Vlad\Desktop\Server ROLEPLAY\pawno\include\/IBP/Publics/OnPlayerText.pwn(134) : error 037: invalid string (possibly non-terminated string)

C:\Users\Vlad\Desktop\Server ROLEPLAY\pawno\include\/IBP/Publics/OnPlayerText.pwn(134) : warning 215: expression has no effect

C:\Users\Vlad\Desktop\Server ROLEPLAY\pawno\include\/IBP/Publics/OnPlayerText.pwn(134) : error 001: expected token: ";", but found "-identifier-"

C:\Users\Vlad\Desktop\Server ROLEPLAY\pawno\include\/IBP/Publics/OnPlayerText.pwn(134) : error 017: undefined symbol "este"

C:\Users\Vlad\Desktop\Server ROLEPLAY\pawno\include\/IBP/Publics/OnPlayerText.pwn(134) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

4 Errors.

Daca mai este nevoie de ceva revin cu EDIT

Sper sa ma puteti ajuta,MULTUMESC

10 answers to this question

Recommended Posts

Posted

Dane si iniile :|

Aici sunt liniile intre 130 si 136 din OnPlayerText

return 0;

}

else

{

SendClientMessage(playerid, COLOR_GREY, "ERROR: 2 este deja folosit);

return 0;

}

Posted

-C:\Users\Vlad\Desktop\Server ROLEPLAY\pawno\include\/IBP/Publics/OnPlayerText.pwn(134) : error 037: invalid string (possibly non-terminated string) Inseamna ca ai uitat " la un string...

SendClientMessage(playerid, COLOR_GREY, "ERROR: 2 este deja folosit);

ar veni

SendClientMessage(playerid, COLOR_GREY, "ERROR: 2 este deja folosit");

-C:\Users\Vlad\Desktop\Server ROLEPLAY\pawno\include\/IBP/Publics/OnPlayerText.pwn(134) : error 001: expected token: ";", but found "-identifier-"(tot de la aceasi chestie cu ")

La toate ii la fel!!!!Vezi ca ai pus [pawn]SendClientMessage(playerid,COLOR_GREY,"ERROR:2 este deja folosit);[/pawn] trebuia sa pui [pawn]SendClientMessage(playerid,COLOR_GREY,"ERROR:2 este deja folosit");[/pawn]

Posted

aceste erori apar cand ai uitat sa inchizi ";" sau niste ghilimele (") ..eroarea nu este la linia asta,mai cobori jos o linie si acolo o sa gasesti lipsa o ; sau ".

Posted

Am rezolvat,Multumesc

Acum primest asta:

C:\Users\Vlad\Desktop\Server ROLEPLAY\pawno\include\/IBP/Publics/OnPlayerText.pwn(989) : error 037: invalid string (possibly non-terminated string)

C:\Users\Vlad\Desktop\Server ROLEPLAY\pawno\include\/IBP/Publics/OnPlayerText.pwn(989) : error 029: invalid expression, assumed zero

C:\Users\Vlad\Desktop\Server ROLEPLAY\pawno\include\/IBP/Publics/OnPlayerText.pwn(989) : error 029: invalid expression, assumed zero

C:\Users\Vlad\Desktop\Server ROLEPLAY\pawno\include\/IBP/Publics/OnPlayerText.pwn(989) : fatal error 107: too many error messages on one line

Liniile 996-999 sunt aici:

return 0;

}

else if ((strcmp("non emergency", tmp, true, strlen(tmp)) == 0) && (strlen(tmp) == strlen("non emergency")))

{

Posted

EDIT:

[PAWN]format(szMessage, 38+MAX_PLAYER_NAME+MAX_PLAYER_NAME+3,"[TESTER] %s a acceptat intrebarea lui %s ", GetPlayerNameEx(playerid), GetPlayerNameEx(iPlayerID), ;

       

format(szMessage, 39+3+MAX_PLAYER_NAME,"Ai primit %d grame de ecstasy de la %s"", iAmount, GetPlayerNameEx(playerid));[/pawn]

Posted

Tu ai pus asa:

[pawn]

format(szMessage, 38+MAX_PLAYER_NAME+MAX_PLAYER_NAME+3,"[TESTER] %s a acceptat intrebarea lui %s ", GetPlayerNameEx(playerid), GetPlayerNameEx(iPlayerID), ;

       

format(szMessage, 39+3+MAX_PLAYER_NAME,"Ai primit %d grame de ecstasy de la %s"", iAmount, GetPlayerNameEx(playerid));

[/pawn]

dar el vine asa:

[pawn]

format(szMessage, 38+MAX_PLAYER_NAME+MAX_PLAYER_NAME+3,"[TESTER] %s a acceptat intrebarea lui %s ", GetPlayerNameEx(playerid), GetPlayerNameEx(iPlayerID)) ;

       

format(szMessage, 39+3+MAX_PLAYER_NAME,"Ai primit %d grame de ecstasy de la %s", iAmount, GetPlayerNameEx(playerid));

[/pawn]

Incearca acm...

EDIT:l-am ajutat!Puteti da T/C!

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.