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
-
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
-
Sa ma fait éxactement pareil, j'avais touché au /aide
ensuite j'ai repris mon GM de secour pour remettre le /aide :D
-
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
-
il le te manque une accolade quelque part
-
+1
-
Bah oué, mais où?
-
cherch aux environ des premier ligne d'ereure ;)
++
-
Moi le debut des mes 26 erreurs ( les même nom d'erreur que lui )
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;
}
-
J'ai rien trouvé..
-
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;
}
-
Moi j'ai pas de problèmes..
J'dois vous montrer touts les lignes où il y a une erreur ou bien?
-
Merci de l'aide mais sa a rien fait
voila les erreurs :
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.
-
il te suffit de traduire les erreures et de les corriger une a une bienvenue dans le codage choper sur samp.com
-
moi c'est différent, c'est toujours les mêmes erreurs et quand je regarde les codes, tout va bien..
-
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
-
Bah j'ai remis le script original de les lignes où y'a les erreurs, mais elles persistent..