cordinate teleport
#2

STRCMP
pawn Код:
if(strcmp(cmdtext, "/teleport", true) == 0)
{
    SetPlayerPos(playerid, X, Y, Z); //Replace X, Y and Z with your coords.
    return 1;
}
ZCMD
pawn Код:
CMD:teleport(playerid,params[])
{
    SetPlayerPos(playerid, X, Y, Z); //Replace X, Y and Z with your coords.
    return 1;
}
Read this for more information: https://sampwiki.blast.hk/wiki/SetPlayerPos
Reply


Messages In This Thread
cordinate teleport - by popystone - 16.09.2012, 00:36
Re: cordinate teleport - by clarencecuzz - 16.09.2012, 00:41
Re: cordinate teleport - by cosbraa - 16.09.2012, 01:30
Re: cordinate teleport - by clarencecuzz - 16.09.2012, 01:33
Re: cordinate teleport - by JaKe Elite - 16.09.2012, 01:34
Re: cordinate teleport - by popystone - 17.09.2012, 01:10
Re: cordinate teleport - by newbienoob - 17.09.2012, 01:18
Re: cordinate teleport - by JustinAn - 17.09.2012, 01:44
Re: cordinate teleport - by XtremeR - 17.09.2012, 06:04

Forum Jump:


Users browsing this thread: 1 Guest(s)