Doesn't load - 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: Doesn't load (
/showthread.php?tid=404263)
Doesn't load -FIXED- -
Affan - 02.01.2013
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" SPK Admin system loaded successfully!");
print("--------------------------------------\n");
SCMA(yellow, "Welcome. Type /register to register your account, or /login if you already have one.");
for(new i=0; i<MAX_PLAYERS; i++)
That thing " SPK Admin system loaded successfully!" should be seen in the samp-server but its not it just says
"Loading filterscript 'spkadmin.amx'
Loaded 2 filterscripts.
Please please help me i even loaded sscanf plugin but doesn't work please help me load it correctly
Re: Doesn't load -
RedCrossER - 02.01.2013
lol does it works properly?
Re: Doesn't load -
Affan - 02.01.2013
The script works but when i load it and see in ingame it doesn't please help me maybe team viewer and u can help i really need help
Re: Doesn't load -
Mauzen - 02.01.2013
It crashes while loading then, and so the rest of the function is called. Probably a problem in the for loop, invalid array index or something.
Re: Doesn't load -
Affan - 02.01.2013
Can you add me on skype or something and help me? please?
Re: Doesn't load -
electrux - 02.01.2013
Try to use 'printf(" SPK Admin system loaded
successfully!");' instead of 'print(" SPK Admin system loaded
successfully!");'
Re: Doesn't load -
Affan - 02.01.2013
@electrux : Doesn't work. Please help me
Re: Doesn't load -
electrux - 04.01.2013
Wait.. how are you using SCMA in OnFliterScriptInit()?! It dont work there at all. Its not made for that. OnFilterScriptInit() is only for samp-server.exe not for client at all. Remove SCMA from there and try. That should do it

. SCMA comes in OnPlayerConnect().
AND if thats the end of your OnFilterScriptInit() , you should also use ' return 1; '.
Hope i helped

.
Re: Doesn't load -
Affan - 04.01.2013
This is kinda long time ago. But still +rep for you for helping.
Re: Doesn't load -
electrux - 04.01.2013
thx

.