two 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: two question (
/showthread.php?tid=161120)
two question -
KJ1 - 18.07.2010
Hi all i need to ask you guys ,that if i was in area and i need to make telport to it by command how ?
and how i can get the Coordinates of it like x,y,z,? pleas help me
Re: two question -
(SF)Noobanatior - 19.07.2010
if you type "/save description" if will save your pos in a file in the GTA dir called savedpositions.txt
and the command would be something like:
Код:
if(!strcmp("/teleport",cmdtext,true)){
SetplayerPos(playerid,x,y,z);
}
under OnPlayerCommandText
let me know if you need more info
Re: two question -
KJ1 - 19.07.2010
ok thank you
Re: two question -
KJ1 - 19.07.2010
i got warning bro
Re: two question -
(SF)Noobanatior - 19.07.2010
loose indent just change to ... see new post