can i add this function? for dofile

Started by ForOver, Dec 11, 2017, 08:27 PM

Previous topic - Next topic

ForOver

function Script::ScriptLoad() is the function exist?

Mohamed Boubekri

Forover Malek Asahbi ?....Ana Mohamed649.
Chof Dofile Kadirha Bach T3ayet Lchi Dossier Lmohim Hadi Nfahamlak.
Tba3 M3aya:-
function onScriptLoad()
{
dofile( "test.nut" );
}
Daba howa Hadi Y3eyet Lhad L Function.....Hadik Test Te9der Tbedelha Lsmiya Li3andek.
Lmohim chof Daba
Dir .nut Jdid W Samih test w Dir Fih Chi Command Tema Dkhol L Server w Hadi Tekhdem
Wach Fhamt :P
| What now ? | Not yet ! |
Morrocan:- [ 🇲🇦 ].

KingOfVC

Script::ScriptLoad() is client side Event.

umar4911

Quote from: ForOver on Dec 11, 2017, 08:27 PMfunction Script::ScriptLoad() is the function exist?
This function exists in client side script which can be found in store/scripts/main.nut.

If you want to add it in server side then the scripts/main.nut and function OnScriptLoad() ;
RT Member | Asian City Scripter | CTB Contributor | VKs Contributor | European City Contributor | EAD Scripter

ForOver

Quote from: Mohamed on Dec 11, 2017, 10:05 PMForover Malek Asahbi ?....Ana Mohamed649.
Chof Dofile Kadirha Bach T3ayet Lchi Dossier Lmohim Hadi Nfahamlak.
Tba3 M3aya:-
function onScriptLoad()
{
dofile( "test.nut" );
}
Daba howa Hadi Y3eyet Lhad L Function.....Hadik Test Te9der Tbedelha Lsmiya Li3andek.
Lmohim chof Daba
Dir .nut Jdid W Samih test w Dir Fih Chi Command Tema Dkhol L Server w Hadi Tekhdem
Wach Fhamt :P

do you kidding me this code not working to dofile
Script::ScriptLoad() is working, solved and locked