Posts: 160
Threads: 23
Joined: Sep 2008
Reputation:
0
i think you need to do return 1; after setplayerpos.
This is from samp wiki..
public OnPlayerCommandText(playerid,cmdtext[])
{
if(!strcmp(cmdtext,"/middle",true))
{
SetPlayerPos(playerid,0.0,0.0,6.0);
return 1;
}
return 0;
}
Posts: 1,782
Threads: 306
Joined: Jan 2010
Reputation:
0
Where exactly do you get teleported? after you get teleported to your map?
Posts: 362
Threads: 15
Joined: Jun 2009
Reputation:
0
is it in an interior? Use /save, thats maybe better for you.
Posts: 362
Threads: 15
Joined: Jun 2009
Reputation:
0
If you have the right x y z it cant teleport you somewhere else. maybe its mixed up?
Posts: 160
Threads: 23
Joined: Sep 2008
Reputation:
0
Are you sure its the right cordinate?
When i enter MTA, and go to that location i end up in the sea.