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.
(https://forum.vc-mp.org/proxy.php?request=http%3A%2F%2Fimg.vcmp.ml%2F%3Fdi%3DVYGE&hash=ab527434dee47a57d1c533ee0833aeb14116c244)
post the screen shot of notepad++ with line
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
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";
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.
u r converting vccnr? there is no function of savehashes loadhashes and loadmodules
No It is FBS.
FBS Is not recommended since it's obsolete, Use any other script instead
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