Ultimate idea for getting all gta Z coords
#1

I got that idea a few minutes ago...

You know that: You are trying to make a script that creates explosions on the floor of the position you are at, but you dont know how to get the ground Z coordinate.

I wanted to do it something like that:

A timer, refresh rate 500ms or something,
a variable which contains the current X/Y coordinates,
a variable which can be 0, 1 or 2...

If the variable is 0: SetPlayerPosFindZ to the current X/Y coordinate you want to have, set variable to 1.
If the variable is 1: SetPlayerPosFindZ again, because it doesnt work correctly if you run it 1 time (I fell into the water), set variable to 2.
If the variable is 2: GetPlayerPos and save the coordinates to a file, or SQL database, and do step 0 again with X/Y +/- 1...

Do you think that would actually work? I really think so, but it would just be good if you are AFK or at school or something, i can image it would take some hours/days.


... lesley
Reply


Messages In This Thread
Ultimate idea for getting all gta Z coords - by lesley - 11.03.2009, 17:50
Re: Ultimate idea for getting all gta Z coords - by lesley - 11.03.2009, 18:15
Re: Ultimate idea for getting all gta Z coords - by JaYmE - 11.03.2009, 18:27
Re: Ultimate idea for getting all gta Z coords - by lesley - 11.03.2009, 18:34
Re: Ultimate idea for getting all gta Z coords - by Finn - 11.03.2009, 18:39
Re: Ultimate idea for getting all gta Z coords - by lesley - 11.03.2009, 18:40
Re: Ultimate idea for getting all gta Z coords - by JaYmE - 11.03.2009, 18:59
Re: Ultimate idea for getting all gta Z coords - by lesley - 11.03.2009, 21:03
Re: Ultimate idea for getting all gta Z coords - by Finn - 11.03.2009, 21:04

Forum Jump:


Users browsing this thread: 1 Guest(s)