GTAOnline.net
San Andreas Multiplayer (sa:mp) => Scripting SA-MP [Pawn center] => Discussion démarrée par: HzT le 03 Avril 2013, 16:09:47
-
Bonjour, je suis donc la pour vous demander de l'aide par rapport a cette grosse erreurs, surtout qu'elle se multiplie de plus en plus :
J'ai donc des multiples fois l'erreur " error 010: invalid function or declaration " :
gamemodes\LV.pwn(15432) : error 010: invalid function or declaration
gamemodes\LV.pwn(15435) : error 010: invalid function or declaration
gamemodes\LV.pwn(15437) : error 010: invalid function or declaration
gamemodes\LV.pwn(15440) : error 010: invalid function or declaration
gamemodes\LV.pwn(15442) : error 010: invalid function or declaration
gamemodes\LV.pwn(15445) : error 010: invalid function or declaration
gamemodes\LV.pwn(15447) : error 010: invalid function or declaration
gamemodes\LV.pwn(15450) : error 010: invalid function or declaration
gamemodes\LV.pwn(15452) : error 010: invalid function or declaration
gamemodes\LV.pwn(15455) : error 010: invalid function or declaration
gamemodes\LV.pwn(15457) : error 010: invalid function or declaration
gamemodes\LV.pwn(15460) : error 010: invalid function or declaration
gamemodes\LV.pwn(15462) : error 010: invalid function or declaration
gamemodes\LV.pwn(15465) : error 010: invalid function or declaration
gamemodes\LV.pwn(15467) : error 010: invalid function or declaration
gamemodes\LV.pwn(15470) : error 010: invalid function or declaration
gamemodes\LV.pwn(15472) : error 010: invalid function or declaration
gamemodes\LV.pwn(15475) : error 010: invalid function or declaration
gamemodes\LV.pwn(15477) : error 010: invalid function or declaration
gamemodes\LV.pwn(15480) : error 010: invalid function or declaration
gamemodes\LV.pwn(15482) : error 010: invalid function or declaration
gamemodes\LV.pwn(15485) : error 010: invalid function or declaration
gamemodes\LV.pwn(15487) : error 010: invalid function or declaration
gamemodes\LV.pwn(15490) : error 010: invalid function or declaration
Voila donc ÉNORMÉMENT d'erreurs qui sont apparus comme sa, srutout que le code n'a pas l'air d'avoir un problèmes :grin:
Le code donc : http://pastebin.com/gpuP1AUr (http://pastebin.com/gpuP1AUr)
Voilà j'attend votre aide car je sais pas vraiment quoi faire si vous trouvez la solution SVP :D
Merci d'avance
-
Et un truc genre s'il vous plaît ?
-
Édité
-
Donnes-nous la portion de code comprise entre les lignes 15400 et 15500. ;)
-
Elle est dans le pastebin.. Ya tout le code
-
Mais comment sommes-nous censés connaître les numéros de lignes ?
-
Il ne serait pas apparu après avoir remplacer ça :
if(pickupid == WEAPON1)
par sa:
if(pickupid == arme1)
?
http://pastebin.com/diff.php?i=gpuP1AUr (http://pastebin.com/diff.php?i=gpuP1AUr)
Edit:
si oui c'est normal il ne fallait pas traduire WEAPON1 par arme1 car WEAPON1 avait surement un define plus haut dans le code qui lui a attribuer un nombre.