Teleport cmd
#5

Quote:
Originally Posted by thefatshizms
Посмотреть сообщение
here is an example :

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    if (strcmp("/teleport", cmdtext, true, 10) == 0)
    {
        SetPlayerPos(playerid, changeme);
        return 1;
    }
    return 0;
}
change the "change me" to the co of ur map hope this helps
Yeah he is right. You can try to explain a bit more fatshizms. But good work. instead of changeme write the co-ordinates like x, y, z.
Reply


Messages In This Thread
Teleport cmd - by Spike Cena - 14.05.2012, 16:33
Re: Teleport cmd - by [KHK]Khalid - 14.05.2012, 16:37
Re: Teleport cmd - by thefatshizms - 14.05.2012, 16:43
Re: Teleport cmd - by Spike Cena - 14.05.2012, 16:47
Re: Teleport cmd - by Faisal_khan - 14.05.2012, 16:49
Re: Teleport cmd - by thefatshizms - 14.05.2012, 16:55
Re: Teleport cmd - by Spike Cena - 14.05.2012, 16:57
Re: Teleport cmd - by Spike Cena - 14.05.2012, 17:02
Re: Teleport cmd - by thefatshizms - 14.05.2012, 17:09
Re: Teleport cmd - by Faisal_khan - 14.05.2012, 17:23

Forum Jump:


Users browsing this thread: 4 Guest(s)