Object:Phone
#1

Hi, i made cmd for phone anim but how to get phone in player hand?
What need to chnage and what function?
Код:
	if (strcmp("/phoneon", cmdtext, true, 10) == 0)
	{
	    SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USECELLPHONE);
	    return 1;
	}
	if (strcmp("/phoneoff", cmdtext, true, 10) == 0)
	{
	    SetPlayerSpecialAction(playerid, SPECIAL_ACTION_STOPUSECELLPHONE);
	    return 1;
	}
Reply
#2

SetPlayerAttachedObject.
Reply
#3

Quote:
Originally Posted by MP2
Посмотреть сообщение
SetPlayerAttachedObject.
thank you!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)