|
|
#1 |
|
Beta Tester
![]() ![]() ![]() ![]() ![]() Join Date: Sep 2007
Posts: 210
Reputation: 236
|
The 4th script request thread was getting too full, therefore I decided to open a new one.
This thread is for people to post gamemode and filterscript ideas, in an effort to find people willing to help them make it. Please keep all requests to this thread, and do NOT flame or bump! Script request archive: Script Request Thread #4 Script Request Thread #3 Script Request Thread #2 Script Request Thread #1 |
|
|
|
|
#2 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Dec 2009
Posts: 1,487
Reputation: 63
|
5 already, spammers! Wonder is someone can make like updating textdraw for distance ran like this kinda....
Code:
Distance Ran: ------------------------- | | | Orange for where your at now ------------------------- |
|
|
|
|
#3 | |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Apr 2007
Location: Norway
Posts: 3,561
Reputation: 129
|
Quote:
About your question: It should be pretty simple actually. All you need is an updating timer (or OnPlayerUpdate) to get the player's distance to the point, then take the percent of that distance, and update the textdraw each percent (or each 5th percent, 10th etc..) So let's say the distance is 100 yards (easiest example) You run 10 yards, and that spot for where are you now moves one "spot" to the right. You could use GetPlayerDistanceToPoint to make this work easily. pawn Code:
Just get the percent of the distance. pawn Code:
Then do as I said, update it every percent, every 5th percent, every 10th percent... Anything that will fit you well. pawn Code:
Last edited by LarzI; 02/11/2010 at 09:27 AM. |
|
|
|
|
|
#4 |
|
Beta Tester
![]() ![]() ![]() ![]() ![]() Join Date: Jun 2008
Location: 629
Posts: 13,225
Reputation: 1900
|
There are also libraries specifically designed for making progress meters, it shouldn't be hard to use those.
And LarzI: How many times have I told you about floatsqroot? |
|
|
|
|
#5 | |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Apr 2007
Location: Norway
Posts: 3,561
Reputation: 129
|
Quote:
And I just copied the function from somewhere, just google'd it. |
|
|
|
|
|
#6 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Dec 2009
Posts: 1,487
Reputation: 63
|
Will try later.
|
|
|
|
|
#7 | |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Jul 2010
Location: England
Posts: 2,182
Reputation: 51
|
Quote:
+ 800th post ![]() ![]() This forum requires that you wait 120 seconds between posts. Please try again in 20 seconds. Edit: Um, It wasn't my 800th post, even though before I posted this, I only had 799 posts, I posted here and I posted somewhere else but It's still only 800; nevermind
|
|
|
|
|
|
#8 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Jul 2010
Location: New Zealand
Posts: 748
Reputation: 20
|
Could sombody make me a timer that counts down from 10 mins above the players cash, thanks
|
|
|
|
|
#9 |
|
Huge Clucker
![]() ![]() ![]() Join Date: Oct 2010
Location: An Island 1000's of miles away
Posts: 343
Reputation: 20
|
i need a script that enables cops to cuff a player but, that player can still run but not sprint nor drive/ride i have asked people and most say 'yes, its possible"? if i could get this it would be AWESOME!, thanks.
Last edited by Deal-or-die; 03/11/2010 at 04:31 AM. Reason: if i could get this it would be GREAT, thanks. no, no no, it would be AWESOME! |
|
|
|
|
#10 |
|
Little Clucker
![]() Join Date: Oct 2010
Posts: 2
Reputation: 3
|
Hi , i`m searching for a script that can make a new job , Prison Guard ,
i want that job to have some commands: /on ( Makes the player on duty and teleports him at the prison ) /off ( Makes the player off duty and teleports him to his house / normal spawn place ) /Weapons ( Only when he`s on duty : gives him a sniper and a M4a1 ) /Alert [playername/id] ( Announces the server that a prissoner has escaped ) And also if possible , at payday , depending on how many minutes he guarded the prison to get a amount of money 10 minutes = 10.000 $ 20 minutes = 20.000 $ 30 minutes = 40.000 $ 50 minutes = 50.000 $ If possible please help me please Thank You
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Re: Script Request Thread #3 | clean180ollie | Help Archive | 882 | 05/01/2010 04:08 PM |
| Script Request Thread #2 | Dol | Help Archive | 807 | 28/07/2009 09:09 AM |
| Script Request Thread | kaisersouse | Help Archive | 1112 | 20/03/2009 10:15 AM |