[FilterScript] Furniture buying system
#21

Wow, that's actually smart and creative, thank you
Reply
#22

Hmm.. I like.
Reply
#23

Ahh i like
Reply
#24

Thanks guy's for all the positive feed back. I now don't work on this filterscript but might think about releasing the final verison to all of you.

The final system allows players to have and plant unlimited furniture in there house and it allows them to move the furniture around with something like this:
pawn Код:
public OnPlayerEditObject(playerid, playerobject, objectid, response, Float:fX, Float:fY, Float:fZ, Float:fRotX, Float:fRotY, Float:fRotZ)
{
    new Float:oldX, Float:oldY, Float:oldZ,
        Float:oldRotX, Float:oldRotY, Float:oldRotZ;
    GetObjectPos(objectid, oldX, oldY, oldZ);
    GetObjectRot(objectid, oldRotX, oldRotY, oldRotZ);
    if(!playerobject) // If this is a global object, move it for other players
    {
        if(!IsValidObject(objectid)) return;
        MoveObject(objectid, fX, fY, fZ, 10.0, fRotX, fRotY, fRotZ);
    }

    if(response == EDIT_RESPONSE_FINAL)
    {
        // The player clicked on the save icon
        // Do anything here to save the updated object position (and rotation)
    }

    if(response == EDIT_RESPONSE_CANCEL)
    {
        //The player cancelled, so put the object back to it's old position
        if(!playerobject) //Object is not a playerobject
        {
            SetObjectPos(objectid, oldX, oldY, oldZ);
            SetObjectRot(objectid, oldRotX, oldRotY, oldRotZ);
        }
        else
        {
            SetPlayerObjectPos(playerid, objectid, oldX, oldY, oldZ);
            SetPlayerObjectRot(playerid, objectid, oldRotX, oldRotY, oldRotZ);
        }
    }
}
Thats just example of the code, I basicly stole it from this filterscript and remade my whole furniture system from it http://forum.sa-mp.com/showthread.ph...14#post1974714. If I do decide to release my new furniture system then you will have to remove you'r house system seen as it has a built in house system off /createhouse and things so it allows players to only create objects in there house.

Well thank you.
Reply
#25

Very nice FS. Kinda different but creative.
I might be using this!
You deserve a +rep!
Reply
#26

I can not wait for the new version! The best script in the world!
Reply
#27

wow! very good ) rep +
Reply
#28

Really nice work! Keep it up!
Reply
#29

Really nice fs. I was searching for one like this.
Reply
#30

Solved warnings but only one first warning

Links where solved warnings
PAWN file
http://www.solidfiles.com/d/2526622aed/
AMX file
http://www.solidfiles.com/d/79e881de12/
Reply
#31

NICE 10/10

+REP me please
Reply
#32

Hey guy's, The new furniture system is being made and in beta testing, It has a current house creating system that has blank interiours for player's to build on and more. I currently need some idea's for the next release which is hopefully some time soon.

Video of the current build so far [ame]http://www.youtube.com/watch?v=3_vk5uC5U0M[/ame]. All your idea's help thanks.
Reply
#33

When i do /furniture the dialog pops up but when i select something it wont open,is there a way i can fix that?
Reply
#34

Quote:
Originally Posted by jueix
Посмотреть сообщение
Hey guy's, The new furniture system is being made and in beta testing, It has a current house creating system that has blank interiours for player's to build on and more. I currently need some idea's for the next release which is hopefully some time soon.

Video of the current build so far http://www.youtube.com/watch?v=3_vk5uC5U0M. All your idea's help thanks.
I'm keep getting this error and I have YSI please help I NEED THIS FS

Код:
fatal error 100: cannot read from file: "YSI\y_ini"
Reply
#35

You need this: https://sampforum.blast.hk/showthread.php?tid=321092
Reply
#36

Quote:
Originally Posted by HardRock
Посмотреть сообщение
Okay works but can you tell me how to get a ?? flat houses my houses are still with objects

how to get it flat ?
Reply
#37

Quote:
Originally Posted by ParadiseRP
Посмотреть сообщение
Okay works but can you tell me how to get a ?? flat houses my houses are still with objects

how to get it flat ?
It's flat with no object's in the newer system I have, The furniture system found it the latest video I have posted is the one i'm working on and planning to release later this week, I posted a preview of it so people can comment on what I should add and what I should remove etc to make it better.

If anyone can give me idea's on things to add and remove I will really appreciate it. Thanks.
Reply
#38

Quote:
Originally Posted by jueix
Посмотреть сообщение
It's flat with no object's in the newer system I have, The furniture system found it the latest video I have posted is the one i'm working on and planning to release later this week, I posted a preview of it so people can comment on what I should add and what I should remove etc to make it better.

If anyone can give me idea's on things to add and remove I will really appreciate it. Thanks.
If i have my own house system will the new version will delete the objects?

Or do i need a new system?
Reply
#39

Quote:
Originally Posted by ParadiseRP
Посмотреть сообщение
If i have my own house system will the new version will delete the objects?

Or do i need a new system?
The new system I am releasing this month / week has it's own custom house system where you can type /createhouse etc.

The system that is currently released on forums will work with any house system I think accept garhouse, The system currently released on this page basicly save's unlimited amount of object's into one file and there is no way to remove, That's why I made a new upto date one so people can have there own house's and remove the furniture.

In the new one that I am scripting all the furniture is saved into one house file and when a player sell's his house the furniture that is currently placed will stay in intill someone new buy's it, After someone new buy's it he can keep the furniture that's already been placed by the previous owner or remove it.

When I release the new verison later this week / month you will need to remove your old house system for this one to fully work and be compatible.
Reply
#40

V1 is copy!

This is scripted Live! LINK: http://sampforum.hu/index.php?topic=36132
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)