some help with teleports.. - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: some help with teleports.. (
/showthread.php?tid=88539)
some help with teleports.. -
Virtual1ty - 27.07.2009
i need some help about teleports i have this bit of code:
pawn Код:
if(strcmp(cmdtext, "/pegaszhq" true)==0)
{
if (PlayerToPoint(3.0, playerid, 1223.3792,-977.5358,43.4766))
{
SetPlayerPos(playerid, 1286.0178,-985.4011,32.6953);
}
return 1;
}
if(strcmp(cmdtext, "/pegaszroom", true)==0)
{
if (PlayerToPoint(3.0, playerid, 1286.0178,-985.4011,32.6953))
{
SetPlayerPos(playerid, 1223.3792,-977.5358,43.4766);
}
return 1;
}
and i go to the point i setup , and i type the comand , but it wont teleport me :/ ,, any suggestins?
btw i have this in a filterscript
Re: some help with teleports.. -
Paladin - 27.07.2009
is it by chance in an interior?
Re: some help with teleports.. -
Virtual1ty - 28.07.2009
nah its not.. anways i have fixed it , the problem was in incorrect teleport place...