03.03.2013, 12:41
Hi, how create phone in hands?
SetPlayerSpecialAction(playerid, SPECIAL_ACTION_USECELLPHONE);
SetPlayerAttachedObject(playerid, 1, 330 , 6);//gives the phone in the hand
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USECELLPHONE);//does the animation
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USECELLPHONE);
SetPlayerSpecialAction(playerid,SPECIAL_ACTION_STOPUSECELLPHONE
);
SetPlayerAttachedObject( playerid, 0, 330, 6, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000, 1.000000, 1.000000 ); // cellphone - originalphone
SetPlayerAttachedObject( playerid, 0, 18865, 6, 0.086043, 0.027719, 0.003817, 95.232246, 178.651031, 1.691840, 1.002077, 1.000000, 1.000000 ); // MobilePhone1 - phone1
SetPlayerAttachedObject( playerid, 0, 18866, 6, 0.086043, 0.027719, 0.003817, 95.232246, 178.651031, 1.691840, 1.002077, 1.000000, 1.000000 ); // MobilePhone2 - phone2
SetPlayerAttachedObject( playerid, 0, 18867, 6, 0.086043, 0.027719, 0.003817, 95.232246, 178.651031, 1.691840, 1.002077, 1.000000, 1.000000 ); // MobilePhone3 - phone3
SetPlayerAttachedObject( playerid, 0, 18868, 6, 0.086043, 0.027719, 0.003817, 95.232246, 178.651031, 1.691840, 1.002077, 1.000000, 1.000000 ); // MobilePhone4 - phone4
SetPlayerAttachedObject( playerid, 0, 18869, 6, 0.086043, 0.027719, 0.003817, 95.232246, 178.651031, 1.691840, 1.002077, 1.000000, 1.000000 ); // MobilePhone5 - phone5
SetPlayerAttachedObject( playerid, 0, 18870, 6, 0.086043, 0.027719, 0.003817, 95.232246, 178.651031, 1.691840, 1.002077, 1.000000, 1.000000 ); // MobilePhone6 - phone6
SetPlayerAttachedObject( playerid, 0, 18871, 6, 0.086043, 0.027719, 0.003817, 95.232246, 178.651031, 1.691840, 1.002077, 1.000000, 1.000000 ); // MobilePhone7 - phone7
SetPlayerAttachedObject( playerid, 0, 18872, 6, 0.086043, 0.027719, 0.003817, 95.232246, 178.651031, 1.691840, 1.002077, 1.000000, 1.000000 ); // MobilePhone8 - phone8
SetPlayerAttachedObject( playerid, 0, 18873, 6, 0.086043, 0.027719, 0.003817, 95.232246, 178.651031, 1.691840, 1.002077, 1.000000, 1.000000 ); // MobilePhone9 - phone9
SetPlayerAttachedObject( playerid, 0, 18874, 6, 0.086043, 0.027719, 0.003817, 95.232246, 178.651031, 1.691840, 1.002077, 1.000000, 1.000000 ); // MobilePhone10 - phone10
SetPlayerAttachedObject( playerid, 0, 2966, 6, 0.074420, 0.070006, -0.073053, 95.891288, 182.216491, 0.000000, 1.000000, 1.000000, 1.000000 ); // mobile1993b - phoneb
SetPlayerAttachedObject( playerid, 0, 2967, 6, 0.083958, 0.028343, 0.012803, 93.644790, 180.129531, 355.237335, 1.000000, 1.000000, 1.000000 ); // mobile1993a - phonebla