|
|
#1 |
|
Big Clucker
![]() ![]() Join Date: Sep 2008
Posts: 103
Reputation: 0
|
Hi
Is it possible to add a fine and a timer to this command, so that it automatically unjails the person after the timer reaches 0? http://pastebin.com/m5e8f27c7 Matt |
|
|
|
|
#2 |
|
Banned
![]() Join Date: Dec 2008
Posts: 614
Reputation: 0
|
juste use "SetTimer"
visit www.wiki.sa-mp.com formore infos |
|
|
|
|
#3 |
|
Big Clucker
![]() ![]() Join Date: Sep 2008
Posts: 103
Reputation: 0
|
Yeh - I've played aruond with that as it is - but I'm a bit of a scripting noob so I really dont know how I would go about setting the timer to jail the person for a certain amount of time, and only unjail them when its over, even if they logout.
|
|
|
|
|
#4 |
|
Huge Clucker
![]() ![]() ![]() Join Date: Sep 2007
Posts: 415
Reputation: 0
|
You'll need SetTimerEx for that. Try this, i just did it quickly so it might not work. http://pastebin.com/d1ee6c7a3
If you want them to be re-jailed if they diconnect then re-connect then it gets more complicated, and you'll need to use player' account file (if you have one e.g. most admin FS's have files for each player) for that. |
|
|
|
|
#5 |
|
Big Clucker
![]() ![]() Join Date: Sep 2008
Posts: 103
Reputation: 0
|
Thanks, I'll try that later when I get on my computer that has the script on it. I notice you added //2 minutes timer. Is it possible to set it so that the cop chooses the jailtime?
Thanks Matt |
|
|
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| jail timer | abineri | Help Archive | 4 | 19/03/2010 08:28 PM |
| Need another help - jail timer | Striker_Moe | Help Archive | 5 | 14/09/2009 04:57 PM |
| Add Jail | BLACK-RIDER-1692 | Help Archive | 4 | 01/09/2009 04:06 PM |
| [FilterScript] [FS] Jail area and Jail command | PinkFloydLover | Filterscripts | 13 | 05/08/2009 06:11 AM |