SA-MP Forums Archive
Start and stop driftpoints with command - 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: Start and stop driftpoints with command (/showthread.php?tid=554442)



Start and stop driftpoints with command - bobsona - 03.01.2015

Hello, can anybody help me to make a command which starts and stops the driftpoints from this filterscript? https://sampforum.blast.hk/showthread.php?tid=86300
I saw posts in the thread from people who want to make the same thing, but nobody help them.
I want when I type "/startdp" to give points for drift and when I type "/stopdp" to not give.
By default when player connect I want the points to be stopped.


Re: Start and stop driftpoints with command - bobsona - 04.01.2015

Any ideas?


Re: Start and stop driftpoints with command - bobsona - 12.01.2015

Still thinking about that...


Re: Start and stop driftpoints with command - Threshold - 12.01.2015

https://sampforum.blast.hk/showthread.php?tid=557029

Commands are /drifton and /driftoff by default.


Re: Start and stop driftpoints with command - bobsona - 12.01.2015

Great!


Re: Start and stop driftpoints with command - Threshold - 13.01.2015

Oh, I forgot to mention. Just change 'DriftActive' to false under OnFilterScriptInit.