SA-MP Forums Archive
[FilterScript] Dynamic Apartment System v0.2 (UPDATE 7.3.2012) - 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)
+--- Thread: [FilterScript] Dynamic Apartment System v0.2 (UPDATE 7.3.2012) (/showthread.php?tid=330112)

Pages: 1 2


Dynamic Apartment System v0.2 (UPDATE 7.3.2012) - Maki187 - 31.03.2012

Hi, this is my third filterscript enjoy in reading
Credits:
*Maki187 - Make this filterscipt
**Gagi_Corleone(Mr.Gagi) - switch on y_ini and translate this text
***CuervO_NegrO - His command has help me for command for create apartment



Quote:
v0.2
-fixed bug with deposit/withdraw money in apartment with same interior | fixed bug with money in apartment (with minus)
-Added level on buying apartment
-From now you'll spawn in apartment you can change it with changespawn
-Now when you'r setting apartment it'll set random interior
-Now you can in game edit price,level....
-Saving system switched from dini to y_ini (credits to gagi) and now all commands is like one (example: in the past it was be /lock or /sinfo, now it is all in one, like /apartment [some_part] [ ] [ ])

v0.1 R1
-Fixed bug with /setapartment and problem with interior

v0.1
-Making the whole FS (with breaks)

Info
Script use ZCMD for command processor, and Y_INI for saving. Apartments you adding dynamic with command /setapartment, and also IG you can change interior,price and level, on creating apartment it'll set random interior.When you use any admin command you must be RCON admin

Photo and video
Video:
[ame]http://www.youtube.com/watch?v=YdvbjzmKino[/ame]

Photo:



Commands

If u want to use admin command you must be login as RCON admin

Admin commands:
Setting apartment: /setapartment
Teleport to apartment: /aptel [id]
Editing price: /apedit [price/lvl/int] [value]

Player commands:
Buy apartment: /buyapartment
Sell apartment: /sellapartment
Other commands: /apartment info/lock/takemoney/putmoney [value]
Change spawn: /changespawn
Help: /aphelp



Bugs?
There are no known bugs if you find one, report to me.


Plugin and include files


Incognito Streamer - Download
Sscanf - Download
ZCMD - Download
Foreach - Download
Y_INI - Download



Download
v0.2

ENGLISH VERSION:

http://www.solidfiles.com/d/ab253c743c/

OR

http://www.fileserve.com/file/V5Rspe...tem%20v0.2.zip

PASTEBIN IS ONLY TO LOOK AT SCRIPT:

http://pastebin.com/NzrxQM0R

If there is somthing left on Serbian, im sorry for that...


SERBIAN VERSION:

http://solidfiles.com/d/a81e508021/
OR
http://www.fileserve.com/file/DJZW8N...Sistemv0.2.zip


v0.1 R1 - ONLY SERBIAN LANGUAGE


http://solidfiles.com/d/254e666fbe/
OR
http://www.fileserve.com/file/z4cBPp...m%20v0.1R1.zip


v0.1 - ONLY SERBIAN LANGUAGE

http://solidfiles.com/d/554a63fb76/
OR
http://www.fileserve.com/file/ZYqEcU...tem%20v0.1.zip


Re: Dynamic Apartment System v0.2 (UPDATE 7.3.2012) - Gagi_Corleone - 31.03.2012

Nice apartment system and thanks for credits


Re: Dynamic Apartment System v0.2 (UPDATE 7.3.2012) - [D]Stanley - 31.03.2012

Good job!


Re: Dynamic Apartment System v0.2 (UPDATE 7.3.2012) - mevi - 31.03.2012

Nice one, ill prob use it sometime


Re: Dynamic Apartment System v0.2 (UPDATE 7.3.2012) - Nicholas. - 31.03.2012

Nice work.


Re : Dynamic Apartment System v0.2 (UPDATE 7.3.2012) - dydjyz - 31.03.2012

Pretty good, i use this.


Re: Dynamic Apartment System v0.2 (UPDATE 7.3.2012) - Maki187 - 31.03.2012

Thanks

when i translate my anticheat, i will put it here


Re: Dynamic Apartment System v0.2 (UPDATE 7.3.2012) - Aleluja - 01.04.2012

Good job, Maki.


Re : Dynamic Apartment System v0.2 (UPDATE 7.3.2012) - BigBaws - 01.04.2012

how to can low the distence on it so player can get the 3dtext closer


Re: Dynamic Apartment System v0.2 (UPDATE 7.3.2012) - Maki187 - 01.04.2012

you will find in script somthing like this:

Quote:

ApartmentLabel[s] = Create3DTextLabel(string ,0x00FFFFAA,ApartmentInfo[s][sEnterx], ApartmentInfo[s][sEntery], ApartmentInfo[s][sEnterz],25, 0, 1);

you need to change red number (25), lower you go, player will need to come closer...

on all palces you need to change that... sory for my bad english...


Respuesta: Dynamic Apartment System v0.2 (UPDATE 7.3.2012) - dknez15 - 17.06.2012

Code:
\filterscripts\DinamicanStanSistem.pwn(23) : fatal error 100: cannot read from file: "YSI\y_ini"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.


?


Re: Respuesta: Dynamic Apartment System v0.2 (UPDATE 7.3.2012) - WillyP - 17.06.2012

Quote:
Originally Posted by dknez15
View Post
Code:
\filterscripts\DinamicanStanSistem.pwn(23) : fatal error 100: cannot read from file: "YSI\y_ini"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.


?
Erm.. Read?


Respuesta: Dynamic Apartment System v0.2 (UPDATE 7.3.2012) - dknez15 - 17.06.2012

Read what?


Re : Dynamic Apartment System v0.2 (UPDATE 7.3.2012) - yusei - 18.06.2012

Good job


Re: Dynamic Apartment System v0.2 (UPDATE 7.3.2012) - Marven - 19.06.2012

Simply awesome <3


EDIT: i found a bug when you restart the server it removes the text above the house checkpoint, hope you will fix it soon.


Re: Respuesta: Dynamic Apartment System v0.2 (UPDATE 7.3.2012) - juraska - 19.06.2012

Quote:
Originally Posted by dknez15
View Post
Read what?
this fatal error 100: cannot read from file: "YSI\y_ini"

thats means that you have not include called "YSI\y_ini" in your pawn includes library or just wrong include path


Re: Dynamic Apartment System v0.2 (UPDATE 7.3.2012) - God'Z War - 29.09.2012

Awsome work


Re: Dynamic Apartment System v0.2 (UPDATE 7.3.2012) - $mooth - 29.09.2012

Seen this before, check samp forum and you might find it.


Re: Dynamic Apartment System v0.2 (UPDATE 7.3.2012) - benjaminjones - 29.09.2012

HOw I enter in my apartment please

English Version ?


Re: Dynamic Apartment System v0.2 (UPDATE 7.3.2012) - Ley - 29.09.2012

Could have made a version DOF2