SA-MP Forums Archive
SOLVED - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SOLVED (/showthread.php?tid=602193)



SOLVED - BiosMarcel - 03.03.2016

SOLVED: I did jsut reset my server.cfg, it was missing smth, i used an old one

Hey,

I really am not able to see what i am doing wrong, sry if this is just a stupid post in your opinion.



They start but nthn happens.
And if u wonder what i am trying, just trying to see how exactly the SetSVarInt works since the wiki seems to be down again

greetings Marcel


Re: onFilterScriptInit doesn't seem to work for me? - vassilis - 03.03.2016

You are not returning a value at the functions!

PHP Code:
public OnFilterScriptInit()
{
    
//code
     
return 1;




Re: onFilterScriptInit doesn't seem to work for me? - vassilis - 03.03.2016

Also you are not using OnFilterScriptExit callback which also needs return 1;
and return 1; at your own function too