some help with teleports..
#1

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
Reply
#2

is it by chance in an interior?
Reply
#3

nah its not.. anways i have fixed it , the problem was in incorrect teleport place...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)