SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 22/02/2008, 12:39 AM   #1
Sandra18[NL]
Huge Clucker
 
Join Date: Jun 2007
Posts: 401
Reputation: 54
Default =>SInclude<= [v1.3] Usefull Functions

I made, beside my Countdown-include, a Pocketmoney-include.
I decided to add them together to 1 include:

SInclude

This Includes:
  • Countdown
  • PocketMoney
  • CarFunctions
  • Skydiving
  • Saving & Loading player position
  • RandomSpawn-Creator

Update History:

[V1.0] <<<<========== Click for more explanation
  • CreateCountdown(time, sound);
  • CreatePlayerCountdown(playerid, time, sound);
  • StopCountdown();
  • StopPlayerCountdown(playerid);

[V1.1] <<<<========== Click for more explanation
  • EnablePocketMoney(amount, frequency);
  • DisablePocketMoney();
  • SetPocketMoneyAmount(amount);
  • SetPocketMoneyFrequency(seconds);
  • TogglePocketMoneyMessage(toggle);

[V1.2] <<<<========== Click for more explanation
  • SkydivePlayer(playerid, hight);
  • Cardive(carid, hight);
  • FlipCar(carid);
  • ResprayCar(carid);
  • SavePlayerPos(playerid);
  • LoadPlayerPos(playerid);

[V1.3] <<<<========== Click for more explanation
  • AddSpawnPos(X, Y, Z, Angle, Interior, VirtualWorld);
  • RandomSpawnPlayer(playerid);

[FS]SpawnPositionCreator <<<<========== Click for more explanation

With this filterscript you can easily create ready-to-use AddSpawnPos-functions
You can save a position using: /savespawnpos (+ comment (optional))
Code:
SavedSpawnPositions.txt
Interiors and VirtualWorlds are supported!


Notes:
- If a 'public' countdown is already started, you cant start a player-countdown
- If a player-countdown is running, and a public-countdown gets created, the player-countdown will stop.


Installing:
Put the file 'SInclude.inc' here:
Servermap/Pawno/Include

Then put on top of your gamemode:
Code:
#include <SInclude>

Download:
SpawnPositionCreator
- SpawnPositionSaver.pwn (Mediafire)
- SpawnPositionSaver.amx (Mediafire)

[V1.3]
- MediaFire

[V1.2]
- MediaFire
- PasteBin

[V1.1]
- MediaFire
- Pastebin

[V1.0]
- MediaFire
- Pastebin
- Crazyhost (Thanks Numhaken)
Note: If you're gonna use V1.0, the include is called: Countdown.inc
Mirrors are welcome

Please Keep Credits!


If you find bugs, or do you have ideas or tips, please post them here.

Have fun with it!

=>Sandra<=

Sandra18[NL] is offline   Reply With Quote
Old 22/02/2008, 01:16 AM   #2
Numhaken
Big Clucker
 
Join Date: Jan 2008
Posts: 170
Reputation: 1
Default Re: [INC]Countdown by =>Sandra<=

Nice!

Mirror
http://www.crazyhost.info/download.p...0Countdown.inc
Numhaken is offline   Reply With Quote
Old 22/02/2008, 01:21 AM   #3
Barret
Little Clucker
 
Join Date: Apr 2007
Posts: 14
Reputation: 0
Default Re: [INC]Countdown by =>Sandra<=

very very nice!
i like it
good job ;|
Barret is offline   Reply With Quote
Old 22/02/2008, 01:28 AM   #4
LarzI
High-roller
 
LarzI's Avatar
 
Join Date: Apr 2007
Location: Norway
Posts: 2,628
Reputation: 136
Default Re: [INC]Countdown by =>Sandra<=

Love it! Was just looking for something like this! TYVM! I'll add you to the credits
__________________


NEW: [FS] Simple Cellphones

if( strfind( title, "REP", true ) != -1 )
{________________________________________
Sigh();__________________________
}________________________________________


LarzI is offline   Reply With Quote
Old 22/02/2008, 07:12 AM   #5
Abhishek
Big Clucker
 
Join Date: Oct 2007
Posts: 53
Reputation: 0
Default Re: [INC]Countdown by =>Sandra<=

cool!!! i was thinking to make something like this yesterday, now... no need :P tnx!
Abhishek is offline   Reply With Quote
Old 22/02/2008, 11:33 AM   #6
Sandra18[NL]
Huge Clucker
 
Join Date: Jun 2007
Posts: 401
Reputation: 54
Default Re: [INC]Countdown by =>Sandra<=

[V1.0]
  • CreateCountdown(time, sound);
  • CreatePlayerCountdown(playerid, time, sound);
  • StopCountdown();
  • StopPlayerCountdown(playerid);

CreateCountdown = This will create a countdown for all players. If sound is enabled, you will hear beeps.
StopCountdown = This will stop the countdown if it is running.
CreatePlayerCountdown = This will create a countdown for only 1 player
StopPlayerCountdown = This will stop a player-countdown
Sandra18[NL] is offline   Reply With Quote
Old 22/02/2008, 12:21 PM   #7
snipe69
Huge Clucker
 
Join Date: Aug 2007
Posts: 231
Reputation: 1
Default Re: [INC]Countdown by =>Sandra<=

nice script

P.S.: Are u girl or guy? coz sandra is girl name in my country
snipe69 is offline   Reply With Quote
Old 22/02/2008, 12:25 PM   #8
Sandra18[NL]
Huge Clucker
 
Join Date: Jun 2007
Posts: 401
Reputation: 54
Default Re: [INC]Countdown by =>Sandra<=

Quote:
Originally Posted by $SnIpE$
nice script

P.S.: Are u girl or guy? coz sandra is girl name in my country
In my country too, so yes, im a girl.
But does it matter?
Sandra18[NL] is offline   Reply With Quote
Old 22/02/2008, 12:56 PM   #9
Antironix
Gangsta
 
Join Date: May 2007
Posts: 702
Reputation: 20
Default Re: [INC]Countdown by =>Sandra<=

Quote:
Originally Posted by =>Sandra<=
Quote:
Originally Posted by $SnIpE$
nice script

P.S.: Are u girl or guy? coz sandra is girl name in my country
In my country too, so yes, im a girl.
But does it matter?
Most of us are nerds.. sooooooo xD ( not me)
Antironix is offline   Reply With Quote
Old 22/02/2008, 01:04 PM   #10
eldiablo1337
Big Clucker
 
Join Date: Nov 2007
Posts: 64
Reputation: 1
Default Re: [INC]Countdown by =>Sandra<=

Nerds && Gicks (not me either )

Realy nice release, Sandra.. i like it :]
Would you like a mirror? direct one > through my FTP.
eldiablo1337 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Include] [INC] LSF - Lorenc's Simple Functions (w/ gang/clan functions) Lorenc_ Includes 14 21/04/2018 04:06 AM
[FilterScript] [FS] ReX's Usefull Scripts ReX Filterscripts 51 29/12/2012 01:49 PM
[FilterScript] [FS] Anti Nub -[Usefull & Bugless]- NitroSWA Filterscripts 12 06/05/2010 08:00 AM
[INC & USEFULL FUNCTION] dFile System 0.2 illay Filterscripts 6 06/07/2009 08:41 AM
Looking for usefull, working iptables rules Meester Proper Server Support 1 11/05/2009 05:12 AM


All times are GMT. The time now is 07:20 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.