23.08.2012, 17:51
Wow, that's actually smart and creative, thank you
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);
}
}
}
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. |
fatal error 100: cannot read from file: "YSI\y_ini"
You need this: https://sampforum.blast.hk/showthread.php?tid=321092
|
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. |
If i have my own house system will the new version will delete the objects?
Or do i need a new system? |