X,Y,Z from object - 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: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: X,Y,Z from object (
/showthread.php?tid=333759)
X,Y,Z from object -
davve95 - 12.04.2012
Hi!
I haven't figure out how to take x,y,z from codes, So could some one help me with this?:
pawn Код:
CreateObject(2630,-5177.70019531,2859.30004883,25.00000000,0.00000000,0.00000000,0.00000000);
Thanks!.
Edit: If u wounder I have 1 more topic named same, I don't want to bumb it, it's old..
Re: X,Y,Z from object -
Macluawn - 12.04.2012
The second parameter is X
(-5177.7002)
Third parameter is Y
(2859.3000)
Fourth parameter is Z
(25.0000)
pawn Код:
CreateObject(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float:DrawDistance)
Re: X,Y,Z from object -
davve95 - 12.04.2012
Quote:
Originally Posted by Macluawn
The second parameter is X (-5177.7002)
Third parameter is Y (2859.3000)
Fourth parameter is Z (25.0000)
pawn Код:
CreateObject(modelid, Float:X, Float:Y, Float:Z, Float:rX, Float:rY, Float:rZ, Float:DrawDistance)
|
Okay thank you again so the X,Y,Z are after the commas? (,)??.
Edit: Should I make like this?
pawn Код:
5177.70019531,2859.30004883,25.0000
Or copy like this: X: 5177.7001 And so on and then paste them together??.. Or??..
Edit2: U said: 5177.7002 didn't u mean 5177.7001??..
Re: X,Y,Z from object -
davve95 - 13.04.2012
Sorry for bump but I really need help!.
Re: X,Y,Z from object -
IstuntmanI - 13.04.2012
Quote:
Originally Posted by davve95
Sorry for bump but I really need help!.
|
5177.70019531 rounded is 5177.7002, rounded again is 5177.70, rounded again is 5178.0.
What else do you want ?
Re: X,Y,Z from object -
Faisal_khan - 13.04.2012
Like this:
pawn Код:
5177.70019531,2859.30004883,25.0000
OFF Topic:
Are you daves brother?
Re: X,Y,Z from object -
davve95 - 15.04.2012
Quote:
Originally Posted by Faisal_khan
Like this:
pawn Код:
5177.70019531,2859.30004883,25.0000
OFF Topic:
Are you daves brother?
|
Daves brother? Um no.. Btw: thanks!