![]() |
#11 |
Huge Clucker
![]() ![]() ![]() Join Date: May 2011
Location: India
Posts: 367
Reputation: 13
|
![]()
Put your /cuff codes here.
|
![]() |
![]() |
![]() |
#12 |
Gangsta
![]() ![]() ![]() ![]() Join Date: Mar 2012
Location: Mi, USA
Posts: 936
Reputation: 158
|
![]()
heres mine but you will need sscanf
Code:
CMD:cuff(playerid, params[]) { new targetid; if(sscanf(params,"r",targetid)) return SendClientMessage(playerid, 0xFF9933FF, "/cuff [playername/id]"); RemovePlayerAttachedObject(targetid, 9); SetPlayerAttachedObject(targetid, 9, 19418, 6, -0.011000, 0.028000, -0.022000, -15.600012, -33.699977, -81.700035, 0.891999, 1.000000, 1.168000); SetPlayerSpecialAction(targetid, SPECIAL_ACTION_CUFFED); return 1; } CMD:uncuff(playerid, params[]) { new targetid; if(sscanf(params,"r",targetid)) return SendClientMessage(playerid, 0xFF9933FF, "/uncuff [playername/id]"); RemovePlayerAttachedObject(targetid, 9); SetPlayerSpecialAction(targetid, SPECIAL_ACTION_NONE); return 1; } as i striped mine and convert from ycmd to zcmd for ya |
![]() |
![]() |
![]() |
#13 |
Huge Clucker
![]() ![]() ![]() Join Date: May 2011
Location: India
Posts: 367
Reputation: 13
|
![]() Code:
CMD:cuff(playerid, params[]) { new targetid; if(sscanf(params,"r",targetid)) return SendClientMessage(playerid, 0xFF9933FF, "/cuff [playername/id]"); RemovePlayerAttachedObject(targetid, 9);// I wonder why you need this code here? SetPlayerAttachedObject(targetid, 9, 19418, 6, -0.011000, 0.028000, -0.022000, -15.600012, -33.699977, -81.700035, 0.891999, 1.000000, 1.168000); SetPlayerSpecialAction(targetid, SPECIAL_ACTION_CUFFED); return 1; } |
![]() |
![]() |
![]() |
#14 |
Gangsta
![]() ![]() ![]() ![]() Join Date: Jun 2011
Posts: 897
Reputation: 45
|
![]()
Thank you i made it!
|
![]() |
![]() |
![]() |
#15 | |
Gangsta
![]() ![]() ![]() ![]() Join Date: Mar 2012
Location: Mi, USA
Posts: 936
Reputation: 158
|
![]() Quote:
On my server I have a system for users to attach objects to their self. But i guess not letting them use slot 9 would be better thanks! regards, |
|
![]() |
![]() |
![]() |
#16 |
Gangsta
![]() ![]() ![]() ![]() Join Date: Jun 2011
Posts: 897
Reputation: 45
|
![]()
can someone give me list of all new anims?
or the command? |
![]() |
![]() |
![]() |
#17 |
Gangsta
![]() ![]() ![]() ![]() Join Date: Mar 2012
Location: Mi, USA
Posts: 936
Reputation: 158
|
![]() |
![]() |
![]() |
![]() |
#18 |
Gangsta
![]() ![]() ![]() ![]() Join Date: Jun 2011
Posts: 897
Reputation: 45
|
![]()
ALL THE SPECIAL ACTIONS ID
|
![]() |
![]() |
![]() |
#19 |
Gangsta
![]() ![]() ![]() ![]() Join Date: Mar 2012
Location: Mi, USA
Posts: 936
Reputation: 158
|
![]() |
![]() |
![]() |
![]() |
Thread Tools | |
Display Modes | |
|
|