GTAOnline.net
San Andreas Multiplayer (sa:mp) => Scripting SA-MP [Pawn center] => Discussion démarrée par: ang3boy le 04 Septembre 2009, 22:29:51
-
Bonsoir,
Voilà j'ai quelque problème dans ma configuration jespere que vous pourrai me dire d'ou sa viens. :(
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(6567) : warning 202: number of arguments does not match definition
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(6568) : warning 202: number of arguments does not match definition
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(6569) : warning 202: number of arguments does not match definition
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(6570) : warning 202: number of arguments does not match definition
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(6571) : warning 202: number of arguments does not match definition
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(6572) : warning 202: number of arguments does not match definition
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(8277) : warning 217: loose indentation
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(8287) : warning 217: loose indentation
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(8420) : warning 217: loose indentation
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(8455) : warning 217: loose indentation
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(8490) : warning 217: loose indentation
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(8940) : warning 217: loose indentation
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(8958) : warning 217: loose indentation
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(8976) : warning 217: loose indentation
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(8994) : warning 217: loose indentation
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(9012) : warning 217: loose indentation
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(9030) : warning 217: loose indentation
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(9071) : warning 202: number of arguments does not match definition
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(16103) : warning 217: loose indentation
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(16364) : warning 217: loose indentation
-
Met pas ton titre en majuscule, sa rend sourd.
++
Raiden
-
aucun pb d accolade
il faut que tu indente tes lignes ( les alignes ) sinon tu utilise une fonction avec plus ou moins d' argument defini
-
Vous me dites ça mais bon...
Sa me dit pas ce que je doit faire..
-
aucun pb d accolade
il faut que tu indente tes lignes ( les alignes ) sinon tu utilise une fonction avec plus ou moins d' argument defini
Erf j'ai cru que c'était sa >.< faut que je me remette au PAWN :-\
++
Raiden
-
Petit coup d'œil par là : http://www.gtaonline.fr/forums/index.php/topic,6250.0.html (http://www.gtaonline.fr/forums/index.php/topic,6250.0.html)
++
R@f
-
Les erreurs on changer maintenant sais :
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(1692) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(1696) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(1708) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(1712) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(1716) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(1720) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(1724) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(1728) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(1732) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(1744) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(1748) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(1752) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(1756) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(1760) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(1772) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(1776) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(1780) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(1792) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(1796) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(3791) : error 004: function "CrimInRange" is not implemented
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(3921) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(4475) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(4552) : error 004: function "ProxDetector" is not implemented
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(5241) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(5247) : error 004: function "PlayerToPoint" is not implemented
C:\Documents and Settings\AnG3BoY\Mes documents\Mes fichiers reçus\WC-RP.pwn(5253) : error 004: function "PlayerToPoint" is not implemented
-
et la il manque une accolade =)
-
comment ça sais quoi une incolade et comment je la met et ou?
-
Béh a toi de trouver puisque j ai pas le code devant moi Sinon une accolade c 'est ca { ( alt gr + 4 )
-
Salut,
C'est chaud de résoudre ce problème sans regarder tes code .
Met le dans un pastbin pour mieux t'aider ;) .
ClaSh
-
public IsAtClothShop(playerid)
{
if(IsPlayerConnected(playerid))
{
ligne 1692 : if(PlayerToPoint(25.0,playerid,207.5627,-103.7291,1005.2578) || PlayerToPoint(25.0,playerid,203.9068,-41.0728,1001.8047))
{//Binco & Suburban
return 1;
}
else if(PlayerToPoint(30.0,playerid,214.4470,-7.6471,1001.2109) || PlayerToPoint(50.0,playerid,161.3765,-83.8416,1001.8047))
{//Zip & Victim
return 1;
}
}
return 0;
}
public IsAtGasStation(playerid)
{
if(IsPlayerConnected(playerid))
{
if(PlayerToPoint(6.0,playerid,1004.0070,-939.3102,42.1797) || PlayerToPoint(6.0,playerid,1944.3260,-1772.9254,13.3906))
{//LS
return 1;
}
else if(PlayerToPoint(6.0,playerid,-90.5515,-1169.4578,2.4079) || PlayerToPoint(6.0,playerid,-1609.7958,-2718.2048,48.5391))
{//LS
return 1;
}
else if(PlayerToPoint(6.0,playerid,-2029.4968,156.4366,28.9498) || PlayerToPoint(8.0,playerid,-2408.7590,976.0934,45.4175))
{//SF
return 1;
}
else if(PlayerToPoint(5.0,playerid,-2243.9629,-2560.6477,31.8841) || PlayerToPoint(8.0,playerid,-1676.6323,414.0262,6.9484))
{//Between LS and SF
return 1;
}
else if(PlayerToPoint(6.0,playerid,2202.2349,2474.3494,10.5258) || PlayerToPoint(10.0,playerid,614.9333,1689.7418,6.6968))
{//LV
return 1;
}
else if(PlayerToPoint(8.0,playerid,-1328.8250,2677.2173,49.7665) || PlayerToPoint(6.0,playerid,70.3882,1218.6783,18.5165))
{//LV
return 1;
}
else if(PlayerToPoint(8.0,playerid,2113.7390,920.1079,10.5255) || PlayerToPoint(6.0,playerid,-1327.7218,2678.8723,50.0625))
{//LV
return 1;
}
}
return 0;
}
-
Met toute les lignes de ton Game Mod sur sa Pastebin (http://pastebin.com/) :happy .
ClaSh
-
public IsAtGasStation(playerid)
{
if(IsPlayerConnected(playerid))
{
if(PlayerToPoint(6.0,playerid,1004.0070,-939.3102,42.1797) || PlayerToPoint(6.0,playerid,1944.3260,-1772.9254,13.3906))
{//LS
return 1;
}
else if(PlayerToPoint(6.0,playerid,-90.5515,-1169.4578,2.4079) || PlayerToPoint(6.0,playerid,-1609.7958,-2718.2048,48.5391))
{//LS
return 1;
}
else if(PlayerToPoint(6.0,playerid,-2029.4968,156.4366,28.9498) || PlayerToPoint(8.0,playerid,-2408.7590,976.0934,45.4175))
{//SF
return 1;
}
else if(PlayerToPoint(5.0,playerid,-2243.9629,-2560.6477,31.8841) || PlayerToPoint(8.0,playerid,-1676.6323,414.0262,6.9484))
{//Between LS and SF
return 1;
}
else if(PlayerToPoint(6.0,playerid,2202.2349,2474.3494,10.5258) || PlayerToPoint(10.0,playerid,614.9333,1689.7418,6.6968))
{//LV
return 1;
}
else if(PlayerToPoint(8.0,playerid,-1328.8250,2677.2173,49.7665) || PlayerToPoint(6.0,playerid,70.3882,1218.6783,18.5165))
{//LV
return 1;
}
else if(PlayerToPoint(8.0,playerid,2113.7390,920.1079,10.5255) || PlayerToPoint(6.0,playerid,-1327.7218,2678.8723,50.0625))
{//LV
return 1;
}
}
}
return 0;
}
héhé test ca