GTAOnline.net

San Andreas Multiplayer (sa:mp) => Scripting SA-MP [Pawn center] => Discussion démarrée par: Oscar le 07 Mars 2010, 18:27:34

Titre: Problème inconnu..
Posté par: Oscar le 07 Mars 2010, 18:27:34
Bonsoir,

Depuis ma dernière compilation, j'ai 26 erreurs.. Mais je ne sais pas d'où viennent ces erreurs puisque je n'ai rien modifié..

C:\xampp\htdocs\stats\Serveur\gamemodes\larp.pwn(1812) : error 017: undefined symbol "SafeGivePlayerMoney"
C:\xampp\htdocs\stats\Serveur\gamemodes\larp.pwn(1841) : error 017: undefined symbol "SafeGivePlayerMoney"
C:\xampp\htdocs\stats\Serveur\gamemodes\larp.pwn(1877) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\xampp\htdocs\stats\Serveur\gamemodes\larp.pwn(1878) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\xampp\htdocs\stats\Serveur\gamemodes\larp.pwn(1905) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\xampp\htdocs\stats\Serveur\gamemodes\larp.pwn(3294) : error 017: undefined symbol "SafeGivePlayerMoney"
C:\xampp\htdocs\stats\Serveur\gamemodes\larp.pwn(3351) : error 017: undefined symbol "SaveAccount"
C:\xampp\htdocs\stats\Serveur\gamemodes\larp.pwn(3552) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\xampp\htdocs\stats\Serveur\gamemodes\larp.pwn(3553) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\xampp\htdocs\stats\Serveur\gamemodes\larp.pwn(3925) : error 017: undefined symbol "SafeGivePlayerMoney"
C:\xampp\htdocs\stats\Serveur\gamemodes\larp.pwn(3992) : error 017: undefined symbol "SafeGivePlayerMoney"
C:\xampp\htdocs\stats\Serveur\gamemodes\larp.pwn(4015) : error 017: undefined symbol "SafeGivePlayerMoney"
C:\xampp\htdocs\stats\Serveur\gamemodes\larp.pwn(4016) : error 017: undefined symbol "SafeGivePlayerMoney"
C:\xampp\htdocs\stats\Serveur\gamemodes\larp.pwn(4049) : error 017: undefined symbol "SafeGivePlayerMoney"
C:\xampp\htdocs\stats\Serveur\gamemodes\larp.pwn(4050) : error 017: undefined symbol "SafeGivePlayerMoney"
C:\xampp\htdocs\stats\Serveur\gamemodes\larp.pwn(4070) : error 017: undefined symbol "SafeGivePlayerMoney"
C:\xampp\htdocs\stats\Serveur\gamemodes\larp.pwn(4071) : error 017: undefined symbol "SafeGivePlayerMoney"
C:\xampp\htdocs\stats\Serveur\gamemodes\larp.pwn(4077) : error 017: undefined symbol "SafeGivePlayerMoney"
C:\xampp\htdocs\stats\Serveur\gamemodes\larp.pwn(4078) : error 017: undefined symbol "SafeGivePlayerMoney"
C:\xampp\htdocs\stats\Serveur\gamemodes\larp.pwn(4354) : error 017: undefined symbol "SafeGivePlayerMoney"
C:\xampp\htdocs\stats\Serveur\gamemodes\larp.pwn(4399) : error 017: undefined symbol "SafeGivePlayerMoney"
C:\xampp\htdocs\stats\Serveur\gamemodes\larp.pwn(4407) : error 017: undefined symbol "SafeGivePlayerMoney"
C:\xampp\htdocs\stats\Serveur\gamemodes\larp.pwn(4415) : error 017: undefined symbol "SafeGivePlayerMoney"
C:\xampp\htdocs\stats\Serveur\gamemodes\larp.pwn(4423) : error 017: undefined symbol "SafeGivePlayerMoney"
C:\xampp\htdocs\stats\Serveur\gamemodes\larp.pwn(4431) : error 017: undefined symbol "SafeGivePlayerMoney"
C:\xampp\htdocs\stats\Serveur\gamemodes\larp.pwn(4601) : error 017: undefined symbol "SafeGivePlayerMoney"

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


26 Errors.

Savez vous quoi faire?

Une accolade non fermée? Mais où? :x
Bonne soirée
Titre: Re : Problème inconnu..
Posté par: Alexendro_Torres le 07 Mars 2010, 18:34:49
Sa ma fait éxactement pareil, j'avais touché au /aide
ensuite j'ai repris mon GM de secour pour remettre le /aide :D
Titre: Re : Problème inconnu..
Posté par: Oscar le 07 Mars 2010, 18:40:05
Mais moi, j'ai juste mis une barrière, j'ai eu les erreurs,j'ai enlevé la barrière et j'ai toujours ces foutus problèmes
Titre: Re : Problème inconnu..
Posté par: scott1 le 07 Mars 2010, 18:43:54
il le te manque une accolade quelque part
Titre: Re : Problème inconnu..
Posté par: Mr_C30 le 07 Mars 2010, 18:45:38
+1
Titre: Re : Problème inconnu..
Posté par: Oscar le 07 Mars 2010, 18:47:43
Bah oué, mais où?
Titre: Re : Problème inconnu..
Posté par: Mr_C30 le 07 Mars 2010, 18:55:44
cherch aux environ des premier ligne d'ereure ;)


