Jump to content
  • 0

Eroare la Compilarea PWN to AMX


Guest Oxygen

Question

Guest Oxygen

Va rog sa ma scuzati daca nu am postat unde trebuie si daca este necesar sa mutati topicul in locul potrivit!!!

Imi da o eroare can vreau sa Compilez PWN in AMX dupa cum spune si titlul

_________________________________________________________________________________________________

C:\SAMP Server\gamemodes\gf.pwn(4956) : error 001: expected token: "-string end-", but found "-identifier-"

C:\SAMP Server\gamemodes\gf.pwn(4956) : error 017: undefined symbol "ciudati"

C:\SAMP Server\gamemodes\gf.pwn(4956) : warning 215: expression has no effect

C:\SAMP Server\gamemodes\gf.pwn(4956) : error 001: expected token: ";", but found ")"

C:\SAMP Server\gamemodes\gf.pwn(4956) : fatal error 107: too many error messages on one line

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

4 Errors.

____________________ :-X__________________________________ :-X_____________________________________

Link to comment
Share on other sites

13 answers to this question

Recommended Posts

  • 0
Guest Oxygen

am sters  " dar imi da alta eroare, mai multe de fapt::

EDIT:::

_____________________________

C:\SAMP Server\gamemodes\gf.pwn(4980) : warning 217: loose indentation

C:\SAMP Server\gamemodes\gf.pwn(5709) : error 047: array sizes do not match, or destination array is too small

Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

1 Error.

_____________________________

Linile erorilor:

4980| else if(TutTime == 16)

5709| else if(PlayerInfo[targetid][pOrigin] == 3) { otext = "LV-pentru LasVentura"; }

Link to comment
Share on other sites

  • 0
Guest mihai97

50009-50012| SendClientMessage(i, COLOR_YELLOW2, "4. Nu ai voie sa stai AFK(away from keyboard), sa faci spam si sa ai mai multe conturi pe server!");

                 SendClientMessage(i, COLOR_YELLOW2, "Fiind un mod Role-Play(RPG) pe acest server este SRICT INTERZIS Drive By-ul(DB), Death-Match-ul(DM) EXCESIV/AIUREA cat si DM-ul in zona garii SanFiero(SF)");

                 SendClientMessage(i, COLOR_YELLOW2, "Nu uitati de FORUM: <> - mai multe informatii acolo");

                 SendClientMessage(i, COLOR_YELLOW2, "Daca incalcati aceste reguli cat si cele de pe forum riscati BAN pe IP.");

Link to comment
Share on other sites

  • 0

Linile erorilor:

4980| else if(TutTime == 16)

