Posts: 172
Threads: 57
Joined: May 2016
Quote:
Originally Posted by AbyssMorgan
PHP код:
CMD:tpto(playerid,params[]){
//check is player admin
new Float:x,Float:y,Float:z,Float:angle,int,vw;
if(sscanf(params,"ffffI(-1)I(-1)",x,y,z,angle,int,vw)) return SendClientMessage(playerid,-1,"Usage /tpto <X> <Y> <Z> <A> [interior] [virtualworld]");
SetPlayerPos(playerid,x,y,z);
SetPlayerFacingAngle(playerid,angle);
if(int != -1) SetPlayerInterior(playerid,int);
if(vw != -1) SetPlayerVirtualWorld(playerid,vw);
SetCameraBehindPlayer(playerid);
return 1;
}
|
It is not my intention
I mean how do I get a number cordinated