19.06.2009, 08:28
And for extra points...
That will also set the player looking in whatever direction you like after they teleport.
pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
if(strcmp(cmdtext, "/lsairport", true) == 0)
{
SetPlayerPos(playerid, 1708.5780,1606.8759,10.0156);
SetPlayerFacingAngle(playerid,73.0769);
return 1;
}
return 0;
}