Post: Need Help On Locating Co-ordinates
11-10-2015, 04:48 PM #1
Jmakaveli413
Save Point
(adsbygoogle = window.adsbygoogle || []).push({}); Hi whoevers here, i need help on getting the x, y, z co-ords, is there a menu or rtm that will show your current location in x, y, z? cheers in advanced.
(adsbygoogle = window.adsbygoogle || []).push({});
11-10-2015, 05:50 PM #2
Procyon
Gym leader
self iPrintlnbold("Current Origin: ^5" + self.origin[0] + ", " + self.origin[1] + ", " + self.origin[2]);
11-10-2015, 09:14 PM #3
iiiCenTurY
Gym leader
Originally posted by Procyon View Post
self iPrintlnbold("Current Origin: ^5" + self.origin[0] + ", " + self.origin[1] + ", " + self.origin[2]);


just use
self iprintlnbold(self.origin);
...
11-10-2015, 09:29 PM #4
Procyon
Gym leader
Originally posted by iiiCenTurY View Post
just use
self iprintlnbold(self.origin);
...

that work too. But I prefer my way xD then you won't get the brackets, and you get a colour.
11-11-2015, 03:41 AM #5
Jmakaveli413
Save Point
How do i script it and what script should it be in like main.gsc or gamefunctions.gsc? trying to learn on scriping but its so complex and freezes whenever i start a game after injecting my own gsc
11-11-2015, 01:08 PM #6
BullyWiiPlaza
Climbing up the ladder
Originally posted by Jmakaveli413 View Post
How do i script it and what script should it be in like main.gsc or gamefunctions.gsc? trying to learn on scriping but its so complex and freezes whenever i start a game after injecting my own gsc

Learn basic programming and you probably start to understand why your edits are invalid and cause a script error/crash.
11-11-2015, 02:17 PM #7
Jmakaveli413
Save Point
i know the most of the basic's like i've made my own mod menu using a menu base, but yeah i want to get into the gamemode creating like Zombieland etc.
11-11-2015, 02:37 PM #8
BullyWiiPlaza
Climbing up the ladder
Originally posted by Jmakaveli413 View Post
i know the most of the basic's like i've made my own mod menu using a menu base, but yeah i want to get into the gamemode creating like Zombieland etc.

It's the same thing, you just make intelligent use of stuff like onPlayerSpawned() and other functions for coordinating proper runtime of scripts.
11-11-2015, 03:45 PM #9
-Numb
You talkin to me?
Originally posted by Jmakaveli413 View Post
How do i script it and what script should it be in like main.gsc or gamefunctions.gsc? trying to learn on scriping but its so complex and freezes whenever i start a game after injecting my own gsc


Just make a loop with the print and thread it on first spawned under onPlayerSpawned()

Copyright © 2026, NextGenUpdate.
All Rights Reserved.

Gray NextGenUpdate Logo