SA-MP Forums Archive
Insane stunt bonuses.... Detecting them? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Insane stunt bonuses.... Detecting them? (/showthread.php?tid=110949)



Insane stunt bonuses.... Detecting them? - DiddyBop - 29.11.2009

Is there a way to detect if a player has done an insane stunt bonus? im trying to do so, so when people do /stats it shows Insane Stunt bonuses: 100 or somthing.. yes.. i tried search.


Re: Insane stunt bonuses.... Detecting them? - GTA_Rules - 29.11.2009

Nope.


Re: Insane stunt bonuses.... Detecting them? - DiddyBop - 29.11.2009

balls


Re: Insane stunt bonuses.... Detecting them? - Kinetic - 29.11.2009

You could try detecting a rapid increase in the players Z coordinate. Lets say that it checks the players z coordinate every second. and when it gathers 2 scores, it will compare them. If the second coordinate is +25(this is an estimate) more than the first one. We can assume that the player has just jumped.