GTAOnline.net

San Andreas Multiplayer (sa:mp) => Scripting SA-MP [Pawn center] => Discussion démarrée par: Alphonse_Vegas le 30 Décembre 2009, 04:40:05

Titre: [ Probleme ] Campile 1 Error
Posté par: Alphonse_Vegas le 30 Décembre 2009, 04:40:05
Bonjour, probleme compile


code=pawn]
C:\Documents and Settings\Compte\Bureau\Serveur\gamemodes\gta.pwn(12) : fatal error 100: cannot read from file: "formatmsg"

Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Merci
Titre: Re : [ Probleme ] Campile 1 Error
Posté par: ghm94 le 30 Décembre 2009, 04:57:22
Salut,
L'erreur vient du fait que le compilateur n'arrive pas à lire le fichier formatmsg
Titre: Re : Re : [ Probleme ] Campile 1 Error
Posté par: Alphonse_Vegas le 30 Décembre 2009, 04:58:56
Salut,
L'erreur vient du fait que le compilateur n'arrive pas à lire le fichier formatmsg

Salut donc je doit faire quoi, je n'est pas formatmg dans mes include je le trouve ou ?
Titre: Re : [ Probleme ] Campile 1 Error
Posté par: ghm94 le 30 Décembre 2009, 05:00:17
Montre moi la ligne 12 stp
Titre: Re : Re : [ Probleme ] Campile 1 Error
Posté par: Alphonse_Vegas le 30 Décembre 2009, 05:06:21
Montre moi la ligne 12 stp

#include <formatmsg>
Titre: Re : [ Probleme ] Campile 1 Error
Posté par: ghm94 le 30 Décembre 2009, 05:06:57
Si tu la retire du as des erreurs ?
Titre: Re : Re : [ Probleme ] Campile 1 Error
Posté par: Alphonse_Vegas le 30 Décembre 2009, 05:07:38
Si tu la retire du as des erreurs ?

Oui :

