It seems like you are in build mode.
Try disabling it by /setconfig build_mode 0.
Try disabling it by /setconfig build_mode 0.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Show posts MenuQuote from: SexAppeal on Feb 25, 2021, 05:24 AMQuote from: Athanatos on Feb 24, 2021, 09:58 AMDoes this happen upon joining or spawning? If yes, this can be ignored, since it's the VCMP client not properly manage model resources. They do load upon approaching the specific vehicles.
It occurs in both cases, for example; I was testing 2 vehicles and it only loaded 1.
Quote from: Athanatos on Jan 26, 2021, 03:39 PMThis might seem why RCNR kept crashing? It was full with respawing pickups.Probably.
SetToRespawn<- array( 5000, null);
RespawnCD <- 0;
function onTimeChange( lastHour, lastMinute, hour, minute )
{
for(local pi = 0; pi < 2000; pi++)
{
local pickup = FindPickup(pi);
if(pickup)
{
if(RespawnCD < 16) {
RespawnCD ++; // increase respawn cd till it doesnt reach 16 seconds
}
if(SetToRespawn[pickup.ID] == true && RespawnCD > 14) { // checks if pickup is set to respawn && respawning countdown is greater than 14 seconds
RespawnCD = 0; // resets respawn cd
SetToRespawn[pickup.ID] = false; // disables respawn again without execution
pickup.World = 1; // default world
}
}
}
}
function onPickupPickedUp( player, pickup )
{
SetPickupToRespawn(pickup); // sets pickup to respawn upon picking up
}
function SetPickupToRespawn(pickup) // sets pickup into respawning
{
SetToRespawn[pickup.ID] = true;
pickup.World = 5555;
}
function iCreatePickup( model, pos ) // custom function so it can set class
{
local pick = CreatePickup( model, 1, 1, pos, 255, true );
SetToRespawn[pick.ID] = false;
}
Quote* Paste them correctly
* Create pickups using iCreatePickup(mode,pos) so class gets set i.e SetToRespawn[pickup.ID]
* This is used for example & sample only, the pickup which has been set to respawn can respawn even after 1s or 15s as its dependant on RespawnCD , so u will need to modify it.
// onscriptload
SetToRespawn <- array(5000,null);
function onPickupPickedUp( player, pickup )
{
SetPickupToRespawn(pickup);
}
function SetPickupToRespawn(pickup)
{
SetToRespawn[pickup.ID] = true;
NewTimer("RespawnPickup", 15000, 1, pickup.ID); // unrecommended, Use Extended Timer here instead ( alternative #3 )
pickup.World = 5555;
}
function RespawnPickup(pick)
{
local pickup = FindPickup(pick);
if(pickup && SetToRespawn[pickup.ID] == true) {
SetToRespawn[pickup.ID] = false;
pickup.World = 1;
}
}