How to find player position, cam pos etc????

Started by Goku, Mar 11, 2016, 01:11 PM

Previous topic - Next topic

Goku

Hello guys, i need urgent help!!! How can i find x pos, y pos, z pos, angle, cam pos, cam look, world boundaries, col1, col2 etc. of a thing??? I m a learner now!!! I don't know many things!!! Please guys help me!!! :-X
There is only one thing that i know about life - Some mistakes happen by chance, but some mistakes happen because we make 'em happen.

MaTaDeToR

#1
Quote from: Dangerous on Mar 11, 2016, 01:11 PMHello guys, i need urgent help!!! How can i find x pos, y pos, z pos, angle, cam pos, cam look, world boundaries, col1, col2 etc. of a thing??? I m a learner now!!! I don't know many things!!! Please guys help me!!! :-X
Why don't you use the Wiki there are many example of these all stuff over Their!. I'd, also like to give you a command as a example how to get these following as looking your curiosity.....
//Command Event over here
if ( cmd =="test") {
ClientMessage("Player Pos X " + player.Pos.x + ", " player.Pos Y " + player Pos.y + ", player Pos Z " + player.Pos.z + ", Angle : " + player.Angle + ".......",player,255,255,0);}
So as mention above you should also learn the squirrel documentary. That's all I could do, for you, because, I could barely Understand you. You Could also find the color, and all other ids stuff from the Wiki.
P.S : You could also download the following Snippets, and Scripts being released in the Forum.

Finch Real

if ( cmd == "pos" ) { MessagePlayer( " Your pos " + player.Pos + ".", player ); }
I made this on mob so untested



My Snipet Showroom

http://pastebin.com/5KKuU5cg

Goku

Quote from: MaTaDeToR on Mar 11, 2016, 01:35 PM
Quote from: Dangerous on Mar 11, 2016, 01:11 PMHello guys, i need urgent help!!! How can i find x pos, y pos, z pos, angle, cam pos, cam look, world boundaries, col1, col2 etc. of a thing??? I m a learner now!!! I don't know many things!!! Please guys help me!!! :-X
Why don't you use the Wiki there are many example of these all stuff over Their!. I'd, also like to give you a command as a example how to get these following as looking your curiosity.....
//Command Event over here
if ( cmd =="test") {
ClientMessage("Player Pos X " + player.Pos.x + ", " player.Pos Y " + player Pos.y + ", player Pos Z " + player.Pos.z + ", Angle : " + player.Angle + ".......",player,255,255,0);}
So as mention above you should also learn the squirrel documentary. That's all I could do, for you, because, I could barely Understand you. You Could also find the color, and all other ids stuff from the Wiki.
P.S : You could also download the following Snippets, and Scripts being released in the Forum.
Dude thank you for helping me man!!!! I know there is a wiki but i didn't find it anywhere!!! That's why i Use forum....... I guess you know that i m learning squirrel language!!! I know very much now with the help of @S.L.C Thank you S.L.C man!!! And i am able to solve a lots of errors in my script!!!
There is only one thing that i know about life - Some mistakes happen by chance, but some mistakes happen because we make 'em happen.

Goku

Quote from: Finch Real on Mar 11, 2016, 01:43 PMif ( cmd == "pos" ) { MessagePlayer( " Your pos " + player.Pos + ".", player ); }
I made this on mob so untested




Thanks samar
There is only one thing that i know about life - Some mistakes happen by chance, but some mistakes happen because we make 'em happen.