J'ai toujours pas trouvé
A chaque fois que j'y touche y'a plus d'erreur qu'avant
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\SFT.pwn(743) : error 012: invalid function call, not a valid address
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\SFT.pwn(743) : warning 215: expression has no effect
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\SFT.pwn(743) : error 001: expected token: ";", but found ")"
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\SFT.pwn(743) : error 029: invalid expression, assumed zero
C:\Program Files\Rockstar Games\GTA San Andreas\gamemodes\SFT.pwn(743) : fatal error 107: too many error messages on one line
public OnGameModeInit()
{
tAxI_OnGameModeInit();
SetActiveStreamers(true,true,true,false);
MAX_SLOTS = GetMaxPlayers();
SetGameModeText("San Andreas Roleplay");
printf(" ");
printf(" ");
print(">------------------------------------------------");
print("tAxI's Vehicle System Is Initialising, Please Wait...");
printf(">------------------------------------------------");
printf(" ");
SetTimer("FuelDown", RunOutTime, 1);
SetTimer("CheckGas", 500, 1);
SetTimer("Fill", 200, 1);
SetTimer("fillcheck", 100, 1);
SetTimer("BackupInfo",120000,1);
SetTimer("PhoneCut",1000,1);
SetTimer("ScoreUpdate",1000,1);
SetTimer("ctimer",1000,1);
SetTimer("PayDay",PD_TIMER,1);
print(">------------------------------------------------");
vehicount = CountVehicles(V_FILE_LOAD); // <================= ( erreur ligne 743 )
bizcount = CountBusinesses(B_FILE_LOAD);
new vehmes[256];
format(vehmes,sizeof(vehmes),"Verifying %s (Complete) - %d Vehicle Spawns Verified!", V_FILE_LOAD, vehicount);
printf(vehmes);
print(">------------------------------------------------");
printf(" ");
print(">------------------------------------------------");
LoadVehicles();
print(" ");
print(">------------------------------------------------");
for(new c=1;c<=vehicount;c++)
{
sVInfo[c][gas] = GasMax;
new strings[256];
format(strings,sizeof(strings),"Fuelling Up Vehicle ID: %d / Type: %s", c, VehicleName[sVInfo[c][model]-400][0]);
printf(strings);
}
print(">------------------------------------------------");
printf(" ");
print(">------------------------------------------------");
format(tmpname,sizeof(tmpname)," %d Vehicles Were Tuned On Server Load! ",tuned);
printf(" ");
print(">------------------------------------------------");
printf(tmpname);
print(">------------------------------------------------");
format(tmpname,sizeof(tmpname)," %d Vehicles Were Refuelled On Server Load! ",vehicount);
printf(" ");
print(">------------------------------------------------");
printf(tmpname);
print(">------------------------------------------------");
printf(" ");
print(">------------------------------------------------");
print("tAxI's Vehicle System Status - 100% - System Ready...");
print(">------------------------------------------------");
print(" ");
print(" ");
print(">------------------------------------------------");
print("Loading Businesses...Please Wait...");
print(" ");
LoadBusinesses();
for(new i=0;i<20;i++) {
CreateMapIcon(Pickup[0],Pickup[1],Pickup[2],55,250);
}
print(">------------------------------------------------");
new bizmess[256];
format(bizmess,256,"%d Businesses Successfully loaded and created",bizcount);
printf(bizmess);
print(">------------------------------------------------");
printf("");
print(">------------------------------------------------");
print("tAxI's Business System Status - 100% - System Ready...");
print(">------------------------------------------------");
print(" ");
print(" ");
C'est les lignes au alentours au cas ou y'orai des erreurs ici