SA-MP Forums Archive
teleports and objects move - 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)
+--- Thread: teleports and objects move (/showthread.php?tid=299442)



teleports and objects move - viosteaua98 - 25.11.2011

I have on my server some problems
Why i can't teleport anywhere i can't open or close any gate or any road....
i did all teleports corectly but it doesn't work why?


AW: teleports and objects move - Drebin - 25.11.2011

Missed brackets somewhere ?


Re: teleports and objects move - viosteaua98 - 25.11.2011

what's that?


Re: teleports and objects move - Rob_Maate - 25.11.2011

Give us an example of your "teleport code"


Re: teleports and objects move - Rob_Maate - 25.11.2011

Give us an example of your "teleport code"


Re: teleports and objects move - viosteaua98 - 26.11.2011

pawn Код:
if (strcmp("/lva", cmdtext, true, 10) == 0)
{    
    {
        SetPlayerInterior(playerid,0);
        SetPlayerPos(playerid, 1313.4828,1263.7078,10.8203);
        GameTextForPlayer(playerid,"~g~Las Venturas~r~ Airoport ~p~!!!",4000,6);
        return 1;
    }
}


Re: teleports and objects move - Kostas' - 26.11.2011

pawn Код:
if (strcmp("/lva", cmdtext, true, 4) == 0)
{
    SetPlayerInterior(playerid,0);
    SetPlayerPos(playerid, 1313.4828,1263.7078,10.8203);
    GameTextForPlayer(playerid,"~g~Las Venturas~r~ Airoport ~p~!!!",4000,6);
    return 1;
}



Re: teleports and objects move - viosteaua98 - 26.11.2011

what's diferent ? if (strcmp("/lva", cmdtext, true, 4) == 0) that 4 what help?


Re: teleports and objects move - Kostas' - 26.11.2011

It's 4 because there is 3 letters in lva and 1 "/"