HOLY SHIT ITAILS NEEDS HELP
#1

Hey, I need help creating a teleport script.

I have looked at these and I do not understand:
https://sampwiki.blast.hk/wiki/SetPlayerPos
https://sampwiki.blast.hk/wiki/AllowPlayerTeleport

When I insert this code into my PAWN Script, I get errors from hell.

pawn Код:
public OnPlayerCommandText(playerid,text[])
{
  if strcmp(text,"/teleport",true)
  {      
    SetPlayerPos(playerid,0.0,0.0,10.0);
  }
}
This is the position I want to put in, and I don't understand how I'm supposed to insert it.
pawn Код:
AddPlayerClass(0,1708.5780,1606.8759,10.0156,73.0769,0,0,0,0,0,0); // lvairportspawn
Thanks in advance!
Reply


Messages In This Thread
HOLY SHIT ITAILS NEEDS HELP - by RobertGraham - 19.06.2009, 05:41
Re: HOLY SHIT ITAILS NEEDS HELP - by Abernethy - 19.06.2009, 05:48
Re: HOLY SHIT ITAILS NEEDS HELP - by RobertGraham - 19.06.2009, 05:51
Re: HOLY SHIT ITAILS NEEDS HELP - by Grim_ - 19.06.2009, 05:53
Re: HOLY SHIT ITAILS NEEDS HELP - by RobertGraham - 19.06.2009, 05:59
Re: HOLY SHIT ITAILS NEEDS HELP - by Grim_ - 19.06.2009, 06:10
Re: HOLY SHIT ITAILS NEEDS HELP - by RobertGraham - 19.06.2009, 06:17
Re: HOLY SHIT ITAILS NEEDS HELP - by Delphinus - 19.06.2009, 08:28
Re: HOLY SHIT ITAILS NEEDS HELP - by Abernethy - 19.06.2009, 09:26
Re: HOLY SHIT ITAILS NEEDS HELP - by Delphinus - 19.06.2009, 09:41

Forum Jump:


Users browsing this thread: 1 Guest(s)