Code: (pawn) [Sélectionner]
C:\Documents and Settings\ImzoZ\Bureau\Serveur 2009\gamemodes\gta.pwn(16) : warning 201: redefinition of constant/macro (symbol "MAX_PICKUPS")
C:\Documents and Settings\ImzoZ\Bureau\Serveur 2009\gamemodes\gta.pwn(8944) : warning 217: loose indentation
C:\Documents and Settings\ImzoZ\Bureau\Serveur 2009\gamemodes\gta.pwn(8973) : warning 217: loose indentation
C:\Documents and Settings\ImzoZ\Bureau\Serveur 2009\gamemodes\gta.pwn(16094) : warning 217: loose indentation
C:\Documents and Settings\ImzoZ\Bureau\Serveur 2009\gamemodes\gta.pwn(16101) : warning 217: loose indentation
C:\Documents and Settings\ImzoZ\Bureau\Serveur 2009\gamemodes\gta.pwn(16123) : warning 217: loose indentation
C:\Documents and Settings\ImzoZ\Bureau\Serveur 2009\gamemodes\gta.pwn(16751) : warning 217: loose indentation
C:\Documents and Settings\ImzoZ\Bureau\Serveur 2009\gamemodes\gta.pwn(16851) : warning 217: loose indentation
C:\Documents and Settings\ImzoZ\Bureau\Serveur 2009\gamemodes\gta.pwn(18146) : warning 217: loose indentation
C:\Documents and Settings\ImzoZ\Bureau\Serveur 2009\gamemodes\gta.pwn(18171) : warning 217: loose indentation
C:\Documents and Settings\ImzoZ\Bureau\Serveur 2009\gamemodes\gta.pwn(26603) : warning 217: loose indentation
C:\Documents and Settings\ImzoZ\Bureau\Serveur 2009\gamemodes\gta.pwn(26654) : warning 217: loose indentation
C:\Documents and Settings\ImzoZ\Bureau\Serveur 2009\gamemodes\gta.pwn(27096) : warning 217: loose indentation
C:\Documents and Settings\ImzoZ\Bureau\Serveur 2009\gamemodes\gta.pwn(33399) : error 004: function "NameTimer" is not implemented
C:\Documents and Settings\ImzoZ\Bureau\Serveur 2009\gamemodes\gta.pwn(35642) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
C:\Documents and Settings\ImzoZ\Bureau\Serveur 2009\gamemodes\gta.pwn(38387) : warning 203: symbol is never used: "GetPointDistanceToPointExMorph"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Titre: Re : [ Probleme ] Campile 1 Error
Posté par: ghm94 le 30 Décembre 2009, 05:14:32
Bizarre même sur le forum samp je ne trouve rien sur ce fichier.
C'est quoi les erreurs une fois que ta enlever la ligne 12 ?
Titre: Re : [ Probleme ] Campile 1 Error
Posté par: Alphonse_Vegas le 30 Décembre 2009, 05:16:50
Code: (pawn) [Sélectionner]
C:\Documents and Settings\ImzoZ\Bureau\Serveur 2009\gamemodes\gta.pwn(16) : warning 201: redefinition of constant/macro (symbol "MAX_PICKUPS")
C:\Documents and Settings\ImzoZ\Bureau\Serveur 2009\gamemodes\gta.pwn(8944) : warning 217: loose indentation
C:\Documents and Settings\ImzoZ\Bureau\Serveur 2009\gamemodes\gta.pwn(8973) : warning 217: loose indentation
C:\Documents and Settings\ImzoZ\Bureau\Serveur 2009\gamemodes\gta.pwn(16094) : warning 217: loose indentation
C:\Documents and Settings\ImzoZ\Bureau\Serveur 2009\gamemodes\gta.pwn(16101) : warning 217: loose indentation
C:\Documents and Settings\ImzoZ\Bureau\Serveur 2009\gamemodes\gta.pwn(16123) : warning 217: loose indentation
C:\Documents and Settings\ImzoZ\Bureau\Serveur 2009\gamemodes\gta.pwn(16751) : warning 217: loose indentation
C:\Documents and Settings\ImzoZ\Bureau\Serveur 2009\gamemodes\gta.pwn(16851) : warning 217: loose indentation
C:\Documents and Settings\ImzoZ\Bureau\Serveur 2009\gamemodes\gta.pwn(18146) : warning 217: loose indentation
C:\Documents and Settings\ImzoZ\Bureau\Serveur 2009\gamemodes\gta.pwn(18171) : warning 217: loose indentation
C:\Documents and Settings\ImzoZ\Bureau\Serveur 2009\gamemodes\gta.pwn(26603) : warning 217: loose indentation
C:\Documents and Settings\ImzoZ\Bureau\Serveur 2009\gamemodes\gta.pwn(26654) : warning 217: loose indentation
C:\Documents and Settings\ImzoZ\Bureau\Serveur 2009\gamemodes\gta.pwn(27096) : warning 217: loose indentation
C:\Documents and Settings\ImzoZ\Bureau\Serveur 2009\gamemodes\gta.pwn(33399) : error 004: function "NameTimer" is not implemented
C:\Documents and Settings\ImzoZ\Bureau\Serveur 2009\gamemodes\gta.pwn(35642) : warning 235: public function lacks forward declaration (symbol "OnPlayerPrivmsg")
C:\Documents and Settings\ImzoZ\Bureau\Serveur 2009\gamemodes\gta.pwn(38387) : warning 203: symbol is never used: "GetPointDistanceToPointExMorph"
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase


1 Error.
Titre: Re : [ Probleme ] Campile 1 Error
Posté par: ghm94 le 30 Décembre 2009, 05:29:12
Bon,
loose indentation  :   sa veut dire que ton code est mal aligner/indenter.
function "NameTimer" is not implemented  :   Ta fonction NameTimer n'est pas implémenter dans le code.
symbol is never used: "GetPointDistanceToPointExMorph"  :    Rien de grave, sa te dit juste que GetPointDistanceToPointExMorph est définie mais pas utilisé.
redefinition of constant/macro (symbol "MAX_PICKUPS")   :   Supprime cette ligne car la constante est déja défini dans a_samp.inc.
public function lacks forward declaration (symbol "OnPlayerPrivmsg") : Il faut que tu mette un forward OnPlayerPrivmsg(...) au début de ton GM ( je croit )
Titre: Re : Re : [ Probleme ] Campile 1 Error
Posté par: Ssk le 30 Décembre 2009, 11:15:22
public function lacks forward declaration (symbol "OnPlayerPrivmsg") : Il faut que tu mette un forward OnPlayerPrivmsg(...) au début de ton GM ( je croit )

Supprime car depuis 0.3 il a ete supprimé ^^
Titre: Re : [ Probleme ] Campile 1 Error
Posté par: ghm94 le 30 Décembre 2009, 14:01:48
Ok, va falloir que je me remette a la page question Pawn  :-[