SA-MP Forums Archive
check for stunt - 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: check for stunt (/showthread.php?tid=124758)



check for stunt - Coltragon - 31.01.2010

Hello,

i have a few questions

im making a stunt server, i dont want this server to be like all the servers.
im busy with developing a level system, that if the player does stunts he ccan get to a higher level

now my question is is there any function tht can detect if the user is doing a stunt.

i already thought of the difference of height when a car jumps but that didnt work? anyone help>


Re: check for stunt - Coltragon - 31.01.2010

i have found

Код:
EnableStuntBonus(1)
now but i still can't check if the user has done a stunt.

this is the situation, i want to give the player experience when he does stunts. so he can increase level how to do?


Re: check for stunt - Miguel - 31.01.2010

pawn Код:
EnableStuntBonus(1)
You could disable server side money and calculate how much are they getting. This is a bad idea though.


Re: check for stunt - Coltragon - 31.01.2010

That's not real good idea but thx anyway. Isnt there a function like PlayerDoStunt
so I could do this
Код:
 if (PlayerDoLoops==1) {
GivePlayerMoney(playerid,1900);
print("stunt experience awarded +250");
stuntexperience+250;
}
Код:
is that possible?



Re: check for stunt - Coltragon - 01.02.2010

Bring Up My Post


Re: check for stunt - Doppeyy - 01.02.2010

I dont really think it is possible to check if a player did a loop.
So then the anwer to your question would be no.

[Doppeyy


Re: check for stunt - Coltragon - 01.02.2010

not with any stunt? omg that is really gonna suck up my server....
what i can do, is to make a custom value for money.

so i disable server money as said earlier. But i make my own money value, so there still is money.


Re: check for stunt - Doppeyy - 01.02.2010

Quote:
Originally Posted by Coltragon
not with any stunt? omg that is really gonna suck up my server....
what i can do, is to make a custom value for money.

so i disable server money as said earlier. But i make my own money value, so there still is money.
But their is no way to check if a player on a ramp or something.
If you are a verry good scripter i think you could make something like that.
But now its not possible.

[Doppeyy