Teleports
#1

for teleports need sscanf and plugins?
Reply
#2

https://sampwiki.blast.hk/wiki/SetPlayerPos
Reply
#3

man my question for teleport need sscanfs or plugins ?
i have for ex this teleport and it doesn't work

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{

    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;
    }
And it doesn't work
Reply
#4

No, you don't need sscanf or any other plugin for teleport command.
Reply
#5

Do you get any errors/warnings while compiling ?

Actually you only need
pawn Код:
#include <a_samp>
Did you change anything in the a_samp file ?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)