simple question - 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: simple question (
/showthread.php?tid=512912)
simple question -
rumen98 - 13.05.2014
Hello I want to ask a question.
In the game, for example to write a command /adddestination , and this command to record the coordinates of the person in the file of each execution of the command to be added to each order, for example, coordinates of the player:
0,0,0
10,15,60
50,60,150
and so on, and then here and now of the script itself to load the coordinates from the file and add example 3DTextLabel them Longitudes and so with each addition, to destroy and to create a new order to refresh the old and new destinations
Re: simple question -
Aerotactics - 13.05.2014
If your question is "Is it possible?" Then yes, it is very possible.
Re: simple question -
rumen98 - 13.05.2014
How can you do this thing?
Re: simple question -
Aerotactics - 13.05.2014
Quote:
Originally Posted by rumen98
How can you do this thing? 
|
Get to know the basics of pawno, then learn how to use these:
https://sampwiki.blast.hk/wiki/Format
https://sampwiki.blast.hk/wiki/CreatePlayer3DTextLabel
https://sampwiki.blast.hk/wiki/Floats
After that, you want to try to store the variables and read them by learning this:
https://sampwiki.blast.hk/wiki/File_Functions
It's not a simple task, but it is definitely possible.