GTAOnline.net
San Andreas Multiplayer (sa:mp) => Scripting SA-MP [Pawn center] => Discussion démarrée par: leptiroman le 14 Juin 2009, 20:28:14
-
voila je vien d'installer le FS avec le vmenu je compile et,...
\tAxI_XVM.pwn(1650) : error 025: function heading differs from prototype
\tAxI_XVM.pwn(1658) : error 025: function heading differs from prototype
\tAxI_XVM.pwn(1666) : error 025: function heading differs from prototype
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
3 Errors.
voici mes lignes .
public OnVehicleMod(vehicleid,componentid)
{
if(onsys[vehicleid] == 1) {
SaveComponent(vehicleid,componentid);
}
return 1;
}
public OnVehiclePaintjob(vehicleid,paintjobid)
{
if(onsys[vehicleid] == 1) {
SavePaintjob(vehicleid,paintjobid);
}
return 1;
}
public OnVehicleRespray(vehicleid,color1,color2)
{
if(onsys[vehicleid] == 1) {
SaveColors(vehicleid,color1,color2);
}
return 1;
}
-
Tes forwards sont de l'ancienne version remplace les par ceux qui sont sur a_samp.inc
Azz 8)
-
o quel con!, plus pensé a ça !
Merci azz
lol que ferai-je sans toi :)
-
Derien.
Azz 8)
-
salut,
Tes forwards sont de l'ancienne version remplace les par ceux qui sont sur a_samp.inc
comment puis-je faire cela???
-
Enfaite depuis le changement à la version 0.2X les forwards ont changé, donc
forward OnVehicleMod(playerid, vehicleid, componentid);
forward OnVehiclePaintjob(playerid, vehicleid, paintjobid);
forward OnVehicleRespray(playerid, vehicleid, color1, color2);
Tu les remplaces par ceux du /vmenu.
Azz 8)
-
hum je test mais c'est pire j'ai 12 erreurs concrètement je doit faire comment? par ex?
EDITH A NON J'ai compris je pense je test
EDITH 2:
C:\PROGRA~1\ROCKST~1\GTASAN~1\LEPTIR~1\FILTER~1\tAxI_XVM.pwn(1651) : error 055: start of function body without function header
C:\PROGRA~1\ROCKST~1\GTASAN~1\LEPTIR~1\FILTER~1\tAxI_XVM.pwn(1652) : error 010: invalid function or declaration
C:\PROGRA~1\ROCKST~1\GTASAN~1\LEPTIR~1\FILTER~1\tAxI_XVM.pwn(1654) : error 054: unmatched closing brace ("}")
C:\PROGRA~1\ROCKST~1\GTASAN~1\LEPTIR~1\FILTER~1\tAxI_XVM.pwn(1655) : error 010: invalid function or declaration
C:\PROGRA~1\ROCKST~1\GTASAN~1\LEPTIR~1\FILTER~1\tAxI_XVM.pwn(1659) : error 055: start of function body without function header
C:\PROGRA~1\ROCKST~1\GTASAN~1\LEPTIR~1\FILTER~1\tAxI_XVM.pwn(1660) : error 010: invalid function or declaration
C:\PROGRA~1\ROCKST~1\GTASAN~1\LEPTIR~1\FILTER~1\tAxI_XVM.pwn(1662) : error 054: unmatched closing brace ("}")
C:\PROGRA~1\ROCKST~1\GTASAN~1\LEPTIR~1\FILTER~1\tAxI_XVM.pwn(1663) : error 010: invalid function or declaration
C:\PROGRA~1\ROCKST~1\GTASAN~1\LEPTIR~1\FILTER~1\tAxI_XVM.pwn(1667) : error 055: start of function body without function header
C:\PROGRA~1\ROCKST~1\GTASAN~1\LEPTIR~1\FILTER~1\tAxI_XVM.pwn(1668) : error 010: invalid function or declaration
C:\PROGRA~1\ROCKST~1\GTASAN~1\LEPTIR~1\FILTER~1\tAxI_XVM.pwn(1670) : error 054: unmatched closing brace ("}")
C:\PROGRA~1\ROCKST~1\GTASAN~1\LEPTIR~1\FILTER~1\tAxI_XVM.pwn(1671) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
12 Errors.
-
C'est pas les forward qu'il faut changer mes les public ;)
-
je change que les public alors?
EDTH: apres avoir changer queles public voici les erreurs :
C:\PROGRA~1\ROCKST~1\GTASAN~1\LEPTIR~1\FILTER~1\tAxI_XVM.pwn(1651) : error 055: start of function body without function header
C:\PROGRA~1\ROCKST~1\GTASAN~1\LEPTIR~1\FILTER~1\tAxI_XVM.pwn(1652) : error 010: invalid function or declaration
C:\PROGRA~1\ROCKST~1\GTASAN~1\LEPTIR~1\FILTER~1\tAxI_XVM.pwn(1654) : error 054: unmatched closing brace ("}")
C:\PROGRA~1\ROCKST~1\GTASAN~1\LEPTIR~1\FILTER~1\tAxI_XVM.pwn(1655) : error 010: invalid function or declaration
C:\PROGRA~1\ROCKST~1\GTASAN~1\LEPTIR~1\FILTER~1\tAxI_XVM.pwn(1659) : error 055: start of function body without function header
C:\PROGRA~1\ROCKST~1\GTASAN~1\LEPTIR~1\FILTER~1\tAxI_XVM.pwn(1660) : error 010: invalid function or declaration
C:\PROGRA~1\ROCKST~1\GTASAN~1\LEPTIR~1\FILTER~1\tAxI_XVM.pwn(1662) : error 054: unmatched closing brace ("}")
C:\PROGRA~1\ROCKST~1\GTASAN~1\LEPTIR~1\FILTER~1\tAxI_XVM.pwn(1663) : error 010: invalid function or declaration
C:\PROGRA~1\ROCKST~1\GTASAN~1\LEPTIR~1\FILTER~1\tAxI_XVM.pwn(1667) : error 055: start of function body without function header
C:\PROGRA~1\ROCKST~1\GTASAN~1\LEPTIR~1\FILTER~1\tAxI_XVM.pwn(1668) : error 010: invalid function or declaration
C:\PROGRA~1\ROCKST~1\GTASAN~1\LEPTIR~1\FILTER~1\tAxI_XVM.pwn(1670) : error 054: unmatched closing brace ("}")
C:\PROGRA~1\ROCKST~1\GTASAN~1\LEPTIR~1\FILTER~1\tAxI_XVM.pwn(1671) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
12 Errors.
-
moi j'ai changer les forward et j'ai plus d'erreur enfaite fait enlever les ";" de devant les
forward OnVehicleMod(playerid, vehicleid, componentid);
forward OnVehiclePaintjob(playerid, vehicleid, paintjobid);
forward OnVehicleRespray(playerid, vehicleid, color1, color2);
autre sujet :
les voiture sont lock comment faire pour les unlock?? svp
-
C'est les forward et les public.
Azz 8)
-
Les forward faut les viré vu qu'il sont deja dans l'include a_samp
-
Sans les virés sa marche aussi.
Azz 8)
-
sa me soule toute faon j'aime pas le vmenu trop de beug avec
PS : vous avez pas un autre truque pour vendre les voiture pas trop difficile sil vous plait
-
L'include de Mrfredo.
Azz 8)
-
quelle include??
-
regarde la partie shoroom ;)
-
http://www.gtaonline.fr/forums/index.php/topic,6280.0.html (http://www.gtaonline.fr/forums/index.php/topic,6280.0.html)
Azz 8)
-
Merci gg pour la gestion, je l'utilise en FS comment ajouter des véhicule en vente??
-
/rcon login [mdp] ensuite /veh [id] ensuite /vehsave
Azz 8)
-
quand je chage les 2 voici :
C:\Program Files\Rockstar Games\GTA San Andreas\le ptiroman\filterscripts\tAxI_XVM.pwn(1651) : error 055: start of function body without function header
C:\Program Files\Rockstar Games\GTA San Andreas\le ptiroman\filterscripts\tAxI_XVM.pwn(1652) : error 010: invalid function or declaration
C:\Program Files\Rockstar Games\GTA San Andreas\le ptiroman\filterscripts\tAxI_XVM.pwn(1654) : error 054: unmatched closing brace ("}")
C:\Program Files\Rockstar Games\GTA San Andreas\le ptiroman\filterscripts\tAxI_XVM.pwn(1655) : error 010: invalid function or declaration
C:\Program Files\Rockstar Games\GTA San Andreas\le ptiroman\filterscripts\tAxI_XVM.pwn(1659) : error 055: start of function body without function header
C:\Program Files\Rockstar Games\GTA San Andreas\le ptiroman\filterscripts\tAxI_XVM.pwn(1660) : error 010: invalid function or declaration
C:\Program Files\Rockstar Games\GTA San Andreas\le ptiroman\filterscripts\tAxI_XVM.pwn(1662) : error 054: unmatched closing brace ("}")
C:\Program Files\Rockstar Games\GTA San Andreas\le ptiroman\filterscripts\tAxI_XVM.pwn(1663) : error 010: invalid function or declaration
C:\Program Files\Rockstar Games\GTA San Andreas\le ptiroman\filterscripts\tAxI_XVM.pwn(1667) : error 055: start of function body without function header
C:\Program Files\Rockstar Games\GTA San Andreas\le ptiroman\filterscripts\tAxI_XVM.pwn(1668) : error 010: invalid function or declaration
C:\Program Files\Rockstar Games\GTA San Andreas\le ptiroman\filterscripts\tAxI_XVM.pwn(1670) : error 054: unmatched closing brace ("}")
C:\Program Files\Rockstar Games\GTA San Andreas\le ptiroman\filterscripts\tAxI_XVM.pwn(1671) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
12 Errors.