02.06.2012, 08:40
(
Последний раз редактировалось jueix; 22.07.2012 в 20:50.
)
Okay guy's i am making a customizable house system where you can buy furniture and shit and place it any where in game i all ready released a test beta verison which is v1 and working on v2.
The help i need first is knowing what these basicly mean, rx,ry,rz basicly im trying to make it so they can turn a chair / bed / piece of furniture they have left and right incase its facing the wrong angle.
The second piece of help i need is with allowing players to move their piece of furniture only but i don't no how to tell if its a players piece of furniture im thinking of it being like this maybe.
Well i hope i explained my idea well enough and things and hope you can help me thanks.
The help i need first is knowing what these basicly mean, rx,ry,rz basicly im trying to make it so they can turn a chair / bed / piece of furniture they have left and right incase its facing the wrong angle.
The second piece of help i need is with allowing players to move their piece of furniture only but i don't no how to tell if its a players piece of furniture im thinking of it being like this maybe.
Код:
enum Finfo { Chair1 }; COMMAND:chairleft(playerid, params[]) // or CMD:mycommand(playerid, params[]) { if(fInfo[playerid][HASCHAIR] == 1 && fInfo[playerid][Pc] == 1 && IsPlayerInRangeOfPoint(playerid, 1.0, CX,CY,CZ)) { MoveObject(chair1,CX,CY,CZ,5,0,0) return 1; }