SA-MP Forums Archive
fatal error 107: too many error messages on one line - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: fatal error 107: too many error messages on one line (/showthread.php?tid=606129)



fatal error 107: too many error messages on one line - StackedPizza - 30.04.2016

_removed_


Re: fatal error 107: too many error messages on one line - N0FeaR - 30.04.2016

Try this.


PHP код:
CMD:destroycars(playerid,params[])
{
    for(new 
i=0ipInfo[playerid][SpawnedCarsi++)
    {
         
DestroyVehicle(pInfo[playerid][Cars][i]);
    }
    
pInfo[playerid][SpawnedCars] = 0;
    
CommandToAdmins(playerid,"destroycars");
    
SendClientMessage(playerid,yellow,"You have deleted all cars that you spawned!");
    return 
1;




Re: fatal error 107: too many error messages on one line - StackedPizza - 30.04.2016

_removed_


Re: fatal error 107: too many error messages on one line - Sawalha - 30.04.2016

it's the comma

just remove the comma in the middle:
DestroyVehicle(pInfo[playerid][Cars][i]);


Re: fatal error 107: too many error messages on one line - OmegaKiller72 - 30.04.2016

DestroyVehicle(pInfo[playerid][Cars][i]);


Re: fatal error 107: too many error messages on one line - StackedPizza - 30.04.2016

_removed_


Re: fatal error 107: too many error messages on one line - OmegaKiller72 - 30.04.2016

show line 3876


Re: fatal error 107: too many error messages on one line - StackedPizza - 30.04.2016

_removed_


Re: fatal error 107: too many error messages on one line - Sawalha - 30.04.2016

well, can you show me the pInfo array's enum? i mean the enum which you associated with pInfo array


Re: fatal error 107: too many error messages on one line - StackedPizza - 30.04.2016

-removed-