Help me make cordinate or spawn
#4

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 != -1SetPlayerInterior(playerid,int);
    if(
vw != -1SetPlayerVirtualWorld(playerid,vw);
    
SetCameraBehindPlayer(playerid);
    return 
1;

Reply


Messages In This Thread
Help me make cordinate or spawn - by DandyCorleone - 09.12.2016, 06:38
Re: Help me make cordinate or spawn - by AbyssMorgan - 09.12.2016, 06:45
Re: Help me make cordinate or spawn - by DandyCorleone - 09.12.2016, 06:51
Re: Help me make cordinate or spawn - by AbyssMorgan - 09.12.2016, 06:55
Re: Help me make cordinate or spawn - by DandyCorleone - 10.12.2016, 15:31
Re: Help me make cordinate or spawn - by aymane123 - 10.12.2016, 15:41
Re: Help me make cordinate or spawn - by J0sh... - 10.12.2016, 15:52

Forum Jump:


Users browsing this thread: 2 Guest(s)