|
|||||||
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Sep 2010
Location: Mostly my computer.
Posts: 844
Reputation: 77
|
Dynamic Business Filterscript Intruduction Hello SA-MP members. I have seen where there are posts about "Dynamic Businesses" , so i decided to put the one from my GM into a FS and post it so you all can have it to use. Commands: /createbus [busid] [price] [payout] [name] (Creates a business at your location) /sellbus (Allows the owner to sell the busness) /debus [id] (Removes an owner from his business (it's like /sellbus but for RCON admins)) /deletebusiness [busid] (Deletes a business. Used only by RCON admins) Discription: This FS was created entirely from scratch. It creates a business at your location and you will need to be logged into RCON to use the createbus command. The businesses are buyable and the player will get the payout ever 30 mins. To change the payout time. You need to convert ms (miliseconds) into Minutes. 1000ms in Pawn = 1 second. Hence 60000ms = 1 minute. (I think you can do the rest). That covers the Discription. Bugs: None. Credits: Zeex - Zcmd Dracoblue - Dini Y_Less - Sscanf2 Tee - The FS Incognito- Streamer plugin. Brian - Helping me fine tuning. Garison - His dynamic House system, played an integral part in this script. I used examples off it to use some of what i have created. Garison i am sorry for not adding you earlier. Arshavin - Found 2 bugs that i did not see. Thanks alot. Bug Fixes: 1 .In this version, there is no need for a /buybus command. Just walk into the checkpoint and the dialog will appear for you to buy the business. 2. I also made it so that the name of the business is that last thing you will type that means that you can have a name like: Clown's Pocket and not Clown's_Pocket. 3. No need to reload the FS right after you create a business in order to buy it. 4. All bugs fixed in the last version. Downloads: Click Here (2.0) <-- This version has the fix with payday not working. (NOT Recommended) Click Here (Last)<-- This version is the last and has all bugs fixed. (Recommended) I've stopped working on this, since I've made a MySQL version of it, and integrated it into my gamemode. If you want to see it, you can PM me or come in my server (188.165.253.171:7786) and take a look. Last edited by Tee; 14/04/2012 at 07:41 PM. |
|
|
|
|
|
#2 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Apr 2010
Location: In your router..
Posts: 2,981
Reputation: 732
|
nice!!! thanks
|
|
|
|
|
|
#3 | |
|
Godfather
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Mar 2008
Posts: 5,609
Reputation: 377
|
Quote:
Nice one dude
|
|
|
|
|
|
|
#4 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Sep 2010
Location: Mostly my computer.
Posts: 844
Reputation: 77
|
Lol i always thought he was Garison, hmm for some reason i thought so.
|
|
|
|
|
|
#5 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Dec 2010
Location: Brescia, Italy. Born in Naples
Posts: 1,219
Reputation: 65
|
Nice :] I'm testing it tomorrow.
|
|
|
|
|
|
#6 |
|
Gangsta
![]() ![]() ![]() ![]() Join Date: Jan 2009
Location: European Trucking V2
Posts: 849
Reputation: 22
|
Nice script ~edit: it doesnt work after i restarted it doesnt appear help please?
if i start the server it just says Loaded busines 0
|
|
|
|
|
|
#7 |
|
Big Clucker
![]() ![]() Join Date: Dec 2010
Location: Romania
Posts: 89
Reputation: 0
|
nice FS dude ....i tested no bug
|
|
|
|
|
|
#8 |
|
Big Clucker
![]() ![]() Join Date: Sep 2010
Location: China-Guangzhou
Posts: 127
Reputation: 0
|
very nice=w=
i wan't that a lot time and do you know how to make Npc can you make a attacking npc filterscript? |
|
|
|
|
|
#9 | |
|
Big Clucker
![]() ![]() Join Date: Feb 2011
Posts: 76
Reputation: 0
|
Quote:
------------------------------------------------------------------------------------- it dont work every thing is ok but when the dialog for buying appear i choose buy but nothing happen just the dialog dissapears and nothing plz help i also restarted the server Last edited by Kyro; 23/02/2011 at 11:03 PM. |
|
|
|
|
|
|
#10 |
|
High-roller
![]() ![]() ![]() ![]() ![]() Join Date: Aug 2010
Location: United Kingdom
Posts: 1,052
Reputation: 61
|
Nice I might test at some time.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [FilterScript] Tee Dynamic Business. v1.0 | Tee | Filterscripts | 34 | 22/02/2011 12:51 AM |
| Major Major Server Problem | Klid | Help Archive | 4 | 03/11/2009 09:09 AM |