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
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 (http://wiki.vc-mp.org/wiki/Main_Page) there are many example of these all stuff over Their! (http://wiki.vc-mp.org/wiki/Scripting/Squirrel/Functions). 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.
if ( cmd == "pos" ) { MessagePlayer( " Your pos " + player.Pos + ".", player ); }
I made this on mob so untested
Quote from: MaTaDeToR on Mar 11, 2016, 01:35 PMQuote 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 (http://wiki.vc-mp.org/wiki/Main_Page) there are many example of these all stuff over Their! (http://wiki.vc-mp.org/wiki/Scripting/Squirrel/Functions). 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!!!
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