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


Messages In This Thread
some help with teleports.. - by Virtual1ty - 27.07.2009, 13:37
Re: some help with teleports.. - by Paladin - 27.07.2009, 14:36
Re: some help with teleports.. - by Virtual1ty - 28.07.2009, 09:22

Forum Jump:


Users browsing this thread: 1 Guest(s)