Jump to content
  • 0

erroare la compile


Sfinx_17

Question

dc cand bag codul asta in script

if(strcmp(cmd, "/handsup", true) == 0)
{
    SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
    return 1;
}
dc primesc erroarea asta?
C:\PROGRA~1\ROCKST~1\SERVER~1.3AR\GAMEMO~1\Sfinx_17.pwn(302) : error 010: invalid function or declaration
C:\PROGRA~1\ROCKST~1\SERVER~1.3AR\GAMEMO~1\Sfinx_17.pwn(305) : error 010: invalid function or declaration
Pawn compiler 3.2.3664	 	 	Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

normal ca din cauza asta.de la 0.2x upgradeaza la 0.3a

Proiecte:

Hospital Interior-0%(neinceput)

Limo Interior-0%(inceput)

Bank Interior-0%(neinceput)

Bus Interior-0%(inceput)

Plane Interior-0%(neinceput)

Train Interior-0%(neinceput)

Boat Interior-95%(terminat,mici retusuri)

Mini-Scripturi care au fost publicate:

GPS System: http://forum.sa-mp.ro/filter-scripts-and-gamemodes/%28fs%29-gps-system/

Link to comment
Share on other sites

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

    • By VAurel
      Salut, am inceput de la un timp sa cer ajutor prea mult, se pare ca pauza asta mi-a stricat creierul  
      Deci, folosesc gm-ul lui NERS Side-Project, prima versiune, aceea de la care am inceput si eu gm-ul de la "0", am reusit sa adauga mai multe sisteme, etc, si cand am facut banca, mi-am dat seama dupa cateva zile ca la comanda /withdraw pot sa scot cat vreau eu din banca, nu aveam restrictie facuta. Am zis ok, o fac.
      Faza este ca, nu merge, banii sunt stocati printr-o variabila. Folosind un include de BigInt, am incercat o varianta, dar primesc o erroare, nu mai dau de @NERSpe nicaieri, si din cate am inteles, el a editat putin include-ul de BigInt pentru a functiona.
      Link GM : 
      eroare : 
      New-Santos.pwn(1925) : error 033: array must be indexed (variable "GetBigInt")
      Linie Eroare : Comanda intreaga.
      CMD:withdraw(playerid ,params[]) { new amount; if(IsInBank(playerid)) { if(sscanf(params, "d", amount)) return sendUsage(playerid, "/withdraw <Amount of Money>"); if(amount > 999999999) return sendError(playerid, "Nu puteti scoate mai mult de $999.999.999 din banca!"); if(getBank(playerid) > amount) return sendError(playerid, "Nu detineti aceasta suma de bani in banca."); // Linia cu eroarea. removeBank(playerid, amount); giveCash(playerid, amount); SCMf(playerid, COLOR_WHITE, "You have withdrawn ($%s) from bank. New Balance : ($%s).", FormatNumber(amount),FormatBigInt(getBank(playerid))); } else { sendError(playerid, "Nu va aflati intr-o banca!"); } return 1; }  
    • By M4c
      Salutare, după cum zice si titlul, intentionez să deschid un server sa-mp ce rulează pe mysql, și când dau complie la gm, îmi dă eroarea asta.
      C:\Users\i\Desktop\main.pwn(57) : fatal error 100: cannot read from file: "amx\os" Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 1 Error. Am scos acel include, și tot aceași erroare mi-o dă, stie careva cum pot rezolva problema asta? Ms mult ! 
    • By VenoMarius
      ../modules/anti-cheats.pwn(1199) : error 017: undefined symbol "SetPlayerTimerEx_"
      ../modules/anti-cheats.pwn(1913) : error 017: undefined symbol "SetPlayerTimerEx_"
      ../modules/anti-cheats.pwn(3462) : error 017: undefined symbol "SetPlayerTimerEx_"
      ../modules/anticheats.pwn(18) : error 017: undefined symbol "FKicked"
      ../modules/anticheats.pwn(18) : warning 215: expression has no effect
      ../modules/anticheats.pwn(18) : error 001: expected token: ";", but found "]"
      ../modules/anticheats.pwn(18) : error 029: invalid expression, assumed zero
      ../modules/anticheats.pwn(18) : fatal error 107: too many error messages on one line
      Compilation aborted.
      Pawn compiler 3.10.8              Copyright (c) 1997-2006, ITB CompuPhase
       
      includes:
      #include "../modules/anti-cheats.pwn"
      #include "../modules/anticheats.pwn"
       
    • By VenoMarius
      C:\Users\VenoMarius\Desktop\Gamemode - bhard v3\gamemodes\B-HARD.pwn(3192) : error 017: undefined symbol "ABroadCast"
      C:\Users\VenoMarius\Desktop\Gamemode - bhard v3\gamemodes\B-HARD.pwn(3192) : error 017: undefined symbol "ABroadCast"
      C:\Users\VenoMarius\Desktop\Gamemode - bhard v3\gamemodes\B-HARD.pwn(3192) : error 017: undefined symbol "ABroadCast"
      C:\Users\VenoMarius\Desktop\Gamemode - bhard v3\gamemodes\B-HARD.pwn(3192) : error 017: undefined symbol "ABroadCast"
    • By Extr3m3Tr3z
      C:\sampsv\gamemodes\Tuts.pwn(102) : error 001: expected token: ",", but found ";"
      C:\sampsv\gamemodes\Tuts.pwn(147) : error 001: expected token: ",", but found ";"
      C:\sampsv\gamemodes\Tuts.pwn(147) : error 029: invalid expression, assumed zero
      C:\sampsv\gamemodes\Tuts.pwn(147) : warning 215: expression has no effect
      C:\sampsv\gamemodes\Tuts.pwn(147) : error 001: expected token: ";", but found ")"
      C:\sampsv\gamemodes\Tuts.pwn(147) : fatal error 107: too many error messages on one line
       
      Linii:
      102: format(gString, sizeof(gString), "Email setat: %s", (inputtext);
      147:  SCM(playerid, COLOR_DARKRED, gString);
  • 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.