Creating a Glass Shooting System - 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: Creating a Glass Shooting System (
/showthread.php?tid=324399)
Creating a Glass Shooting System -
Reklez - 09.03.2012
Can someone give me a example how to make the following
Код:
- A Textdraw that counts the shooted objects
- When Player Dies during the Battle he will lose the battle and the player left inside the battle will win
- The one who shoot the last object will win
Re: Creating a Glass Shooting System -
wups - 09.03.2012
There is no callback for objects that are shot. However, you can do difficult calculations and see if the player is aiming at the object and pressing the fire key.
For the second thing: Use OnPlayerDeath() callback.
Re: Creating a Glass Shooting System -
Reklez - 09.03.2012
i'm not good at mathematics