Someone can pick this X,Y,Z attobejct pls?
#6

Quote:
Originally Posted by Jamester
Посмотреть сообщение
You could do this:

PHP код:
public OnPlayerEditObject(playeridplayerobjectobjectidresponseFloat:fXFloat:fYFloat:fZFloat:fRotXFloat:fRotYFloat:fRotZ)
{
    new 
tmp[128];
    
format(tmp128"Pos of object: %f, %f, %f | ROT: %f,%f,%f" fXfYfZfRotXfRotYfRotZ);
    
SendClientMessage(playerid, -1tmp);
    return 
1;
}
CMD:box(playerid) { // Next time, use map editor to get coordinates. 
    
SetPlayerSpecialAction(playeridSPECIAL_ACTION_CARRY);
    
AttachObjectToPlayer(box1playerid1.50.50.00.01.52);
    
EditObject(playeridbox1);
        return 
1;

I was fixed, but ty bro +rep
Reply


Messages In This Thread
Someone can pick this X,Y,Z attobejct pls? - by pedrotvr - 30.11.2015, 12:31
Re: Someone can pick this X,Y,Z attobejct pls? - by Denying - 30.11.2015, 12:36
Re: Someone can pick this X,Y,Z attobejct pls? - by Threshold - 30.11.2015, 12:38
Re: Someone can pick this X,Y,Z attobejct pls? - by Sew_Sumi - 30.11.2015, 13:53
Re: Someone can pick this X,Y,Z attobejct pls? - by J0sh... - 30.11.2015, 14:00
Re: Someone can pick this X,Y,Z attobejct pls? - by pedrotvr - 01.12.2015, 12:01

Forum Jump:


Users browsing this thread: 1 Guest(s)