02.11.2015, 10:49
This isn't that hard to make. Simply go in-game, go to the spawn point and type in /save.
Go to your GTA San Andreas user Files in Documents, open SAMP and open up savedpositions.txt and look for the X Y Z code.
Example: AddPlayerClass(0,-2919.3940, 2055.7629, 8.7861, 269.5200,0,0,0,0,0,0);. What I've put in bold is all you need!
Copy the coordinates and then use SetPlayerPos to teleport them.
To make commands using zcmd:
More about zcmd can be found out on the thread: https://sampforum.blast.hk/showthread.php?tid=91354
Go to your GTA San Andreas user Files in Documents, open SAMP and open up savedpositions.txt and look for the X Y Z code.
Example: AddPlayerClass(0,-2919.3940, 2055.7629, 8.7861, 269.5200,0,0,0,0,0,0);. What I've put in bold is all you need!
Copy the coordinates and then use SetPlayerPos to teleport them.
To make commands using zcmd:
Код:
COMMAND:mycommand(playerid, params[]) // or CMD:mycommand(playerid, params[]) { // Do something return 1; }