SA-MP Forums Archive
[Include] spriTe (foXfunc) v4 - Useful Functions - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] spriTe (foXfunc) v4 - Useful Functions (/showthread.php?tid=169280)



spriTe (foXfunc) v4 - Useful Functions - PSPgamer_10 - 19.08.2010


spriTe (foXfunc)
This Include was named foXfunc, and now it's spriTe!
This is version 4.

What's this ?
This is a really useful Include, wich includes useful Functions, like SendFormattedClientMessage...

Features

Quote:
  • # Faster, smaller, better Coded Functions
  • # Cemetery System
  • # New useful Functions, like "SendFormattedClientMessage", or "IsPlayerInAnyBoat" ....
  • # Killer-Spectate-System.
  • # ToggleAntiBikeFallForPlayer/All(playerid,toggle) - Anti Fall of Bike: 0=Off, 1=On
  • # TogglePlayerGodmode(playerid,toggle) - Godmode: 1=On, 0 = Off
  • # New TogglePlayerControllable: Mod '2' addet: Player=Uncontrollable, Camera=Controllable
Declaration of some Functions
  • SendRepeatedClientMessage/ToAll(playerid,color,repeating,string):
Installation
Download the .rar-Package, open the folder in it, open the "spriTe_v4.inc" Folder, copy the spriTe_v4.inc data into your pawno/include-Folder.
Open your Script and
add under "
#include <a_samp>" this: #include <spriTe_v4>

Download
Pastebin spriTe_v4.inc - pastebin.de
(I recommend the Downloadlinks below, there are Example-Scripts!)

Download spriTe_v4.rar - RapidShare
Download spriTe_v4.rar - SendSpace

Close
There are really useful Functions like ToggleAntiBikeFallForPlayer, IsPlayerInWater or TogglePlayerGodmode !
Have fun, and don't forget:
I'm Open for your Bugreports and Suggestions !
By FoxHound aka PSPgamer aka Gцkhan Akin



Re: spriTe (foXfunc) v4 - Useful Functions - fen1x-nk - 19.08.2010

Nice Thanks


Re: spriTe (foXfunc) v4 - Useful Functions - Double-O-Seven - 19.08.2010

Nice!

The cemetry function is funny
But maybe you shouldn't use SetWorldTime when you place a player into cemetry D:

Maybe you could make a timer for the repeated message.
And you should use IsPlayerInRangeOfPoint for SendDistancedClientMessage.


Re: spriTe (foXfunc) v4 - Useful Functions - CaHbKo - 19.08.2010

I guess this is for 0.3b, correct?
Quote:

IsPlayerInWater(playerid)




AW: spriTe (foXfunc) v4 - Useful Functions - PSPgamer_10 - 19.08.2010

It works in 0.3a too


Re: spriTe (foXfunc) v4 - Useful Functions - ScottCFR - 19.08.2010

The new toggle player controllable looks good.


AW: spriTe (foXfunc) v4 - Useful Functions - PSPgamer_10 - 19.08.2010

Thanks


AW: spriTe (foXfunc) v4 - Useful Functions - PSPgamer_10 - 11.02.2011

Major bug fixxed:
The Server-Synchronisation hasn't worked when foXban included.
The Bug has been fixxed.
Sry for this bug and my bad English.. ^^

Peace.



Re: spriTe (foXfunc) v4 - Useful Functions - MrDeath537 - 11.02.2011

Nice include, I love your SendClientFormatedMessage function, using a global string


Re: spriTe (foXfunc) v4 - Useful Functions - wups - 11.02.2011

Hm I don't get it, how TogglePlayerControllable(playerid, 2) works.