Author Topic: Cannot spawn more than 25 items  (Read 1005 times)

I cannot spawn more than 25 items. Attempts have been made to fix this such as disabling some addons, changing limit, and debugging. Nothing really shows up and i cannot spawn more than 25 items.

Changing the limits when starting does not work?

Could you post a console log?

you can run this to raise all the limits if your making a gamemode or something

Code: [Select]
function raiseQuotaMax(%start){
    if(%start $= "")
        %start = $Sim::Time;
    if($Sim::Time - %start > 10)
        return;
    $Max::Quota::Misc = 100000;
    $Max::Quota::Item = 100000;
    $Max::Quota::Player = 100000;
    $Max::Quota::Vehicle = 100000;
    $Max::Quota::Schedules = 100000;
    $Max::Quota::Projectile = 100000;
    $Max::Quota::Environment = 100000;
    $Max::MaxPhysVehicles_Total = 100000;
    $Max::MaxPlayerVehicles_Total = 100000;
   
    $Server::Quota::Misc = 100000;
    $Server::Quota::Item = 100000;
    $Server::Quota::Player = 100000;
    $Server::Quota::Vehicle = 100000;
    $Server::Quota::Schedules = 100000;
    $Server::Quota::Projectile = 100000;
    $Server::Quota::Environment = 100000;
    $raiseQuotaMax = schedule(1,0,raiseQuotaMax, %start);
}
raiseQuotaMax();