++
Titre: Re : Problème inconnu..
Posté par: Alexendro_Torres le 07 Mars 2010, 19:04:09
Moi le debut des mes 26 erreurs ( les même nom d'erreur que lui )

Code: (pawn) [Sélectionner]
public ExtortionBiz(bizid, money)
{
    new string[256];
    format(string, sizeof(string), "Personne");
    if(strcmp(BizzInfo[bizid][bExtortion],string, true ) == 0 )
{
    return 0;
}
for(new i = 0; i < MAX_PLAYERS; i++)
{
    if(IsPlayerConnected(i))
    {
        new name[MAX_PLAYER_NAME];
new wstring[MAX_PLAYER_NAME];
GetPlayerName(i, name, sizeof(name));
format(string, sizeof(string), "%s", name);
strmid(wstring, string, 0, strlen(string), 255);
if(strcmp(BizzInfo[bizid][bExtortion] ,wstring, true ) == 0 )
{
    new value = money / 100;
    value = value * 10;
    SafeGivePlayerMoney(i, value);
    BizzInfo[bizid][bTill] -= value;
}
}
}
return 1;
}
public ExtortionSBiz(bizid, money)
}
    new string[256];
    format(string, sizeof(string), "Personne");
    if(strcmp(SBizzInfo[bizid][sbExtortion],string, true ) == 0 )
{
    return 0;
}
Titre: Re : Problème inconnu..
Posté par: Oscar le 07 Mars 2010, 19:11:02
J'ai rien trouvé..
Titre: Re : Problème inconnu..
Posté par: Anonyme le 07 Mars 2010, 19:11:12
Ici ton erreur :

public ExtortionSBiz(bizid, money)
}
    new string[256];
    format(string, sizeof(string), "Personne");
    if(strcmp(SBizzInfo[bizid][sbExtortion],string, true ) == 0 )
   {
       return 0;
   }
Titre: Re : Problème inconnu..
Posté par: Oscar le 07 Mars 2010, 19:13:04
Moi j'ai pas de problèmes..
J'dois vous montrer touts les lignes où il y a une erreur ou bien?
Titre: Re : Problème inconnu..
Posté par: Alexendro_Torres le 07 Mars 2010, 19:14:39
Merci de l'aide mais sa a rien fait
voila les erreurs :

Code: (pawn) [Sélectionner]
C:\Program Files\Rockstar Games\GTA San Andreas\pawno\include\utils.inc(1) : warning 219: local variable "string" shadows a variable at a preceding level
C:\Program Files\Rockstar Games\GTA San Andreas\pawno\include\utils.inc(52) : warning 219: local variable "name" shadows a variable at a preceding level
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(38) : warning 201: redefinition of constant/macro (symbol "ORANGE")
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2277) : warning 219: local variable "string" shadows a variable at a preceding level
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2321) : warning 219: local variable "string" shadows a variable at a preceding level
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2331) : warning 219: local variable "name" shadows a variable at a preceding level
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2332) : warning 219: local variable "wstring" shadows a variable at a preceding level
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2338) : warning 219: local variable "value" shadows a variable at a preceding level
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2340) : error 004: function "SafeGivePlayerMoney" is not implemented
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2348) : error 029: invalid expression, assumed zero
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2348 -- 2349) : warning 215: expression has no effect
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2350) : error 021: symbol already defined: "format"
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2351) : error 010: invalid function or declaration
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2353) : error 010: invalid function or declaration
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2355) : error 010: invalid function or declaration
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2357) : error 010: invalid function or declaration
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2361) : error 021: symbol already defined: "GetPlayerName"
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2364) : error 010: invalid function or declaration
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2367) : error 010: invalid function or declaration
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2368) : warning 218: old style prototypes used with optional semicolumns
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2369) : error 010: invalid function or declaration
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2373) : error 010: invalid function or declaration
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2404) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2405) : error 004: function "SafeGivePlayerWeapon" is not implemented
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2418) : warning 219: local variable "string" shadows a variable at a preceding level
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2419) : warning 219: local variable "name" shadows a variable at a preceding level
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2432) : error 004: function "SafeResetPlayerWeapons" is not implemented
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2525) : warning 219: local variable "string" shadows a variable at a preceding level
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2546) : warning 219: local variable "string" shadows a variable at a preceding level
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2679) : warning 219: local variable "string" shadows a variable at a preceding level
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2698) : warning 219: local variable "name" shadows a variable at a preceding level
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2914) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2925) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2937) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2941) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2953) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2957) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2961) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2965) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2969) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2973) : error 004: function "PlayerToPoint" is not implemented
C:\DOCUME~1\Gaetan\Bureau\Script\larpimer.pwn(2977) : error 004: function "PlayerToPoint" is not implemented

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


26 Errors.
Titre: Re : Problème inconnu..
Posté par: cristab le 07 Mars 2010, 22:16:15
il te suffit de traduire les erreures et de les corriger une a une bienvenue dans le codage choper sur samp.com
Titre: Re : Problème inconnu..
Posté par: Oscar le 07 Mars 2010, 22:23:13
moi c'est différent, c'est toujours les mêmes erreurs et quand je regarde les codes, tout va bien..
Titre: Re : Re : Problème inconnu..
Posté par: scott1 le 08 Mars 2010, 17:33:43
moi c'est différent, c'est toujours les mêmes erreurs et quand je regarde les codes, tout va bien..

Excuse moi mais tu dois mal regarder, PAWNO n'invente pas les erreurs
Titre: Re : Problème inconnu..
Posté par: Oscar le 08 Mars 2010, 20:29:49
Bah j'ai remis le script original de les lignes où y'a les erreurs, mais elles persistent..