03.11.2011, 13:23
Hello. I am a scripting beginner and i want to make teleports. And then i want to make teleport commands like /sfa,/lva and /lsa. Can anyone help me?
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/myteleport") == 0)
{
SetPlayerPos(playerid, -1967.8365, 2956.9823, 12.9375); // go to your GTA san andreas folder and run samp_debug and go to the place you want and /save it and change the coordinates
return 1;
}
return 0;
}