50009-50012| SendClientMessage(i, COLOR_YELLOW2, "4. Nu ai voie sa stai AFK(away from keyboard), sa faci spam si sa ai mai multe conturi pe server!"

        SendClientMessage(i, COLOR_YELLOW2, "Fiind un mod Role-Play(RPG) pe acest server este SRICT INTERZIS Drive By-ul(DB), Death-Match-ul(DM) EXCESIV/AIUREA cat si DM-ul in zona garii SanFiero(SF)"

        SendClientMessage(i, COLOR_YELLOW2, "Nu uitati de FORUM: <> - mai multe informatii acolo"

        SendClientMessage(i, COLOR_YELLOW2, "Daca incalcati aceste reguli cat si cele de pe forum riscati BAN pe IP."

SendClientMessage(i, COLOR_YELLOW2, "4. Nu ai voie sa stai AFK(away from keyboard), sa faci spam si sa ai mai multe conturi pe server!");

       SendClientMessage(i, COLOR_YELLOW2, "Fiind un mod Role-Play(RPG) pe acest server este SRICT INTERZIS Drive By-ul(DB), Death-Match-ul(DM) EXCESIV/AIUREA cat si DM-ul in zona garii SanFiero(SF)");

       SendClientMessage(i, COLOR_YELLOW2, "Nu uitati de FORUM: <> - mai multe informatii acolo");

       SendClientMessage(i, COLOR_YELLOW2, "Daca incalcati aceste reguli cat si cele de pe forum riscati BAN pe IP.");

Link to comment
Share on other sites

  • 0
Guest Oxygen

da am vazut ca am uitat sa pun ); :)) neatentia si oboseala ca l-am modificat aseara pe la 2jumate dar la linia 4980 si 5709 de ce imi da eroare?:|

Link to comment
Share on other sites

  • 0
Guest Oxygen

pt warning pune dupa includeuri #pragma tabsize 0

io asa rezolv alea

nu am inteles :| poti pune tu?:S uite linia: 4980:  else if(TutTime == 16)

Link to comment
Share on other sites

  • 0

pt warning pune dupa includeuri #pragma tabsize 0

io asa rezolv alea

Nu prea este indicat sa folosesti asta.

uite linia: 4980:   else if(TutTime == 16)

Posteaza tot codul unde este else if(TutTime == 16)

logo.png

ATENTIE!!! Nu imi trimiteti mesaje private care au legatura cu scriptingul. NU mai scriptez.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Similar Content

    • By CenzoR
      Salut! Am eroarea asta la compilare
      C:\Users\40723\Desktop\GM\pawno\include\YSI\y_hooks.inc(64) : fatal error 111: user error: Did you do <YSI/y_hooks> instead of the required <YSI\y_hooks>?
      Compilation aborted.
      Pawn compiler 3.10.8              Copyright (c) 1997-2006, ITB CompuPhase

      1 Error.
       
      In GM am trecut includeul tot ce trebuie, dar imi da eroare asta, ma poate ajuta cineva? De la ce este?
    • By D3m0n1K
      am si eu urmatoarea eroare ce as putea sa fac?
       
    • By Laurentiu Florin
      cand dau sa se compileze imi apare asta, cum as putea sa o rezolv?
       

    • By TheGodfather
      Salut, cand vreau sa pornesc serverul in loguri apar urmatoarele.
      [00:04:56] [debug] Server crashed due to an unknown error
      [00:04:56] [debug] Native backtrace:
      [00:04:56] [debug] #0 f62c4f7f in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () in plugins/crashdetect.so
      [00:04:56] [debug] #1 f62bd81d in _ZN11CrashDetect20PrintNativeBacktraceERSoRKN2os7ContextE () in plugins/crashdetect.so
      [00:04:56] [debug] #2 f62bde48 in _ZN11CrashDetect20PrintNativeBacktraceERKN2os7ContextE () in plugins/crashdetect.so
      [00:04:56] [debug] #3 f62bf5dc in _ZN11CrashDetect7OnCrashERKN2os7ContextE () in plugins/crashdetect.so
      [00:04:56] [debug] #4 f62c479f in ?? () in plugins/crashdetect.so
      [00:04:56] [debug] #5 f770d410 in ?? ()
      [00:04:56] [debug] #6 09654178 in ?? ()
      [00:04:56] [debug] #7 08098208 in ?? () in ./samp03svr
      [00:04:56] [debug] #8 080d60e1 in ?? () in ./samp03svr
      [00:04:56] [debug] #9 080a4f0b in ?? () in ./samp03svr
      [00:04:56] [debug] #10 080ab922 in ?? () in ./samp03svr
      [00:04:56] [debug] #11 080aa0fd in ?? () in ./samp03svr
      [00:04:56] [debug] #12 f73ea2d3 in __libc_start_main () in /lib/libc.so.6
      [00:04:56] [debug] Registers:
      [00:04:56] [debug] EAX: 09654178 EBX: f62a27f0 ECX: f62a27f0 EDX: ff9f28ac
      [00:04:56] [debug] ESI: 00000000 EDI: 097b0690 EBP: ff9f2878 ESP: ff9f283c
      [00:04:56] [debug] EIP: 09654178 EFLAGS: 00010246
      [00:04:56] [debug] Stack:
      [00:04:56] [debug] ESP+00000000: f6217676 097b0690 ff9f28ac 00000000
      [00:04:56] [debug] ESP+00000020: 08094f2b 00000000 00000000 00000032
      [00:04:56] [debug] ESP+00000040: 08098208 097b0690 ff9f28ac 00000000
      [00:04:56] [debug] ESP+00000060: 00000000 00000000 00000000 00000000
      [00:04:56] [debug] ESP+00000080: 00000000 00000000 00000000 00000000
      [00:04:56] [debug] ESP+000000a0: 00000000 00000000 f7717b3d f73e3378
      [00:04:56] [debug] ESP+000000c0: f75b6268 00000000 f7730fbc f73d23bc
      [00:04:56] [debug] ESP+000000e0: f7448fc5 00000000 ff9f2950 f75b660c
      [00:04:56] [debug] ESP+00000100: 00000000 00000000 f74ce318 f7597000
      [00:04:56] [debug] ESP+00000120: f7597000 00000660 f75958c0 097ec5f8
      [00:04:56] [debug] ESP+00000140: 00000000 08048950 00000001 f7597000
      [00:04:56] [debug] ESP+00000160: 00000000 00000000 00000000 097ec68c
      [00:04:56] [debug] ESP+00000180: f744514f f7595260 f7595260 097ec5f8
      [00:04:56] [debug] ESP+000001a0: f74446cb 00000005 f7709000 00001000
      [00:04:56] [debug] ESP+000001c0: f7595a34 08049c09 f7731900 00000003
      [00:04:56] [debug] ESP+000001e0: f7445359 097ec5f8 097ec5f8 f75958c0
      [00:04:56] [debug] ESP+00000200: 00000000 f7597000 00001000 f74c7fe6
      [00:04:56] [debug] ESP+00000220: 00000001 097ec5f8 00000000 00000000
      [00:04:56] [debug] ESP+00000240: f744630e 097ec5f8 f401b008 00958024
      [00:04:56] [debug] ESP+00000260: f7436764 00000000 00000000 00958024
      [00:04:56] [debug] ESP+00000280: ff9f2ae0 097ec5f8 f36c3008 ff9f2b38
      [00:04:56] [debug] ESP+000002a0: 097ec5f8 00958024 0808f1e0 00080006
      [00:04:56] [debug] ESP+000002c0: 0015f378 00000038 00003b80 00004568
      [00:04:56] [debug] ESP+000002e0: 00000000 081ca500 081527bb 00000001
      [00:04:56] [debug] ESP+00000300: 080a4f0b 097b0690 081aa7a0 00000068
      [00:04:56] [debug] ESP+00000320: 09656220 09656220 097b0690 ff9f2b88
      [00:04:56] [debug] ESP+00000340: 09656220 09656220 08159b76 ff9f2cc8
      [00:04:56] [debug] ESP+00000360: 08159d0d 00000000 00000000 00000010
      [00:04:56] [debug] ESP+00000380: f768e026 f76e3838 f76da57c f76dbc38
      [00:04:56] [debug] ESP+000003a0: 00663bb1 656d6167 65646f6d f7003531
      [00:04:56] [debug] ESP+000003c0: f7663d20 f76e2d44 f76e2db0 f76f0630
      [00:04:56] [debug] ESP+000003e0: f7653db8 080aa260 00000000 00000000
      [00:04:56] [debug] Loaded modules:
      [00:04:56] [debug] 00000000 - 00187dc3 samp03svr
      [00:04:56] [debug] f770f000 - f770f530 
      [00:04:56] [debug] f7700000 - f77026a4 /lib/libdl.so.2
      [00:04:56] [debug] f76e5000 - f76fead3 /lib/libpthread.so.0
      [00:04:56] [debug] f75f9000 - f76eae88 /lib/libstdc++.so.6
      [00:04:56] [debug] f75b7000 - f75f81f4 /lib/libm.so.6
      [00:04:56] [debug] f759b000 - f75b46f8 /lib/libgcc_s.so.1
      [00:04:56] [debug] f73d0000 - f75a2b73 /lib/libc.so.6
      [00:04:56] [debug] f770e000 - f7731110 /lib/ld-linux.so.2
      [00:04:56] [debug] f73bc000 - f73cb9b4 plugins/sscanf.so
      [00:04:56] [debug] f7018000 - f73c0ac7 plugins/mysql_static.so
      [00:04:56] [debug] f7008000 - f700ed90 /lib/librt.so.1
      [00:04:56] [debug] f64ed000 - f64fe748 /lib/libnss_files.so.2
      [00:04:56] [debug] f62a5000 - f62ed3d4 plugins/crashdetect.so
      [00:04:56] [debug] f61df000 - f62a4740 plugins/streamer.so
      [00:04:56] [debug] f6601000 - f6605d34 /lib/libnss_dns.so.2
      [00:04:56] [debug] f619f000 - f61b7014 /lib/libresolv.so.2
    • By Emanuel
      D:\Server\Gaemode 0\gamemodes\GMMINCEPUT.pwn(73) : error 017: undefined symbol "pSQLID"
      D:\Server\Gaemode 0\gamemodes\GMMINCEPUT.pwn(74) : error 017: undefined symbol "pSQLID"
      Acesta sunt erorile care mile ofera.
      Va rog ajutor
       
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • 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.