Jump to content

Question

Posted

Salut SA-MP.ro, am gasit pe NET un  GM, foarte fain si as vrea sa-l rezolv, adica are cateva erori:

Eroare:

[pawn]

(75) : error 010: invalid function or declaration

(76) : error 025: function heading differs from prototype

(77) : error 025: function heading differs from prototype

[/pawn]

And the linies:

[pawn]

Itter_Create(houses, MAX_HOUSES);        //75

Itter_Create(vehicles_War, 40);              //76

Itter_Create(vehicles_TankDM, 10);        //77

[/pawn]

Si a doua problema este asta:

[pawn]

foreachex(vehicles_War, i)

[/pawn]

Error:

[pawn]

(206) : error 017: undefined symbol "vehicles_War@YSII_Ag"

(206) : error 017: undefined symbol "vehicles_War@YSII_Ag"

(206) : error 029: invalid expression, assumed zero

(206) : fatal error 107: too many error messages on one line

[/pawn]

Ajutati-ma va rog. :D

6 answers to this question

Recommended Posts

Posted

Ce este Itter_Create, iar la a doua nu stiu foreach, dar pune foreachex(new vehicles_War, i)

 

1859311972_BANNER-GIREADAcopy-min.thumb.png.48e5e420ae2185dce5b244965a1d2601.png

 

Posted

Ce este Itter_Create, iar la a doua nu stiu foreach, dar pune foreachex(newvehicles_War, i)

Itter_create este :

[pawn]

Itter_Create - Create a new itterator value set.

[/pawn]

Si in RO:

[PAWN]

Itter_Create - Crearea unui nou set de valori itterator.

[/PAWN]

Parca asa tin minte.. E ceva din foreach, daca nu gresesc. :-??

EDIT: Poate  sa pun un nou include de FOREACH ?? Cum crezi va merge?

Am incercat foreachex( new vehicles_War, i);

Dar am:

[pawn]

error 020: invalid symbol name ""

(206) : error 029: invalid expression, assumed zero

(206) : warning 215: expression has no effect

(206) : error 001: expected token: ";", but found "]"

(206) : fatal error 107: too many error messages on one line

[/pawn]

Posted

foreach (newvehicles_War : i)

Nu stiu daca este corect, dar uite cum am pus eu:

[pawn]

foreach (new vehicles_War : i)

[/pawn]

Si am aceste erori:

[pawn]

(205) : error 017: undefined symbol "i@YSII_Ag"

(205) : error 017: undefined symbol "i@YSII_Ag"

(205) : error 029: invalid expression, assumed zero

(205) : fatal error 107: too many error messages on one line

[/pawn]

Posted

Anakin" post="143785" timestamp="1369486967"]

Citeste aici http://forum.sa-mp.com/showthread.php?p=1500611

Am facut cum a zis Y_Less, dar nu merge, imi da eroare tot la:

[pawn]

i@YSII_Ag[/pawn]

Guest
This topic is now closed to further replies.
  • 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.