Erorr The Given Timer Call Back Does not

Started by Nothing, Apr 14, 2015, 03:57 AM

Previous topic - Next topic

Nothing

Hey I Have 0.3 scripts i was changing that to 0.4 i face an error the given timer callback does not exist.
What is This How i can fix it.I Have a Screenshot Check This Plzz.

Finch

post the screen shot of notepad++ with line
Beztone is a scripter but he is too stupid

Nothing

Quote from: Finch on Apr 14, 2015, 04:06 AMpost the screen shot of notepad++ with line
Ok Wait I shall Paste a Pic Later
Can i Past Code

Nothing

function onScriptLoad()
{
stats<-array(GetMaxPlayers(),null);
phone <- array(GetMaxPlayers(),0);
//Loading sqlite
dofile( "Race.nut" );
RaceSystem();
// Load Modules
LoadModule( "sq_hashing" );
print(LoadModule( "sq_ini" ));
LoadModule( "sq_lite" );
db2 <- ConnectSQL( "DataBase.db" );
print( "Connected SQL Database." );
secondarydb <- ConnectSQL( "countrydb.sqlite" );

pstat <- array(GetMaxPlayers(), null);
KOKActive <- false;
KOKCount <- 0;

spawntime<-array(GetMaxPlayers(),0);

// Give some information about the script
print( "[Loaded] " + ScriptName );
print( "Created By: " + Creator );
print( "Helps: " + Helps );

dofile( "Functions.nut" );

// Add then load the other script files.
LoadScripts();

// We will now load the information into hashes.
LoadHashes();

// This is a timer that will save the hashes every 5 minutes to prevent minimum data loss
// First we give the name of the function to call, how often it's called in ms and how many times to call it.
// If 0 is given, it will constantly run until the scripts are unloaded.
NewTimer( "SaveHashes", 300000, 0 );
lastmsg <- array(20,"");
lastmsg2 <- array(20,"");

loadclanstats();
TimeToGotoloc <- array( GetMaxPlayers(), false );
TimeGotoloc <- array( GetMaxPlayers(), false );

}

const INFO_SPAWNS = "RandSpawn.ini";

Kratos_

Your Timer couldn't access function SaveHashes . I'm assuming that you haven't defined it .
Try to execute this code into your function onscript load without defining function abc .

NewTimer("abc", 5000, 0);
Same error message will appear as that of yours.
In the middle of chaos , lies opportunity.

Finch

u r converting vccnr? there is no function of savehashes loadhashes and loadmodules
Beztone is a scripter but he is too stupid

Nothing


Honey

FBS Is not recommended since it's obsolete, Use any other script instead

Nothing

Quote from: Honey on Apr 14, 2015, 11:23 AMFBS Is not recommended since it's obsolete, Use any other script instead
Oh Teri Honey.
Honey I Shall Try Any Other.
Thanks For Information