05.09.2009, 22:09
how do you make a teleport?
|
Originally Posted by XxJoexX
how do you make a teleport?
|
if(strcmp(cmd, "/command", true) == 0) {
//Action such as SetPlayerPos..
return 1;
}
if(strcmp(cmd, "/teleport", true) == 0) {
SetPlayerPos(playerid,X,Y,Z);
SendClientMessage(playerid,color,"You have been teleported");
return 1;
}
and your done.