SA-MP Forums

Go Back   SA-MP Forums > Non-English > Languages > Français/French

Reply
 
Thread Tools Display Modes
Old 14/05/2012, 01:35 PM   #1
Meridow
Little Clucker
 
Join Date: May 2012
Posts: 42
Reputation: 0
Default Erreur Compilation

Salut quand je compile j'ai un petit problème j'ai des erreurs et je ne c'est pas les résoudre ...
Voici ces erreurs :
(1376) : error 017: undefined symbol "GmText"
(1995) : error 017: undefined symbol "TEMPO_RESPAWN_AUTO"
(1996) : error 017: undefined symbol "TEMPO_RESPAWN_AUTO"
(1997) : error 017: undefined symbol "TEMPO_RESPAWN_AUTO"
(199 : error 017: undefined symbol "TEMPO_RESPAWN_AUTO"
(1999) : error 017: undefined symbol "TEMPO_RESPAWN_AUTO"
(2000) : error 017: undefined symbol "TEMPO_RESPAWN_AUTO"
(2002) : error 017: undefined symbol "TEMPO_RESPAWN_AUTO"
(2003) : error 017: undefined symbol "TEMPO_RESPAWN_AUTO"
(2004) : error 017: undefined symbol "TEMPO_RESPAWN_AUTO"
(2005) : error 017: undefined symbol "TEMPO_RESPAWN_AUTO"
(2007) : error 017: undefined symbol "TEMPO_RESPAWN_AUTO"
(200 : error 017: undefined symbol "TEMPO_RESPAWN_AUTO"
(2009) : error 017: undefined symbol "TEMPO_RESPAWN_AUTO"
(2010) : error 017: undefined symbol "TEMPO_RESPAWN_AUTO"
(2012) : error 017: undefined symbol "TEMPO_RESPAWN_AUTO"
(2013) : error 017: undefined symbol "TEMPO_RESPAWN_AUTO"
(2014) : error 017: undefined symbol "TEMPO_RESPAWN_AUTO"
(2015) : error 017: undefined symbol "TEMPO_RESPAWN_AUTO"
(2017) : error 017: undefined symbol "TEMPO_RESPAWN_AUTO"
(201 : error 017: undefined symbol "TEMPO_RESPAWN_AUTO"
(2019) : error 017: undefined symbol "TEMPO_RESPAWN_AUTO"
(2020) : error 017: undefined symbol "TEMPO_RESPAWN_AUTO"
(2021) : error 017: undefined symbol "TEMPO_RESPAWN_AUTO"
(2022) : error 017: undefined symbol "TEMPO_RESPAWN_AUTO"

Voici mon script :
1376 GMName = TextDrawCreate(320.000000, 437.000000, GmText);

1995 elegy_d1_1=CreateVehicle(562,-314.8162,1514.9783,75.0173,0.4179,0,3,TEMPO_RESPAW N_AUTO); // elegy1
elegy_d1_2=CreateVehicle(562,-320.9365,1515.6160,75.0191,359.6992,0,3,TEMPO_RESP AWN_AUTO); // elegy2
elegy_d1_3=CreateVehicle(562,-327.4287,1515.3293,75.0193,0.1457,0,3,TEMPO_RESPAW N_AUTO); // elegy3
elegy_d1_4=CreateVehicle(562,-333.4426,1515.3110,75.0195,359.7414,0,3,TEMPO_RESP AWN_AUTO); // elegy4
elegy_d1_5=CreateVehicle(562,-339.7246,1515.3938,75.0180,359.7698,0,3,TEMPO_RESP AWN_AUTO); // elegy5
elegy_d1_6=CreateVehicle(562,-346.0086,1515.6414,75.0170,0.0015,0,3,TEMPO_RESPAW N_AUTO); // elegy6

sultan_d2_1=CreateVehicle(560,-2392.2998,-607.8143,132.3048,35.0354,1,1,TEMPO_RESPAWN_AUTO); // jester1
sultan_d2_2=CreateVehicle(560,-2397.2959,-611.2857,132.3048,34.7290,6,1,TEMPO_RESPAWN_AUTO); // jester2
flash_d2_1=CreateVehicle(565,-2392.8872,-599.4079,132.2728,125.0736,1,56,TEMPO_RESPAWN_AUTO ); // flash1
flash_d2_2=CreateVehicle(565,-2401.7419,-587.5086,132.2711,126.0859,1,56,TEMPO_RESPAWN_AUTO ); // flash2

elegy_d3_1=CreateVehicle(562,1246.2479,-2041.1329,59.4817,268.5010,0,3,TEMPO_RESPAWN_AUTO) ; // elegy d3 1
elegy_d3_2=CreateVehicle(562,1246.1248,-2030.7529,59.4826,270.2646,1,3,TEMPO_RESPAWN_AUTO) ; // elegy d3 2
elegy_d3_3=CreateVehicle(562,1246.5392,-2022.6560,59.4679,270.1208,3,3,TEMPO_RESPAWN_AUTO) ; // elegy d3 3
elegy_d3_4=CreateVehicle(562,1246.2544,-2015.7302,59.4750,270.2187,6,3,TEMPO_RESPAWN_AUTO) ; // elegy d3 4

elegy_d4_1=CreateVehicle(562,827.4843,-1779.2490,13.9424,195.1938,1,0,TEMPO_RESPAWN_AUTO) ; // elegy_d4_1
elegy_d4_2=CreateVehicle(562,819.0854,-1784.9222,13.9391,227.5191,3,0,TEMPO_RESPAWN_AUTO) ; // elegy_d4_2
elegy_d4_3=CreateVehicle(562,836.7298,-1781.4438,13.9386,153.5798,6,0,TEMPO_RESPAWN_AUTO) ; // elegy_d4_3
elegy_d4_4=CreateVehicle(562,842.5681,-1789.9498,13.9429,115.2471,57,0,TEMPO_RESPAWN_AUTO ); // elegy_d4_4

elegy_d5_1=CreateVehicle(562,2277.8008,-2348.4231,13.2069,250.8365,3,0,TEMPO_RESPAWN_AUTO) ; // elegy_d5_1
elegy_d5_2=CreateVehicle(562,2282.3196,-2353.4907,13.2069,251.6033,3,0,TEMPO_RESPAWN_AUTO) ; // elegy_d5_2
elegy_d5_3=CreateVehicle(562,2286.9304,-2358.6106,13.2065,245.4723,3,0,TEMPO_RESPAWN_AUTO) ; // elegy_d5_3
elegy_d5_4=CreateVehicle(562,2287.6284,-2338.4109,13.2051,202.2799,3,0,TEMPO_RESPAWN_AUTO) ; // elegy_d5_4
elegy_d5_5=CreateVehicle(562,2293.0859,-2343.4016,13.2064,202.8372,3,0,TEMPO_RESPAWN_AUTO) ; // elegy_d5_5
2022 elegy_d5_6=CreateVehicle(562,2298.3066,-2348.5408,13.2065,200.2808,3,0,TEMPO_RESPAWN_AUTO) ; // elegy_d5_6

Merci d'avance pour l'aide
Meridow is offline   Reply With Quote
Old 14/05/2012, 03:09 PM   #2
XDamienX007
High-roller
 
XDamienX007's Avatar
 
Join Date: Jul 2010
Location: France
Posts: 2,255
Reputation: 16
Default Re : Erreur Compilation

GmText
et
TEMPO_RESPAWN_AUTO
ne sont pas assigné.
Tu dois faire un #define ou un new .
__________________
Coder, c'est pas quelque chose que l'on doit percevoir comme chiant, ça doit être une passion avant tout.

Une erreur? Un warning?
Ne posez plus de question inutiles, et visitez d'abord mon tutoriel!
Tout les warnings et les erreurs y sont! (ou presque)

Warnings/Errors list
XDamienX007 is offline   Reply With Quote
Old 14/05/2012, 03:15 PM   #3
Meridow
Little Clucker
 
Join Date: May 2012
Posts: 42
Reputation: 0
Default Re : Erreur Compilation

#define TEMPO_RESPAWN_AUTO avant le script ?
Meridow is offline   Reply With Quote
Old 14/05/2012, 03:39 PM   #4
J@bb@Wockeez
High-roller
 
Join Date: Apr 2012
Location: lbtr.info
Posts: 1,581
Reputation: 14
Default Re: Re : Erreur Compilation

Quote:
Originally Posted by Meridow View Post
#define TEMPO_RESPAWN_AUTO avant le script ?
Fait comme XDamienX à dit fait comme ceci:

pawn Code:
#define TEMPO_RESPAWN_AUTO
new TEMPO_RESPAWN_AUTO

Test l'un des deux. et tu verras si y'a plus d'error.

Et pour le GmText aussi essaye:

pawn Code:
#define GmText
new GmText
J@bb@Wockeez is offline   Reply With Quote
Old 14/05/2012, 03:45 PM   #5
Meridow
Little Clucker
 
Join Date: May 2012
Posts: 42
Reputation: 0
Default Re : Erreur Compilation

Avec new sa fait
new GmText
GMName = TextDrawCreate(320.000000, 437.000000, GmText);
TextDrawAlignment(GMName, 2);
TextDrawBackgroundColor(GMName, -16776961);

Erreurs : (1375) : error 001: expected token: ";", but found "-identifier-"
(1375) : error 035: argument type mismatch (argument 3)

Avec define sa donne ces erreurs :
(1375) : error 029: invalid expression, assumed zero
(1375) : error 035: argument type mismatch (argument 3)
Meridow is offline   Reply With Quote
Old 14/05/2012, 03:47 PM   #6
Meridow
Little Clucker
 
Join Date: May 2012
Posts: 42
Reputation: 0
Default Re : Erreur Compilation

Pour l'autre avec new TEMPO_RESPAWN_AUTO sa marche il reste une erreur celle ci :
(1994) : error 001: expected token: ";", but found "-identifier-"

Script : 1994 elegy_d1_1=CreateVehicle(562,-314.8162,1514.9783,75.0173,0.4179,0,3,TEMPO_RESPAW N_AUTO); // elegy1
Meridow is offline   Reply With Quote
Old 14/05/2012, 04:04 PM   #7
J@bb@Wockeez
High-roller
 
Join Date: Apr 2012
Location: lbtr.info
Posts: 1,581
Reputation: 14
Default Re: Re : Erreur Compilation

Quote:
Originally Posted by Meridow View Post
Pour l'autre avec new TEMPO_RESPAWN_AUTO sa marche il reste une erreur celle ci :
(1994) : error 001: expected token: ";", but found "-identifier-"

Script : 1994 elegy_d1_1=CreateVehicle(562,-314.8162,1514.9783,75.0173,0.4179,0,3,TEMPO_RESPAW N_AUTO); // elegy1
Ici sa serais pas 0.3 (en rouge)? ,0.4179,0,3,TEMPO_RESPAWN_AUTO
J@bb@Wockeez is offline   Reply With Quote
Old 14/05/2012, 04:07 PM   #8
Meridow
Little Clucker
 
Join Date: May 2012
Posts: 42
Reputation: 0
Default Re : Erreur Compilation

Non tous les chiffres sont en bleu.
Meridow is offline   Reply With Quote
Old 14/05/2012, 04:10 PM   #9
J@bb@Wockeez
High-roller
 
Join Date: Apr 2012
Location: lbtr.info
Posts: 1,581
Reputation: 14
Default Re: Erreur Compilation

Essaye de supprimer les ";"
J@bb@Wockeez is offline   Reply With Quote
Old 14/05/2012, 04:17 PM   #10
Meridow
Little Clucker
 
Join Date: May 2012
Posts: 42
Reputation: 0
Default Re : Erreur Compilation

Si j’enlève les ";" j'ai une erreur en plus a la ligne juste en dessous.
Meridow is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Erreur compilation Maxime_Creteur Français/French 2 14/04/2012 07:08 PM
Erreur de compilation Julien Sirasor Français/French 9 23/10/2011 08:51 PM
Erreur de compilation Julien Sirasor Français/French 10 21/10/2011 04:25 PM
Erreur de compilation ! (erreur 029) darreugne Français/French 6 03/02/2011 04:13 PM
Erreur lors de la compilation Denis95FR Français/French 3 02/02/2011 06:02 PM


All times are GMT. The time now is 04:12 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.