Jump to content
  • 0

coordonate


gabydemocray

Question

2 answers to this question

Recommended Posts

Daca stii ca acea cladire este intr-un interior, mai intai dai /interior in ea, iar apoi dai /save ID_INTERIOR ca sa stii ce interior are, apoi le iei din

C:\Documents and Settings\USER\My Documents\GTA San Andreas User Files\SAMP\savedpositions.txt
si acea linie salvata va fi de genul
AddPlayerClass(0,  CoordX, CoordY, CoordZ, 15.42, 0, 0, 0, 0, 0, 0); //ID_INTERIOR
Tu va trebuie sa scoti acele CoordX, CoordY si CoordZ, iar ID_INTERIOR sa-l bagi cu SetPlayerInterior in functie, exemplu: savedpositions:
AddPlayerClass(0,  1353.04, 432.96, 321.01, 15.42, 0, 0, 0, 0, 0, 0); //13
noi scoatem
1353.04, 432.96, 321.01
si le bagam cu SetPlayerPos, iar acel 13 il bagam cu SetPlayerInterior:
SetPlayerPos( playerid, 1353.04, 432.96, 321.01 );
SetPlayerInterior( playerid, 13 );

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.