Advertisement
Guest User

Codigo +300 animaciones SA-MP

a guest
Nov 12th, 2018
890
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 54.55 KB | None | 0 0
  1. #define FILTERSCRIPT
  2.  
  3. #include <a_samp>
  4. #include <core>
  5. #include <float>
  6. #include <zcmd>
  7. #include <sscanf2>
  8.  
  9. #undef MAX_PLAYERS
  10. #define MAX_PLAYERS 1000
  11.  
  12.  
  13. #include "../include/gl_common.inc"
  14. #define COLOR_GRAD1 0xB4B5B7FF
  15. #define COLOR_GRAD2 0xBFC0C2FF
  16. #define COLOR_GRAD3 0xCBCCCEFF
  17. #define COLOR_GRAD4 0xD8D8D8FF
  18. #define COLOR_GRAD5 0xE3E3E3FF
  19. #define COLOR_GRAD6 0xF0F0F0FF
  20. #define COLOR_GREEN 0x33AA33AA
  21. #define COLOR_RED 0xFF0000FF
  22. #define COLOR_WHITE 0xFFFFFFAA
  23. #define DIALOG_SHOW_INFO 13337
  24.  
  25. new gPlayerUsingLoopingAnim[MAX_PLAYERS];
  26. new gPlayerAnimLibsPreloaded[MAX_PLAYERS];
  27.  
  28. new Text:txtAnimHelper;
  29.  
  30. //-------------------------------------------------
  31.  
  32. StopLoopingAnim(playerid)
  33. {
  34. gPlayerUsingLoopingAnim[playerid] = 0;
  35. ApplyAnimation(playerid, "CARRY", "crry_prtial", 4.0, 0, 0, 0, 0, 0, 1);
  36. }
  37.  
  38. PreloadAnimLib(playerid, animlib[])
  39. {
  40. ApplyAnimation(playerid,animlib,"null",0.0,0,0,0,0,0,1);
  41. }
  42.  
  43.  
  44. //-------------------------------------------------
  45.  
  46. // ********** CALLBACKS **********
  47.  
  48. public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
  49. {
  50. if(GetPVarInt(playerid, "Injured") != 0) return;
  51. if(!gPlayerUsingLoopingAnim[playerid]) return;
  52.  
  53. if(IsKeyJustDown(KEY_SPRINT,newkeys,oldkeys))
  54. {
  55. StopLoopingAnim(playerid);
  56. TextDrawHideForPlayer(playerid,txtAnimHelper);
  57. }
  58. }
  59.  
  60. //------------------------------------------------
  61.  
  62. public OnPlayerDeath(playerid, killerid, reason)
  63. {
  64. if(gPlayerUsingLoopingAnim[playerid])
  65. {
  66. gPlayerUsingLoopingAnim[playerid] = 0;
  67. TextDrawHideForPlayer(playerid,txtAnimHelper);
  68. }
  69.  
  70. return 1;
  71. }
  72.  
  73. //-------------------------------------------------
  74. stock IsInLowRider(playerid) {
  75. new pveh = GetPlayerVehicleID(playerid);
  76. switch(GetVehicleModel(pveh)) {
  77. case 536, 575, 567: return 1;
  78. }
  79. return 0;
  80. }
  81.  
  82. public OnPlayerSpawn(playerid)
  83. {
  84. if(!gPlayerAnimLibsPreloaded[playerid])
  85. {
  86. PreloadAnimLib(playerid,"AIRPORT");
  87. PreloadAnimLib(playerid,"Attractors");
  88. PreloadAnimLib(playerid,"BAR");
  89. PreloadAnimLib(playerid,"BASEBALL");
  90. PreloadAnimLib(playerid,"BD_FIRE");
  91. PreloadAnimLib(playerid,"benchpress");
  92. PreloadAnimLib(playerid,"BF_injection");
  93. PreloadAnimLib(playerid,"BIKED");
  94. PreloadAnimLib(playerid,"BIKEH");
  95. PreloadAnimLib(playerid,"BIKELEAP");
  96. PreloadAnimLib(playerid,"BIKES");
  97. PreloadAnimLib(playerid,"BIKEV");
  98. PreloadAnimLib(playerid,"BIKE_DBZ");
  99. PreloadAnimLib(playerid,"BMX");
  100. PreloadAnimLib(playerid,"BOX");
  101. PreloadAnimLib(playerid,"BSKTBALL");
  102. PreloadAnimLib(playerid,"BUDDY");
  103. PreloadAnimLib(playerid,"BUS");
  104. PreloadAnimLib(playerid,"CAMERA");
  105. PreloadAnimLib(playerid,"CAR");
  106. PreloadAnimLib(playerid,"CAR_CHAT");
  107. PreloadAnimLib(playerid,"CASINO");
  108. PreloadAnimLib(playerid,"CHAINSAW");
  109. PreloadAnimLib(playerid,"CHOPPA");
  110. PreloadAnimLib(playerid,"CLOTHES");
  111. PreloadAnimLib(playerid,"COACH");
  112. PreloadAnimLib(playerid,"COLT45");
  113. PreloadAnimLib(playerid,"COP_DVBYZ");
  114. PreloadAnimLib(playerid,"CRIB");
  115. PreloadAnimLib(playerid,"DAM_JUMP");
  116. PreloadAnimLib(playerid,"DANCING");
  117. PreloadAnimLib(playerid,"DILDO");
  118. PreloadAnimLib(playerid,"DODGE");
  119. PreloadAnimLib(playerid,"DOZER");
  120. PreloadAnimLib(playerid,"DRIVEBYS");
  121. PreloadAnimLib(playerid,"FAT");
  122. PreloadAnimLib(playerid,"FIGHT_B");
  123. PreloadAnimLib(playerid,"FIGHT_C");
  124. PreloadAnimLib(playerid,"FIGHT_D");
  125. PreloadAnimLib(playerid,"FIGHT_E");
  126. PreloadAnimLib(playerid,"FINALE");
  127. PreloadAnimLib(playerid,"FINALE2");
  128. PreloadAnimLib(playerid,"Flowers");
  129. PreloadAnimLib(playerid,"FOOD");
  130. PreloadAnimLib(playerid,"Freeweights");
  131. PreloadAnimLib(playerid,"GANGS");
  132. PreloadAnimLib(playerid,"GHANDS");
  133. PreloadAnimLib(playerid,"GHETTO_DB");
  134. PreloadAnimLib(playerid,"goggles");
  135. PreloadAnimLib(playerid,"GRAFFITI");
  136. PreloadAnimLib(playerid,"GRAVEYARD");
  137. PreloadAnimLib(playerid,"GRENADE");
  138. PreloadAnimLib(playerid,"GYMNASIUM");
  139. PreloadAnimLib(playerid,"HAIRCUTS");
  140. PreloadAnimLib(playerid,"HEIST9");
  141. PreloadAnimLib(playerid,"INT_HOUSE");
  142. PreloadAnimLib(playerid,"INT_OFFICE");
  143. PreloadAnimLib(playerid,"INT_SHOP");
  144. PreloadAnimLib(playerid,"JST_BUISNESS");
  145. PreloadAnimLib(playerid,"KART");
  146. PreloadAnimLib(playerid,"KISSING");
  147. PreloadAnimLib(playerid,"KNIFE");
  148. PreloadAnimLib(playerid,"LAPDAN1");
  149. PreloadAnimLib(playerid,"LAPDAN2");
  150. PreloadAnimLib(playerid,"LAPDAN3");
  151. PreloadAnimLib(playerid,"LOWRIDER");
  152. PreloadAnimLib(playerid,"MD_CHASE");
  153. PreloadAnimLib(playerid,"MEDIC");
  154. PreloadAnimLib(playerid,"MD_END");
  155. PreloadAnimLib(playerid,"MISC");
  156. PreloadAnimLib(playerid,"MTB");
  157. PreloadAnimLib(playerid,"MUSCULAR");
  158. PreloadAnimLib(playerid,"NEVADA");
  159. PreloadAnimLib(playerid,"ON_LOOKERS");
  160. PreloadAnimLib(playerid,"OTB");
  161. PreloadAnimLib(playerid,"PARACHUTE");
  162. PreloadAnimLib(playerid,"PARK");
  163. PreloadAnimLib(playerid,"PAULNMAC");
  164. PreloadAnimLib(playerid,"PED");
  165. PreloadAnimLib(playerid,"PLAYER_DVBYS");
  166. PreloadAnimLib(playerid,"PLAYIDLES");
  167. PreloadAnimLib(playerid,"POLICE");
  168. PreloadAnimLib(playerid,"POOL");
  169. PreloadAnimLib(playerid,"POOR");
  170. PreloadAnimLib(playerid,"PYTHON");
  171. PreloadAnimLib(playerid,"QUAD");
  172. PreloadAnimLib(playerid,"QUAD_DBZ");
  173. PreloadAnimLib(playerid,"RIFLE");
  174. PreloadAnimLib(playerid,"RIOT");
  175. PreloadAnimLib(playerid,"ROB_BANK");
  176. PreloadAnimLib(playerid,"ROCKET");
  177. PreloadAnimLib(playerid,"RUSTLER");
  178. PreloadAnimLib(playerid,"RYDER");
  179. PreloadAnimLib(playerid,"SCRATCHING");
  180. PreloadAnimLib(playerid,"SHAMAL");
  181. PreloadAnimLib(playerid,"SHOTGUN");
  182. PreloadAnimLib(playerid,"SILENCED");
  183. PreloadAnimLib(playerid,"SKATE");
  184. PreloadAnimLib(playerid,"SPRAYCAN");
  185. PreloadAnimLib(playerid,"STRIP");
  186. PreloadAnimLib(playerid,"SUNBATHE");
  187. PreloadAnimLib(playerid,"SWAT");
  188. PreloadAnimLib(playerid,"SWEET");
  189. PreloadAnimLib(playerid,"SWIM");
  190. PreloadAnimLib(playerid,"SWORD");
  191. PreloadAnimLib(playerid,"TANK");
  192. PreloadAnimLib(playerid,"TATTOOS");
  193. PreloadAnimLib(playerid,"TEC");
  194. PreloadAnimLib(playerid,"TRAIN");
  195. PreloadAnimLib(playerid,"TRUCK");
  196. PreloadAnimLib(playerid,"UZI");
  197. PreloadAnimLib(playerid,"VAN");
  198. PreloadAnimLib(playerid,"VENDING");
  199. PreloadAnimLib(playerid,"VORTEX");
  200. PreloadAnimLib(playerid,"WAYFARER");
  201. PreloadAnimLib(playerid,"WEAPONS");
  202. PreloadAnimLib(playerid,"WUZI");
  203. PreloadAnimLib(playerid,"SNM");
  204. PreloadAnimLib(playerid,"BLOWJOBZ");
  205. PreloadAnimLib(playerid,"SEX");
  206. PreloadAnimLib(playerid,"BOMBER");
  207. PreloadAnimLib(playerid,"RAPPING");
  208. PreloadAnimLib(playerid,"SHOP");
  209. PreloadAnimLib(playerid,"BEACH");
  210. PreloadAnimLib(playerid,"SMOKING");
  211. PreloadAnimLib(playerid,"FOOD");
  212. PreloadAnimLib(playerid,"ON_LOOKERS");
  213. PreloadAnimLib(playerid,"DEALER");
  214. PreloadAnimLib(playerid,"CRACK");
  215. PreloadAnimLib(playerid,"CARRY");
  216. PreloadAnimLib(playerid,"COP_AMBIENT");
  217. PreloadAnimLib(playerid,"PARK");
  218. PreloadAnimLib(playerid,"INT_HOUSE");
  219. PreloadAnimLib(playerid,"FOOD");
  220. gPlayerAnimLibsPreloaded[playerid] = 1;
  221. }
  222. return 1;
  223. }
  224.  
  225. //-------------------------------------------------
  226.  
  227. public OnPlayerConnect(playerid)
  228. {
  229. gPlayerUsingLoopingAnim[playerid] = 0;
  230. gPlayerAnimLibsPreloaded[playerid] = 0;
  231.  
  232. return 1;
  233. }
  234.  
  235. //-------------------------------------------------
  236.  
  237. public OnFilterScriptInit()
  238. {
  239. txtAnimHelper = TextDrawCreate(630.0, 420.0,
  240. "~r~~k~~PED_SPRINT~ ~w~to stop the animation");
  241. TextDrawUseBox(txtAnimHelper, 0);
  242. TextDrawFont(txtAnimHelper, 2);
  243. TextDrawSetShadow(txtAnimHelper,0);
  244. TextDrawSetOutline(txtAnimHelper,1);
  245. TextDrawBackgroundColor(txtAnimHelper,0x000000FF);
  246. TextDrawColor(txtAnimHelper,0xFFFFFFFF);
  247. TextDrawAlignment(txtAnimHelper,3);
  248. }
  249.  
  250. CMD:animlist(playerid, params[])// 24/02/2014
  251. {
  252. new str[3500];
  253. strcat(str, "/fall - /fallback - /injured - /akick - /push - /lowbodypush - /handsup - /bomb - /drunk - /getarrested - /laugh - /sup\n");
  254. strcat(str, "/basket - /headbutt - /medic - /spray - /robman - /taichi - /lookout - /kiss - /cellin - /cellout - /crossarms - /lay\n");
  255. strcat(str, "/deal - /crack - /smokeanim - /groundsit - /chat - /chat2 - /dance - /fucku - /strip - /hide - /vomit - /eat - /chairsit - /reload\n");
  256. strcat(str, "/koface - /kostomach - /rollfall - /carjacked1 - /carjacked2 - /rcarjack1 - /rcarjack2 - /lcarjack1 - /lcarjack2 - /bat\n");
  257. strcat(str, "/lifejump - /exhaust - /leftslap - /carlock - /hoodfrisked - /lightcig - /tapcig - /box - /lay2 - /chant - /finger\n");
  258. strcat(str, "/shouting - /knife - /cop - /elbow - /kneekick - /airkick - /gkick - /gpunch - /fstance - /lowthrow - /highthrow - /aim\n");
  259. strcat(str, "/pee - /lean - /run - /poli - /surrender - /sit - /breathless - /seat - /rap - /cross - /ped - /jiggy - /gesture\n");
  260. strcat(str, "/sleep - /smoke - /urinate - /chora - /relax - /crabs - /stop - /wash - /mourn - /fuck - /tosteal\n");
  261. strcat(str, "/followme - /greeting - /still - /hitch - /palmbitch - /cpranim - /giftgiving - /slap2 - /pump - /cheer\n");
  262. strcat(str, "/dj - /entrenar - /foodeat - /wave - /slapass - /dealer - /dealstance - /gwalk - /inbedright - /inbedleft\n");
  263. strcat(str, "/wank - /sexy - /bj - /getup - /follow - /stand - /slapped - /slapass - /yes - /celebrate - /win - /checkout\n");
  264. strcat(str, "/thankyou - /invite1 - /scratch - /nod - /cry - /carsmoke - /benddown - /shakehead - /angry\n");
  265. strcat(str, "/cockgun - /bar - /liftup - /putdown - /die - /joint - /bed - /lranim\n");
  266. ShowPlayerDialog(playerid, DIALOG_SHOW_INFO, DIALOG_STYLE_MSGBOX, "{FFFFFF}Animations", str, "Ok", "Cancel");
  267. return 1;
  268. }
  269.  
  270. CMD:animhelp(playerid, params[])
  271. {
  272. return cmd_animlist(playerid, params);
  273. }
  274.  
  275.  
  276. CMD:surrender(playerid,params[])
  277. {
  278. if(GetPlayerState(playerid) == PLAYER_STATE_ONFOOT && GetPVarInt(playerid, "Injured") == 0)
  279. {
  280. SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
  281. return 1;
  282. }
  283. else return SendClientMessage(playerid, COLOR_GRAD2, "[ERROR]: No puedes usar este comando ahora.");
  284. }
  285.  
  286. CMD:sit(playerid,params[])
  287. {
  288. new anim;
  289.  
  290. if(sscanf(params, "d", anim)) return SendClientMessage(playerid,COLOR_WHITE,"USE: /sit [1-5]");
  291. switch(anim){
  292. case 1: ApplyAnimation(playerid,"BEACH","bather",4.1, 0, 1, 1, 1, 1, 1);
  293. case 2: ApplyAnimation(playerid,"BEACH","Lay_Bac_Loop",4.1, 0, 1, 1, 1, 1, 1);
  294. case 3: ApplyAnimation(playerid,"BEACH","ParkSit_W_loop",4.1, 0, 1, 1, 1, 1, 1);
  295. case 4: ApplyAnimation(playerid,"BEACH","SitnWait_loop_W",4.1, 0, 1, 1, 1, 1, 1);
  296. case 5: ApplyAnimation(playerid,"BEACH","SitnWait_loop_W",4.1, 0, 1, 1, 1, 1, 1);
  297. case 6: ApplyAnimation(playerid,"BEACH", "ParkSit_M_loop", 4.1, 0, 1, 1, 1, 1, 1);
  298. default: return SendClientMessage(playerid,COLOR_WHITE,"USE: /sit [1-5]");
  299. }
  300. return 1;
  301. }
  302.  
  303. CMD:sleep(playerid,params[])
  304. {
  305. new anim;
  306.  
  307. if(sscanf(params, "d", anim)) return SendClientMessage(playerid,COLOR_WHITE,"USE: /sleep [1-2]");
  308. switch(anim){
  309. case 1: ApplyAnimation(playerid,"CRACK","crckdeth4",4.1, 0, 1, 1, 1, 1, 1);
  310. case 2: ApplyAnimation(playerid,"CRACK","crckidle2",4.1, 0, 1, 1, 1, 1, 1);
  311. }
  312. return 1;
  313. }
  314. CMD:cheer(playerid,params[])
  315. {
  316. new anim;
  317.  
  318. if(sscanf(params, "d", anim)) return SendClientMessage(playerid,COLOR_WHITE,"USE: /cheer [1-8]");
  319. switch(anim){
  320. case 1: ApplyAnimation(playerid,"ON_LOOKERS","shout_01",4.1, 0, 1, 1, 1, 1, 1);
  321. case 2: ApplyAnimation(playerid,"ON_LOOKERS","shout_02",4.1, 0, 1, 1, 1, 1, 1);
  322. case 3: ApplyAnimation(playerid,"ON_LOOKERS","shout_in",4.1, 0, 1, 1, 1, 1, 1);
  323. case 4: ApplyAnimation(playerid,"RIOT","RIOT_ANGRY_B",4.1, 0, 1, 1, 1, 1, 1);
  324. case 5: ApplyAnimation(playerid,"RIOT","RIOT_CHANT",4.1, 0, 1, 1, 1, 1, 1);
  325. case 6: ApplyAnimation(playerid,"RIOT","RIOT_shout",4.1, 0, 1, 1, 1, 1, 1);
  326. case 7: ApplyAnimation(playerid,"STRIP","PUN_HOLLER",4.1, 0, 1, 1, 1, 1, 1);
  327. case 8: ApplyAnimation(playerid,"OTB","wtchrace_win",4.1, 0, 1, 1, 1, 1, 1);
  328. }
  329. return 1;
  330. }
  331.  
  332. CMD:urinate(playerid,params[]){
  333.  
  334. if(GetPVarInt(playerid, "Injured") == 1) return SendClientMessage(playerid, COLOR_GRAD2, "[ERROR]: No puedes usar este comando ahora.");
  335. SetPlayerSpecialAction(playerid, 68);
  336. return 1;
  337. }
  338.  
  339. CMD:dj(playerid,params[]){
  340. new anim;
  341.  
  342. if(sscanf(params, "d", anim)) return SendClientMessage(playerid,COLOR_WHITE,"USE: /dj [1-4]");
  343. switch(anim){
  344. case 1: ApplyAnimation(playerid,"SCRATCHING","scdldlp",4.1, 0, 1, 1, 1, 1, 1);
  345. case 2: ApplyAnimation(playerid,"SCRATCHING","scdlulp",4.1, 0, 1, 1, 1, 1, 1);
  346. case 3: ApplyAnimation(playerid,"SCRATCHING","scdrdlp",4.1, 0, 1, 1, 1, 1, 1);
  347. case 4: ApplyAnimation(playerid,"SCRATCHING","scdrulp",4.1, 0, 1, 1, 1, 1, 1);
  348. default: return SendClientMessage(playerid,COLOR_WHITE,"USE: /dj [1-4]");
  349. }
  350. return 1;
  351. }
  352.  
  353. CMD:breathless(playerid,params[]){
  354. new anim;
  355.  
  356. if(sscanf(params, "d", anim)) return SendClientMessage(playerid,COLOR_WHITE,"USE: /breathless [1-2]");
  357. switch(anim){
  358. case 1: ApplyAnimation(playerid,"PED","IDLE_tired",4.1, 0, 1, 1, 1, 1, 1);
  359. case 2: ApplyAnimation(playerid,"FAT","IDLE_tired",4.1, 0, 1, 1, 1, 1, 1);
  360. default: return SendClientMessage(playerid,COLOR_WHITE,"USE: /breathless [1-2]");
  361. }
  362. return 1;
  363. }
  364.  
  365. CMD:poli(playerid,params[]){
  366. new anim;
  367.  
  368. if(sscanf(params, "d", anim)) return SendClientMessage(playerid,COLOR_WHITE,"USE: /poli [1-2]");
  369. switch(anim){
  370. case 1:ApplyAnimation(playerid,"POLICE","CopTraf_Come",4.1, 0, 1, 1, 1, 1, 1);
  371. case 2:ApplyAnimation(playerid,"POLICE","CopTraf_Stop",4.1, 0, 1, 1, 1, 1, 1);
  372. default: return SendClientMessage(playerid,COLOR_WHITE,"USE: /poli [1-2]");
  373. }
  374. return 1;
  375. }
  376.  
  377. CMD:seat(playerid,params[]){
  378. new anim;
  379.  
  380. if(sscanf(params, "d", anim)) return SendClientMessage(playerid,COLOR_WHITE,"USE: /seat [1-7]");
  381. if(anim < 1 || anim > 7) return SendClientMessage(playerid,COLOR_WHITE,"USE: /seat [1-7]");
  382. switch(anim){
  383. case 1: ApplyAnimation(playerid,"Attractors","Stepsit_in",4.1, 0, 1, 1, 1, 1, 1);// Not looping
  384. case 2: ApplyAnimation(playerid,"CRIB","PED_Console_Loop",4.1, 0, 1, 1, 1, 1, 1);
  385. case 3: ApplyAnimation(playerid,"INT_HOUSE","LOU_In",4.1, 0, 1, 1, 1, 1, 1); // Not looping
  386. case 4: ApplyAnimation(playerid,"MISC","SEAT_LR",4.1, 0, 1, 1, 1, 1, 1);
  387. case 5: ApplyAnimation(playerid,"MISC","Seat_talk_01",4.1, 0, 1, 1, 1, 1, 1);
  388. case 6: ApplyAnimation(playerid,"MISC","Seat_talk_02",4.1, 0, 1, 1, 1, 1, 1);
  389. case 7: ApplyAnimation(playerid,"ped","SEAT_down",4.1, 0, 1, 1, 1, 1, 1); // Not looping
  390. }
  391. return 1;
  392. }
  393.  
  394. CMD:dance(playerid,params[]){
  395. new dancestyle;
  396. if(sscanf(params, "d", dancestyle)) return SendClientMessage(playerid,COLOR_WHITE,"USE: /dance [1-3]");
  397. switch(dancestyle){
  398. case 1: SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DANCE1);
  399. case 2: SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DANCE2);
  400. case 3: SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DANCE3);
  401. case 4: SetPlayerSpecialAction(playerid, SPECIAL_ACTION_DANCE4);
  402. }
  403. return 1;
  404. }
  405.  
  406. CMD:cross(playerid,params[]){
  407. new anim;
  408. if(sscanf(params, "d", anim)) return SendClientMessage(playerid,COLOR_WHITE,"USE: /cross [1-5]");
  409.  
  410. switch(anim){
  411. case 1: ApplyAnimation(playerid, "COP_AMBIENT", "Coplook_loop", 4.1, 0, 1, 1, 1, 1, 1);
  412. case 2: ApplyAnimation(playerid, "DEALER", "DEALER_IDLE", 4.1, 0, 1, 1, 1, 1, 1);
  413. case 3: ApplyAnimation(playerid, "DEALER", "DEALER_IDLE_01", 4.1, 0, 1, 1, 1, 1, 1);
  414. case 4: ApplyAnimation(playerid,"GRAVEYARD","mrnM_loop",4.1, 0, 1, 1, 1, 1, 1);
  415. case 5: ApplyAnimation(playerid,"GRAVEYARD","prst_loopa",4.1, 0, 1, 1, 1, 1, 1);
  416. default: return SendClientMessage(playerid,COLOR_WHITE,"USE: /cross [1-5]");
  417. }
  418. return 1;
  419. }
  420.  
  421. CMD:jiggy(playerid,params[])
  422. {
  423. new anim;
  424. if(sscanf(params, "d", anim)) return SendClientMessage(playerid,COLOR_WHITE,"USE: /jiggy [1-10]");
  425. switch(anim){
  426. case 1: ApplyAnimation(playerid,"DANCING","DAN_Down_A",4.1, 0, 1, 1, 1, 1, 1);
  427. case 2: ApplyAnimation(playerid,"DANCING","DAN_Left_A",4.1, 0, 1, 1, 1, 1, 1);
  428. case 3: ApplyAnimation(playerid,"DANCING","DAN_Loop_A",4.1, 0, 1, 1, 1, 1, 1);
  429. case 4: ApplyAnimation(playerid,"DANCING","DAN_Right_A",4.1, 0, 1, 1, 1, 1, 1);
  430. case 5: ApplyAnimation(playerid,"DANCING","DAN_Up_A",4.1, 0, 1, 1, 1, 1, 1);
  431. case 6: ApplyAnimation(playerid,"DANCING","dnce_M_a",4.1, 0, 1, 1, 1, 1, 1);
  432. case 7: ApplyAnimation(playerid,"DANCING","dnce_M_b",4.1, 0, 1, 1, 1, 1, 1);
  433. case 8: ApplyAnimation(playerid,"DANCING","dnce_M_c",4.1, 0, 1, 1, 1, 1, 1);
  434. case 9: ApplyAnimation(playerid,"DANCING","dnce_M_c",4.1, 0, 1, 1, 1, 1, 1);
  435. case 10: ApplyAnimation(playerid,"DANCING","dnce_M_d",4.1, 0, 1, 1, 1, 1, 1);
  436. default: return SendClientMessage(playerid,COLOR_WHITE,"USE: /jiggy [1-10]");
  437. }
  438. return 1;
  439. }
  440.  
  441. CMD:ped(playerid,params[]){
  442. new anim;
  443. if(sscanf(params, "d", anim)) return SendClientMessage(playerid,COLOR_WHITE,"USE: /ped [1-26]");
  444. switch(anim){
  445. case 1: ApplyAnimation(playerid,"PED","JOG_femaleA",4.1, 0, 1, 1, 1, 1, 1);
  446. case 2: ApplyAnimation(playerid,"PED","JOG_maleA",4.1, 0, 1, 1, 1, 1, 1);
  447. case 3: ApplyAnimation(playerid,"PED","WOMAN_walkfatold",4.1, 0, 1, 1, 1, 1, 1);
  448. case 4: ApplyAnimation(playerid,"PED","run_fat",4.1, 0, 1, 1, 1, 1, 1);
  449. case 5: ApplyAnimation(playerid,"PED","run_fatold",4.1, 0, 1, 1, 1, 1, 1);
  450. case 6: ApplyAnimation(playerid,"PED","run_old",4.1, 0, 1, 1, 1, 1, 1);
  451. case 7: ApplyAnimation(playerid,"PED","Run_Wuzi",4.1, 0, 1, 1, 1, 1, 1);
  452. case 8: ApplyAnimation(playerid,"PED","swat_run",4.1, 0, 1, 1, 1, 1, 1);
  453. case 9: ApplyAnimation(playerid,"PED","WALK_fat",4.1, 0, 1, 1, 1, 1, 1);
  454. case 10: ApplyAnimation(playerid,"PED","WALK_fatold",4.1, 0, 1, 1, 1, 1, 1);
  455. case 11: ApplyAnimation(playerid,"PED","WALK_gang1",4.1, 0, 1, 1, 1, 1, 1);
  456. case 12: ApplyAnimation(playerid,"PED","WALK_gang2",4.1, 0, 1, 1, 1, 1, 1);
  457. case 13: ApplyAnimation(playerid,"PED","WALK_old",4.1, 0, 1, 1, 1, 1, 1);
  458. case 14: ApplyAnimation(playerid,"PED","WALK_shuffle",4.1, 0, 1, 1, 1, 1, 1);
  459. case 15: ApplyAnimation(playerid,"PED","woman_run",4.1, 0, 1, 1, 1, 1, 1);
  460. case 16: ApplyAnimation(playerid,"PED","WOMAN_runbusy",4.1, 0, 1, 1, 1, 1, 1);
  461. case 17: ApplyAnimation(playerid,"PED","WOMAN_runfatold",4.1, 0, 1, 1, 1, 1, 1);
  462. case 18: ApplyAnimation(playerid,"PED","woman_runpanic",4.1, 0, 1, 1, 1, 1, 1);
  463. case 19: ApplyAnimation(playerid,"PED","WOMAN_runsexy",4.1, 0, 1, 1, 1, 1, 1);
  464. case 20: ApplyAnimation(playerid,"PED","WOMAN_walkbusy",4.1, 0, 1, 1, 1, 1, 1);
  465. case 21: ApplyAnimation(playerid,"PED","WOMAN_walkfatold",4.1, 0, 1, 1, 1, 1, 1);
  466. case 22: ApplyAnimation(playerid,"PED","WOMAN_walknorm",4.1, 0, 1, 1, 1, 1, 1);
  467. case 23: ApplyAnimation(playerid,"PED","WOMAN_walkold",4.1, 0, 1, 1, 1, 1, 1);
  468. case 24: ApplyAnimation(playerid,"PED","WOMAN_walkpro",4.1, 0, 1, 1, 1, 1, 1);
  469. case 25: ApplyAnimation(playerid,"PED","WOMAN_walksexy",4.1, 0, 1, 1, 1, 1, 1);
  470. case 26: ApplyAnimation(playerid,"PED","WOMAN_walkshop",4.1, 0, 1, 1, 1, 1, 1);
  471. default: return SendClientMessage(playerid,COLOR_WHITE,"USE: /ped [1-26]");
  472. }
  473. return 1;
  474. }
  475.  
  476. CMD:rap(playerid,params[]){
  477. new rapstyle;
  478. if(sscanf(params, "d", rapstyle)) return SendClientMessage(playerid, COLOR_WHITE, "USE: /rap [1-3]");
  479. switch(rapstyle){
  480. case 1: ApplyAnimation(playerid,"RAPPING","RAP_A_Loop",4.1, 0, 1, 1, 1, 1, 1);
  481. case 2: ApplyAnimation(playerid,"RAPPING","RAP_B_Loop",4.1, 0, 1, 1, 1, 1, 1);
  482. case 3: ApplyAnimation(playerid,"RAPPING","RAP_C_Loop",4.1, 0, 1, 1, 1, 1, 1);
  483. default: return SendClientMessage(playerid,COLOR_WHITE,"USE: /rap [1-3]");
  484. }
  485. return 1;
  486. }
  487.  
  488. CMD:gesture(playerid,params[]){
  489. new gesture;
  490. if(sscanf(params, "d", gesture)) return SendClientMessage(playerid, COLOR_WHITE, "USE: /gesture [1-15]");
  491. switch(gesture){
  492. case 1: ApplyAnimation(playerid,"GHANDS","gsign1",4.1, 0, 1, 1, 1, 1, 1);
  493. case 2: ApplyAnimation(playerid,"GHANDS","gsign1LH",4.1, 0, 1, 1, 1, 1, 1);
  494. case 3: ApplyAnimation(playerid,"GHANDS","gsign2",4.1, 0, 1, 1, 1, 1, 1);
  495. case 4: ApplyAnimation(playerid,"GHANDS","gsign2LH",4.1, 0, 1, 1, 1, 1, 1);
  496. case 5: ApplyAnimation(playerid,"GHANDS","gsign3",4.1, 0, 1, 1, 1, 1, 1);
  497. case 6: ApplyAnimation(playerid,"GHANDS","gsign3LH",4.1, 0, 1, 1, 1, 1, 1);
  498. case 7: ApplyAnimation(playerid,"GHANDS","gsign4",4.1, 0, 1, 1, 1, 1, 1);
  499. case 8: ApplyAnimation(playerid,"GHANDS","gsign4LH",4.1, 0, 1, 1, 1, 1, 1);
  500. case 9: ApplyAnimation(playerid,"GHANDS","gsign5",4.1, 0, 1, 1, 1, 1, 1);
  501. case 10: ApplyAnimation(playerid,"GHANDS","gsign5",4.1, 0, 1, 1, 1, 1, 1);
  502. case 11: ApplyAnimation(playerid,"GHANDS","gsign5LH",4.1, 0, 1, 1, 1, 1, 1);
  503. case 12: ApplyAnimation(playerid,"GANGS","Invite_No",4.1, 0, 1, 1, 1, 1, 1);
  504. case 13: ApplyAnimation(playerid,"GANGS","Invite_Yes",4.1, 0, 1, 1, 1, 1, 1);
  505. case 14: ApplyAnimation(playerid,"GANGS","prtial_gngtlkD",4.1, 0, 1, 1, 1, 1, 1);
  506. case 15: ApplyAnimation(playerid,"GANGS","smkcig_prtl",4.1, 0, 1, 1, 1, 1, 1);
  507. default: return SendClientMessage(playerid,COLOR_WHITE,"USE: /gesture [1-15]");
  508. }
  509. return 1;
  510. }
  511.  
  512. CMD:smoke(playerid,params[]){
  513. new gesture;
  514.  
  515. if(sscanf(params, "d", gesture)) return SendClientMessage(playerid, COLOR_WHITE, "USE: /smoke [1-2]");
  516. switch(gesture){
  517. case 1: ApplyAnimation(playerid,"SMOKING","M_smk_in",4.1, 0, 1, 1, 1, 1, 1);
  518. case 2: ApplyAnimation(playerid,"SMOKING","M_smklean_loop",4.1, 0, 1, 1, 1, 1, 1);
  519. default: return SendClientMessage(playerid, COLOR_WHITE, "USE: /smoke [1-2]");
  520. }
  521. return 1;
  522. }
  523.  
  524. CMD:chora(playerid,params[]) { ApplyAnimation(playerid, "COP_AMBIENT", "Coplook_watch",4.1, 0, 1, 1, 1, 1, 1); return 1; }
  525. CMD:relax(playerid,params[]) { ApplyAnimation(playerid, "CRACK", "crckidle1",4.1, 0, 1, 1, 1, 1, 1); return 1; }
  526. CMD:crabs(playerid,params[]) { ApplyAnimation(playerid,"MISC","Scratchballs_01",4.1, 0, 1, 1, 1, 1, 1); return 1; }
  527. CMD:greeting(playerid,params[]) { ApplyAnimation(playerid,"ON_LOOKERS","Pointup_loop",4.1, 0, 1, 1, 1, 1, 1); return 1; }
  528. CMD:stop(playerid,params[]) { ApplyAnimation(playerid,"PED","endchat_01",4.1, 0, 1, 1, 1, 1, 1); return 1; }
  529. CMD:wash(playerid,params[]) { ApplyAnimation(playerid,"BD_FIRE","wash_up",4.1, 0, 1, 1, 1, 1, 1); return 1; }
  530. CMD:mourn(playerid,params[]) { ApplyAnimation(playerid,"GRAVEYARD","mrnF_loop",4.1, 0, 1, 1, 1, 1, 1); return 1; }
  531. CMD:followme(playerid,params[]) { ApplyAnimation(playerid,"WUZI","Wuzi_follow",4.1, 0, 1, 1, 1, 1, 1); return 1; }
  532. CMD:still(playerid,params[]) { ApplyAnimation(playerid,"WUZI","Wuzi_stand_loop", 4.1, 0, 1, 1, 1, 1, 1); return 1; }
  533. CMD:hitch(playerid,params[]) { ApplyAnimation(playerid,"MISC","Hiker_Pose", 4.1, 0, 1, 1, 1, 1, 1); return 1; }
  534. CMD:palmbitch(playerid,params[]) { ApplyAnimation(playerid,"MISC","bitchslap",4.1, 0, 1, 1, 1, 1, 1); return 1; }
  535. CMD:cpranim(playerid,params[]) { ApplyAnimation(playerid,"MEDIC","CPR",4.1, 0, 1, 1, 1, 1, 1); return 1; }
  536. CMD:giftgiving(playerid,params[]) { ApplyAnimation(playerid,"KISSING","gift_give",4.1, 0, 1, 1, 1, 1, 1); return 1; }
  537. CMD:slap2(playerid,params[]) { ApplyAnimation(playerid,"SWEET","sweet_ass_slap",4.1, 0, 1, 1, 1, 1, 1); return 1; }
  538. CMD:drunk(playerid,params[]) { ApplyAnimation(playerid,"PED","WALK_DRUNK",4.1, 0, 1, 1, 1, 1, 1); return 1; }
  539. CMD:pump(playerid,params[]) { ApplyAnimation(playerid, "BOMBER", "BOM_Plant", 4.1, 0, 1, 1, 1, 1, 1); return 1; }
  540. CMD:tosteal(playerid,params[]) { ApplyAnimation(playerid,"ped", "ARRESTgun", 4.1, 0, 1, 1, 1, 1, 1); return 1; }
  541. CMD:laugh(playerid,params[]) { ApplyAnimation(playerid, "RAPPING", "Laugh_01", 4.1, 0, 1, 1, 1, 1, 1); return 1; }
  542. CMD:lookout(playerid,params[]) { ApplyAnimation(playerid, "SHOP", "ROB_Shifty", 4.1, 0, 1, 1, 1, 1, 1); return 1; }
  543. CMD:robman(playerid,params[]) { ApplyAnimation(playerid, "SHOP", "ROB_Loop_Threat", 4.1, 0, 1, 1, 1, 1, 1); return 1; }
  544. CMD:hide(playerid,params[]) { ApplyAnimation(playerid, "ped", "cower",4.1, 0, 1, 1, 1, 1, 1); return 1; }
  545. CMD:vomit(playerid,params[]) { ApplyAnimation(playerid, "FOOD", "EAT_Vomit_P", 4.1, 0, 1, 1, 1, 1, 1); return 1; }
  546. CMD:eat(playerid,params[]) { ApplyAnimation(playerid, "FOOD", "EAT_Burger", 4.1, 0, 1, 1, 1, 1, 1); return 1; }
  547. CMD:crack(playerid,params[]) { ApplyAnimation(playerid, "CRACK", "crckdeth2", 4.1, 0, 1, 1, 1, 1, 1); return 1; }
  548. CMD:fuck(playerid,params[]) { ApplyAnimation(playerid,"PED","fucku",4.1, 0, 1, 1, 1, 1, 1); return 1; }
  549. CMD:taichi(playerid,params[]) { ApplyAnimation(playerid,"PARK","Tai_Chi_Loop", 4.1, 0, 1, 1, 1, 1, 1); return 1; }
  550. CMD:entrenar(playerid,params[]) { ApplyAnimation(playerid,"PARK","Tai_Chi_Loop", 4.1, 0, 1, 1, 1, 1, 1); return 1; } // amin para magos
  551. CMD:kiss(playerid,params[]) { ApplyAnimation(playerid,"KISSING","Playa_Kiss_01",4.1, 0, 1, 1, 1, 1, 1); return 1; }
  552. CMD:carjacked1(playerid, params[])//17, 12:58pm, 4/27/2012
  553. {
  554. ApplyAnimation(playerid,"PED","CAR_jackedLHS",4.1, 0, 1, 1, 1, 1, 1);
  555. return 1;
  556. }
  557. CMD:carjacked2(playerid, params[])//18, 12:59pm, 4/27/2012
  558. {
  559. ApplyAnimation(playerid,"PED","CAR_jackedRHS",4.1, 0, 1, 1, 1, 1, 1);
  560. return 1;
  561. }
  562. CMD:handsup(playerid, params[])//19 1:00 pm , 4/27/2012
  563. {
  564. //SetPlayerSpecialAction(playerid,SPECIAL_ACTION_HANDSUP);
  565. ApplyAnimation(playerid, "ROB_BANK","SHP_HandsUp_Scr",4.1, 0, 1, 1, 1, 1, 1);
  566. return 1;
  567. }
  568. CMD:cellin(playerid, params[])// 20 1:01 pm, 4/27/2012
  569. {
  570. if(GetPVarInt(playerid, "Injured") == 1) return SendClientMessage(playerid, COLOR_GRAD2, "[ERROR]: No puedes usar este comando ahora.");
  571. SetPlayerSpecialAction(playerid,SPECIAL_ACTION_USECELLPHONE);
  572. return 1;
  573. }
  574. CMD:cellout(playerid, params[])//21 1:02 pm , 4/27/2012
  575. {
  576. if(GetPVarInt(playerid, "Injured") == 1) return SendClientMessage(playerid, COLOR_GRAD2, "[ERROR]: No puedes usar este comando ahora.");
  577. SetPlayerSpecialAction(playerid,SPECIAL_ACTION_STOPUSECELLPHONE);
  578. return 1;
  579. }
  580. CMD:bomb(playerid, params[])//23 4/27/2012
  581. {
  582. ClearAnimations(playerid);
  583. ApplyAnimation(playerid, "BOMBER","BOM_Plant_Loop",4.1, 0, 1, 1, 1, 1, 1); // Place Bomb
  584. return 1;
  585. }
  586. CMD:getarrested(playerid, params[])//24 4/27/2012
  587. {
  588. ApplyAnimation(playerid,"ped", "ARRESTgun", 4.1, 0, 1, 1, 1, 1, 1); // Gun Arrest
  589. return 1;
  590. }
  591. CMD:crossarms(playerid, params[])//28
  592. {
  593. ApplyAnimation(playerid, "COP_AMBIENT", "Coplook_loop", 4.1, 0, 1, 1, 1, 1, 1); // Arms crossed
  594. return 1;
  595. }
  596.  
  597. CMD:lay(playerid, params[])//29
  598. {
  599. ApplyAnimation(playerid,"BEACH", "bather",4.1, 0, 1, 1, 1, 1, 1); // Lay down
  600. return 1;
  601. }
  602.  
  603. CMD:foodeat(playerid, params[])//32
  604. {
  605. ApplyAnimation(playerid, "FOOD", "EAT_Burger", 4.1, 0, 1, 1, 1, 1, 1); // Eat Burger
  606. return 1;
  607. }
  608.  
  609. CMD:wave(playerid, params[])//33
  610. {
  611. ApplyAnimation(playerid, "ON_LOOKERS", "wave_loop", 4.1, 0, 1, 1, 1, 1, 1); // Wave
  612. return 1;
  613. }
  614.  
  615. CMD:slapass(playerid, params[])//34
  616. {
  617. ApplyAnimation(playerid, "SWEET", "sweet_ass_slap", 4.1, 0, 1, 1, 1, 1, 1); // Ass Slapping
  618. return 1;
  619. }
  620.  
  621. CMD:dealer(playerid, params[])//35
  622. {
  623. ApplyAnimation(playerid, "DEALER", "DEALER_DEAL", 4.1, 0, 1, 1, 1, 1, 1); // Deal Drugs
  624. return 1;
  625. }
  626.  
  627. CMD:groundsit(playerid, params[])//38
  628. {
  629. ApplyAnimation(playerid,"BEACH", "ParkSit_M_loop", 4.1, 0, 1, 1, 1, 1, 1); // Sit
  630. return 1;
  631. }
  632.  
  633. CMD:chat(playerid, params[])//39
  634. {
  635. new num;
  636. if(sscanf(params, "i", num)) return SendClientMessage(playerid, COLOR_GRAD1, " USAGE: /chat [1-2]");
  637. if(num > 2 || num < 1) { SendClientMessage(playerid, COLOR_GRAD1, " USAGE: /chat [1-2]"); }
  638. if(num == 1) { ApplyAnimation(playerid,"PED","IDLE_CHAT",4.1, 0, 1, 1, 1, 1, 1); }
  639. if(num == 2) { ApplyAnimation(playerid,"MISC","Idle_Chat_02",4.1, 0, 1, 1, 1, 1, 1); }
  640. return 1;
  641. }
  642.  
  643. CMD:fucku(playerid, params[])//40
  644. {
  645. ApplyAnimation(playerid,"PED","fucku",4.1, 0, 1, 1, 1, 1, 1);
  646. return 1;
  647. }
  648.  
  649. CMD:chairsit(playerid, params[])//42
  650. {
  651. ApplyAnimation(playerid,"PED","SEAT_idle",4.1, 0, 1, 1, 1, 1, 1);
  652. return 1;
  653. }
  654.  
  655. CMD:fall(playerid, params[])//43
  656. {
  657. ApplyAnimation(playerid,"PED","KO_skid_front",4.1, 0, 1, 1, 1, 1, 1);
  658. return 1;
  659. }
  660.  
  661. CMD:fallback(playerid, params[])//44
  662. {
  663. ApplyAnimation(playerid, "PED","FLOOR_hit_f", 4.1, 0, 1, 1, 1, 1, 1);
  664. return 1;
  665. }
  666.  
  667. CMD:injured(playerid, params[])//46
  668. {
  669. ApplyAnimation(playerid, "SWEET", "Sweet_injuredloop", 4.1, 0, 1, 1, 1, 1, 1);
  670. return 1;
  671. }
  672.  
  673. CMD:sup(playerid, params[])//47
  674. {
  675. new number;
  676. if(sscanf(params, "i", number)) return SendClientMessage(playerid,0xEFEFF7AA,"USAGE: /sup [1-3]");
  677. if(number < 1 || number > 3) { SendClientMessage(playerid,0xEFEFF7AA,"USAGE: /sup [1-3]"); }
  678. if(number == 1) { ApplyAnimation(playerid,"GANGS","hndshkba",4.1, 0, 1, 1, 1, 1, 1); }
  679. if(number == 2) { ApplyAnimation(playerid,"GANGS","hndshkda",4.1, 0, 1, 1, 1, 1, 1); }
  680. if(number == 3) { ApplyAnimation(playerid,"GANGS","hndshkfa_swt",4.1, 0, 1, 1, 1, 1, 1); }
  681. return 1;
  682. }
  683.  
  684. CMD:push(playerid, params[])// 49
  685. {
  686. ApplyAnimation(playerid,"GANGS","shake_cara",4.1, 0, 1, 1, 1, 1, 1);
  687. return 1;
  688. }
  689.  
  690. CMD:akick(playerid, params)// 50
  691. {
  692. ApplyAnimation(playerid,"POLICE","Door_Kick",4.1, 0, 1, 1, 1, 1, 1);
  693. return 1;
  694. }
  695.  
  696. CMD:lowbodypush(playerid, params[])// 51
  697. {
  698. ApplyAnimation(playerid,"GANGS","shake_carSH",4.1, 0, 1, 1, 1, 1, 1);
  699. return 1;
  700. }
  701.  
  702. CMD:spray(playerid, params[])// 52
  703. {
  704. ApplyAnimation(playerid,"SPRAYCAN","spraycan_full",4.1, 0, 1, 1, 1, 1, 1);
  705. return 1;
  706. }
  707.  
  708. CMD:headbutt(playerid, params[])//53
  709. {
  710. ApplyAnimation(playerid,"WAYFARER","WF_Fwd",4.1, 0, 1, 1, 1, 1, 1);
  711. return 1;
  712. }
  713.  
  714. CMD:medic(playerid, params[])//54
  715. {
  716. ApplyAnimation(playerid,"MEDIC","CPR",4.1, 0, 1, 1, 1, 1, 1);
  717. return 1;
  718. }
  719.  
  720. CMD:koface(playerid, params[])//55
  721. {
  722. ApplyAnimation(playerid,"PED","KO_shot_face",4.1, 0, 1, 1, 1, 1, 1);
  723. return 1;
  724. }
  725.  
  726. CMD:kostomach(playerid, params[])//56
  727. {
  728. ApplyAnimation(playerid,"PED","KO_shot_stom",4.1, 0, 1, 1, 1, 1, 1);
  729. return 1;
  730. }
  731.  
  732. CMD:lifejump(playerid, params[])//57
  733. {
  734. ApplyAnimation(playerid,"PED","EV_dive",4.1, 0, 1, 1, 1, 1, 1);
  735. return 1;
  736. }
  737.  
  738. CMD:exhaust(playerid, params[])//58
  739. {
  740. ApplyAnimation(playerid,"PED","IDLE_tired",4.1, 0, 1, 1, 1, 1, 1);
  741. return 1;
  742. }
  743.  
  744. CMD:leftslap(playerid, params[])//59
  745. {
  746. ApplyAnimation(playerid,"PED","BIKE_elbowL",4.1, 0, 1, 1, 1, 1, 1);
  747. return 1;
  748. }
  749.  
  750. CMD:rollfall(playerid, params[])//60
  751. {
  752. ApplyAnimation(playerid,"PED","BIKE_fallR",4.1, 0, 1, 1, 1, 1, 1);
  753. return 1;
  754. }
  755.  
  756. CMD:carlock(playerid, params[])//61
  757. {
  758. ApplyAnimation(playerid,"PED","CAR_doorlocked_LHS",4.1, 0, 1, 1, 1, 1, 1);
  759. return 1;
  760. }
  761.  
  762. CMD:rcarjack1(playerid, params[])//62
  763. {
  764. ApplyAnimation(playerid,"PED","CAR_pulloutL_LHS",4.1, 0, 1, 1, 1, 1, 1);
  765. return 1;
  766. }
  767.  
  768. CMD:lcarjack1(playerid, params[])//63
  769. {
  770. ApplyAnimation(playerid,"PED","CAR_pulloutL_RHS",4.1, 0, 1, 1, 1, 1, 1);
  771. return 1;
  772. }
  773. CMD:rcarjack2(playerid, params[])//64
  774. {
  775. ApplyAnimation(playerid,"PED","CAR_pullout_LHS",4.1, 0, 1, 1, 1, 1, 1);
  776. return 1;
  777. }
  778.  
  779. CMD:lcarjack2(playerid, params[])//65
  780. {
  781. ApplyAnimation(playerid,"PED","CAR_pullout_RHS",4.1, 0, 1, 1, 1, 1, 1);
  782. return 1;
  783. }
  784.  
  785. CMD:hoodfrisked(playerid, params[])//66
  786. {
  787. ApplyAnimation(playerid,"POLICE","crm_drgbst_01",4.1, 0, 1, 1, 1, 1, 1);
  788. return 1;
  789. }
  790.  
  791. CMD:lightcig(playerid, params[])//67
  792. {
  793. ApplyAnimation(playerid,"SMOKING","M_smk_in",4.1, 0, 1, 1, 1, 1, 1);
  794. return 1;
  795. }
  796.  
  797. CMD:tapcig(playerid, params[])//68
  798. {
  799. ApplyAnimation(playerid,"SMOKING","M_smk_tap",4.1, 0, 1, 1, 1, 1, 1);
  800. return 1;
  801. }
  802.  
  803. CMD:bat(playerid, params[])//69
  804. {
  805. ApplyAnimation(playerid,"BASEBALL","Bat_IDLE",4.1, 0, 1, 1, 1, 1, 1);
  806. return 1;
  807. }
  808.  
  809. CMD:box(playerid, params[])//70
  810. {
  811. ApplyAnimation(playerid,"GYMNASIUM","GYMshadowbox",4.1, 0, 1, 1, 1, 1, 1);
  812. return 1;
  813. }
  814.  
  815. CMD:lay2(playerid, params[])//71
  816. {
  817. ApplyAnimation(playerid,"SUNBATHE","Lay_Bac_in",4.1, 0, 1, 1, 1, 1, 1);
  818. return 1;
  819. }
  820.  
  821. CMD:chant(playerid, params[])//72
  822. {
  823. ApplyAnimation(playerid,"RIOT","RIOT_CHANT",4.1, 0, 1, 1, 1, 1, 1);
  824. return 1;
  825. }
  826.  
  827. CMD:finger(playerid, params[])//73
  828. {
  829. ApplyAnimation(playerid,"RIOT","RIOT_FUKU",4.1, 0, 1, 1, 1, 1, 1);
  830. return 1;
  831. }
  832.  
  833. CMD:shouting(playerid, params[])//74
  834. {
  835. ApplyAnimation(playerid,"RIOT","RIOT_shout",4.1, 0, 1, 1, 1, 1, 1);
  836. return 1;
  837. }
  838.  
  839. CMD:cop(playerid,params[])//75
  840. {
  841. ApplyAnimation(playerid,"SWORD","sword_block",4.1, 0, 1, 1, 1, 1, 1);
  842. return 1;
  843. }
  844.  
  845. CMD:elbow(playerid, params[])//76
  846. {
  847. ApplyAnimation(playerid,"FIGHT_D","FightD_3",4.1, 0, 1, 1, 1, 1, 1);
  848. return 1;
  849. }
  850.  
  851. CMD:kneekick(playerid, params[])//77
  852. {
  853. ApplyAnimation(playerid,"FIGHT_D","FightD_2",4.1, 0, 1, 1, 1, 1, 1);
  854. return 1;
  855. }
  856.  
  857. CMD:fstance(playerid, params[])//78
  858. {
  859. ApplyAnimation(playerid,"FIGHT_D","FightD_IDLE",4.1, 0, 1, 1, 1, 1, 1);
  860. return 1;
  861. }
  862.  
  863. CMD:gpunch(playerid, params[])//79
  864. {
  865. ApplyAnimation(playerid,"FIGHT_B","FightB_G",4.1, 0, 1, 1, 1, 1, 1);
  866. return 1;
  867. }
  868.  
  869. CMD:airkick(playerid, params[])//80
  870. {
  871. ApplyAnimation(playerid,"FIGHT_C","FightC_M",4.1, 0, 1, 1, 1, 1, 1);
  872. return 1;
  873. }
  874.  
  875. CMD:gkick(playerid, params[])//81
  876. {
  877. ApplyAnimation(playerid,"FIGHT_D","FightD_G",4.1, 0, 1, 1, 1, 1, 1);
  878. return 1;
  879. }
  880.  
  881. CMD:lowthrow(playerid, params[])//82
  882. {
  883. ApplyAnimation(playerid,"GRENADE","WEAPON_throwu",4.1, 0, 1, 1, 1, 1, 1);
  884. return 1;
  885. }
  886.  
  887. CMD:highthrow(playerid, params[])//83
  888. {
  889. ApplyAnimation(playerid,"GRENADE","WEAPON_throw",4.1, 0, 1, 1, 1, 1, 1);
  890. return 1;
  891. }
  892.  
  893. CMD:dealstance(playerid, params[])//84
  894. {
  895. ApplyAnimation(playerid,"DEALER","DEALER_IDLE",4.1, 0, 1, 1, 1, 1, 1);
  896. return 1;
  897. }
  898.  
  899. CMD:pee(playerid, params[])//85
  900. {
  901. if(GetPVarInt(playerid, "Injured") == 1) return SendClientMessage(playerid, COLOR_GRAD2, "[ERROR]: No puedes usar este comando ahora.");
  902. SetPlayerSpecialAction(playerid, 68);
  903. return 1;
  904. }
  905.  
  906. CMD:knife(playerid, params[])//86
  907. {
  908. new nbr;
  909. if(sscanf(params, "i", nbr)) return SendClientMessage(playerid,0xEFEFF7AA,"USAGE: /knife [1-4]");
  910. if(nbr < 1 || nbr > 4) return SendClientMessage(playerid,0xEFEFF7AA,"USAGE: /knife [1-4]");
  911. switch(nbr)
  912. {
  913. case 1: { ApplyAnimation(playerid,"KNIFE","KILL_Knife_Ped_Damage",4.1, 0, 1, 1, 1, 1, 1); }
  914. case 2: { ApplyAnimation(playerid,"KNIFE","KILL_Knife_Ped_Die",4.1, 0, 1, 1, 1, 1, 1); }
  915. case 3: { ApplyAnimation(playerid,"KNIFE","KILL_Knife_Player",4.1, 0, 1, 1, 1, 1, 1); }
  916. case 4: { ApplyAnimation(playerid,"KNIFE","KILL_Partial",4.1, 0, 1, 1, 1, 1, 1); }
  917. }
  918. return 1;
  919. }
  920.  
  921. CMD:basket(playerid, params[])//87
  922. {
  923. new ddr;
  924. if (sscanf(params, "i", ddr)) return SendClientMessage(playerid,0xEFEFF7AA,"USAGE: /basket [1-6]");
  925. if(ddr < 1 || ddr > 6) return SendClientMessage(playerid,0xEFEFF7AA,"USAGE: /basket [1-6]");
  926. switch(ddr)
  927. {
  928. case 1: { ApplyAnimation(playerid,"BSKTBALL","BBALL_idleloop",4.1, 0, 1, 1, 1, 1, 1); }
  929. case 2: { ApplyAnimation(playerid,"BSKTBALL","BBALL_Jump_Shot",4.1, 0, 1, 1, 1, 1, 1); }
  930. case 3: { ApplyAnimation(playerid,"BSKTBALL","BBALL_pickup",4.1, 0, 1, 1, 1, 1, 1); }
  931. case 4: { ApplyAnimation(playerid,"BSKTBALL","BBALL_run",4.1, 0, 1, 1, 1, 1, 1); }
  932. case 5: { ApplyAnimation(playerid,"BSKTBALL","BBALL_def_loop",4.1, 0, 1, 1, 1, 1, 1); }
  933. case 6: { ApplyAnimation(playerid,"BSKTBALL","BBALL_Dnk",4.1, 0, 1, 1, 1, 1, 1); }
  934. }
  935. return 1;
  936. }
  937.  
  938. CMD:reload(playerid, params[])//88
  939. {
  940. new result[128];
  941. if(sscanf(params, "s[24]", result)) return SendClientMessage(playerid,0xEFEFF7AA,"USAGE: /reload [deagle/smg/ak/m4]");
  942. if(strcmp(result,"deagle", true) == 0)
  943. {
  944. ApplyAnimation(playerid,"COLT45","colt45_reload",4.1, 0, 1, 1, 1, 1, 1);
  945. }
  946. else if(strcmp(result,"smg", true) == 0)
  947. {
  948. ApplyAnimation(playerid,"UZI","UZI_reload",4.1, 0, 1, 1, 1, 1, 1);
  949. }
  950. else if(strcmp(result,"ak", true) == 0)
  951. {
  952. ApplyAnimation(playerid,"UZI","UZI_reload",4.1, 0, 1, 1, 1, 1, 1);
  953. }
  954. else if(strcmp(result,"m4", true) == 0)
  955. {
  956. ApplyAnimation(playerid,"UZI","UZI_reload",4.1, 0, 1, 1, 1, 1, 1);
  957. }
  958. else { SendClientMessage(playerid,0xEFEFF7AA,"USAGE: /reload [deagle/smg/ak/m4]"); }
  959. return 1;
  960. }
  961.  
  962. CMD:gwalk(playerid, params[])//89
  963. {
  964. new ssr;
  965. if(sscanf(params, "i", ssr)) return SendClientMessage(playerid,0xEFEFF7AA,"USAGE: /gwalk [1/2]");
  966. if(ssr < 1 || ssr > 2) { SendClientMessage(playerid,0xEFEFF7AA,"USAGE: /gwalk [1/2]"); }
  967. if (ssr == 1) { ApplyAnimation(playerid,"PED","WALK_gang1",4.1, 0, 1, 1, 1, 1, 1); }
  968. if (ssr == 2) { ApplyAnimation(playerid,"PED","WALK_gang2",4.1, 0, 1, 1, 1, 1, 1); }
  969. return 1;
  970. }
  971.  
  972. CMD:aim(playerid, params[])//90
  973. {
  974. new lmb;
  975. if(sscanf(params, "i", lmb)) return SendClientMessage(playerid,0xEFEFF7AA,"USAGE: /aim [1-3]");
  976. if(lmb == 1) { ApplyAnimation(playerid,"PED","gang_gunstand",4.1, 0, 1, 1, 1, 1, 1); }
  977. if(lmb == 2) { ApplyAnimation(playerid,"PED","Driveby_L",4.1, 0, 1, 1, 1, 1, 1); }
  978. if(lmb == 3) { ApplyAnimation(playerid,"PED","Driveby_R",4.1, 0, 1, 1, 1, 1, 1); }
  979. else { SendClientMessage(playerid,0xEFEFF7AA,"USAGE: /aim [1-3]"); }
  980. return 1;
  981. }
  982.  
  983. CMD:lean(playerid, params[])//91
  984. {
  985. new mj;
  986. if(sscanf(params, "i", mj)) return SendClientMessage(playerid,0xEFEFF7AA,"USAGE: /lean [1-2]");
  987. if(mj < 1 || mj > 2) { SendClientMessage(playerid,0xEFEFF7AA,"USAGE: /lean [1-2]"); }
  988. if(mj == 1) { ApplyAnimation(playerid,"GANGS","leanIDLE",4.1, 0, 1, 1, 1, 1, 1); }
  989. if(mj == 2) { ApplyAnimation(playerid,"MISC","Plyrlean_loop",4.1, 0, 1, 1, 1, 1, 1); }
  990. return 1;
  991. }
  992.  
  993. CMD:clearanim(playerid, params[])//92
  994. {
  995. if(GetPVarInt(playerid, "Injured") == 1) return SendClientMessage(playerid, COLOR_GRAD2, "[ERROR]: No puedes usar este comando ahora.");
  996. ApplyAnimation(playerid, "CARRY", "crry_prtial", 1.0, 0, 0, 0, 0, 0);
  997. return 1;
  998. }
  999.  
  1000. CMD:strip(playerid, params[])//93
  1001. {
  1002. new kj;
  1003. if(sscanf(params, "i", kj)) return SendClientMessage(playerid,0xEFEFF7AA,"USAGE: /strip [1-7]");
  1004. if(kj < 1 || kj > 7) { SendClientMessage(playerid,0xEFEFF7AA,"USAGE: /strip [1-7]"); }
  1005. if(kj == 1) { ApplyAnimation(playerid,"STRIP", "strip_A", 4.1, 0, 1, 1, 1, 1, 1 ); }
  1006. if(kj == 2) { ApplyAnimation(playerid,"STRIP", "strip_B", 4.1, 0, 1, 1, 1, 1, 1 ); }
  1007. if(kj == 3) { ApplyAnimation(playerid,"STRIP", "strip_C", 4.1, 0, 1, 1, 1, 1, 1 ); }
  1008. if(kj == 4) { ApplyAnimation(playerid,"STRIP", "strip_D", 4.1, 0, 1, 1, 1, 1, 1 ); }
  1009. if(kj == 5) { ApplyAnimation(playerid,"STRIP", "strip_E", 4.1, 0, 1, 1, 1, 1, 1 ); }
  1010. if(kj == 6) { ApplyAnimation(playerid,"STRIP", "strip_F", 4.1, 0, 1, 1, 1, 1, 1 ); }
  1011. if(kj == 7) { ApplyAnimation(playerid,"STRIP", "strip_G", 4.1, 0, 1, 1, 1, 1, 1 ); }
  1012. return 1;
  1013. }
  1014.  
  1015. CMD:inbedright(playerid, params[])//94
  1016. {
  1017. ApplyAnimation(playerid,"INT_HOUSE","BED_Loop_R",4.1, 0, 1, 1, 1, 1, 1);
  1018. return 1;
  1019. }
  1020.  
  1021. CMD:inbedleft(playerid, params[])//95
  1022. {
  1023. ApplyAnimation(playerid,"INT_HOUSE","BED_Loop_L",4.1, 0, 1, 1, 1, 1, 1);
  1024. return 1;
  1025. }
  1026.  
  1027. CMD:wank(playerid, params[])
  1028. {
  1029. new choice[32];
  1030. if(sscanf(params, "s[32]", choice))
  1031. {
  1032. SendClientMessage(playerid, COLOR_WHITE, "USAGE: /wank [1-2]");
  1033. return 1;
  1034. }
  1035. if(strcmp(choice, "1", true) == 0)
  1036. {
  1037. ApplyAnimation(playerid,"PAULNMAC","wank_in",4.1, 0, 1, 1, 1, 1, 1);
  1038. SetPVarInt(playerid, "UsingAnim", 1);
  1039. }
  1040. if(strcmp(choice, "2", true) == 0)
  1041. {
  1042. ApplyAnimation(playerid,"PAULNMAC","wank_loop",4.1, 0, 1, 1, 1, 1, 1);
  1043. SetPVarInt(playerid, "UsingAnim", 1);
  1044. }
  1045. return 1;
  1046. }
  1047. CMD:sexy(playerid, params[])
  1048. {
  1049. new choice[32];
  1050. if(sscanf(params, "s[32]", choice))
  1051. {
  1052. SendClientMessage(playerid, COLOR_WHITE, "USAGE: /sexy [1-8]");
  1053. return 1;
  1054. }
  1055. if(strcmp(choice, "1", true) == 0)
  1056. {
  1057. ApplyAnimation(playerid,"SNM","SPANKING_IDLEW",4.1, 0, 1, 1, 1, 1, 1);
  1058. SetPVarInt(playerid, "UsingAnim", 1);
  1059. }
  1060. if(strcmp(choice, "2", true) == 0)
  1061. {
  1062. ApplyAnimation(playerid,"SNM","SPANKING_IDLEP",4.1, 0, 1, 1, 1, 1, 1);
  1063. SetPVarInt(playerid, "UsingAnim", 1);
  1064. }
  1065. if(strcmp(choice, "3", true) == 0)
  1066. {
  1067. ApplyAnimation(playerid,"SNM","SPANKINGW",4.1, 0, 1, 1, 1, 1, 1);
  1068. SetPVarInt(playerid, "UsingAnim", 1);
  1069. }
  1070. if(strcmp(choice, "4", true) == 0)
  1071. {
  1072. ApplyAnimation(playerid,"SNM","SPANKINGP",4.1, 0, 1, 1, 1, 1, 1);
  1073. SetPVarInt(playerid, "UsingAnim", 1);
  1074. }
  1075. if(strcmp(choice, "5", true) == 0)
  1076. {
  1077. ApplyAnimation(playerid,"SNM","SPANKEDW",4.1, 0, 1, 1, 1, 1, 1);
  1078. SetPVarInt(playerid, "UsingAnim", 1);
  1079. }
  1080. if(strcmp(choice, "6", true) == 0)
  1081. {
  1082. ApplyAnimation(playerid,"SNM","SPANKEDP",4.1, 0, 1, 1, 1, 1, 1);
  1083. SetPVarInt(playerid, "UsingAnim", 1);
  1084. }
  1085. if(strcmp(choice, "7", true) == 0)
  1086. {
  1087. ApplyAnimation(playerid,"SNM","SPANKING_ENDW",4.1, 0, 1, 1, 1, 1, 1);
  1088. SetPVarInt(playerid, "UsingAnim", 1);
  1089. }
  1090. if(strcmp(choice, "8", true) == 0)
  1091. {
  1092. ApplyAnimation(playerid,"SNM","SPANKING_ENDP",4.1, 0, 1, 1, 1, 1, 1);
  1093. SetPVarInt(playerid, "UsingAnim", 1);
  1094. }
  1095. return 1;
  1096. }
  1097.  
  1098. CMD:bj(playerid, params[])
  1099. {
  1100. new choice[32];
  1101. if(sscanf(params, "s[32]", choice))
  1102. {
  1103. SendClientMessage(playerid, COLOR_WHITE, "USAGE: /bj [1-4]");
  1104. return 1;
  1105. }
  1106. if(strcmp(choice, "1", true) == 0)
  1107. {
  1108. ApplyAnimation(playerid,"BLOWJOBZ","BJ_COUCH_START_P",4.1, 0, 1, 1, 1, 1, 1);
  1109. SetPVarInt(playerid, "UsingAnim", 1);
  1110. }
  1111. if(strcmp(choice, "2", true) == 0)
  1112. {
  1113. ApplyAnimation(playerid,"BLOWJOBZ","BJ_COUCH_START_W",4.1, 0, 1, 1, 1, 1, 1);
  1114. SetPVarInt(playerid, "UsingAnim", 1);
  1115. }
  1116. if(strcmp(choice, "3", true) == 0)
  1117. {
  1118. ApplyAnimation(playerid,"BLOWJOBZ","BJ_COUCH_LOOP_P",4.1, 0, 1, 1, 1, 1, 1);
  1119. SetPVarInt(playerid, "UsingAnim", 1);
  1120. }
  1121. if(strcmp(choice, "4", true) == 0)
  1122. {
  1123. ApplyAnimation(playerid,"BLOWJOBZ","BJ_COUCH_LOOP_W",4.1, 0, 1, 1, 1, 1, 1);
  1124. SetPVarInt(playerid, "UsingAnim", 1);
  1125. }
  1126. return 1;
  1127. }
  1128.  
  1129. CMD:stand(playerid, params[])
  1130. {
  1131. ApplyAnimation(playerid,"WUZI","Wuzi_stand_loop", 4.1, 0, 1, 1, 1, 1, 1);
  1132. SetPVarInt(playerid, "UsingAnim", 1);
  1133. return 1;
  1134. }
  1135.  
  1136. CMD:follow(playerid, params[])
  1137. {
  1138. ApplyAnimation(playerid,"WUZI","Wuzi_follow",4.1, 0, 1, 1, 1, 1, 1);
  1139. SetPVarInt(playerid, "UsingAnim", 1);
  1140. return 1;
  1141. }
  1142.  
  1143. CMD:getup(playerid, params[])
  1144. {
  1145. ApplyAnimation(playerid,"PED","getup",4.1, 0, 1, 1, 1, 1, 1);
  1146. SetPVarInt(playerid, "UsingAnim", 1);
  1147. return 1;
  1148. }
  1149. CMD:slapped(playerid, params[])
  1150. {
  1151. ApplyAnimation(playerid,"SWEET","ho_ass_slapped",4.1, 0, 1, 1, 1, 1, 1);
  1152. SetPVarInt(playerid, "UsingAnim", 1);
  1153. return 1;
  1154. }
  1155.  
  1156. CMD:win(playerid, params[])
  1157. {
  1158. new choice[32];
  1159. if(sscanf(params, "s[32]", choice))
  1160. {
  1161. SendClientMessage(playerid, COLOR_WHITE, "USAGE: /win [1-2]");
  1162. return 1;
  1163. }
  1164. if(strcmp(choice, "1", true) == 0)
  1165. {
  1166. ApplyAnimation(playerid,"CASINO","cards_win", 4.1, 0, 1, 1, 1, 1, 1);
  1167. SetPVarInt(playerid, "UsingAnim", 1);
  1168. }
  1169. if(strcmp(choice, "2", true) == 0)
  1170. {
  1171. ApplyAnimation(playerid,"CASINO","Roulette_win", 4.1, 0, 1, 1, 1, 1, 1);
  1172. SetPVarInt(playerid, "UsingAnim", 1);
  1173. }
  1174. return 1;
  1175. }
  1176.  
  1177. CMD:celebrate(playerid, params[])
  1178. {
  1179. new choice[32];
  1180. if(sscanf(params, "s[32]", choice))
  1181. {
  1182. SendClientMessage(playerid, COLOR_WHITE, "USAGE: /celebrate [1-2]");
  1183. return 1;
  1184. }
  1185. if(strcmp(choice, "1", true) == 0)
  1186. {
  1187. ApplyAnimation(playerid,"benchpress","gym_bp_celebrate", 4.1, 0, 1, 1, 1, 1, 1);
  1188. SetPVarInt(playerid, "UsingAnim", 1);
  1189. }
  1190. if(strcmp(choice, "2", true) == 0)
  1191. {
  1192. ApplyAnimation(playerid,"GYMNASIUM","gym_tread_celebrate", 4.1, 0, 1, 1, 1, 1, 1);
  1193. SetPVarInt(playerid, "UsingAnim", 1);
  1194. }
  1195. return 1;
  1196. }
  1197.  
  1198. CMD:yes(playerid, params[])
  1199. {
  1200. ApplyAnimation(playerid,"CLOTHES","CLO_Buy", 4.1, 0, 1, 1, 1, 1, 1);
  1201. SetPVarInt(playerid, "UsingAnim", 1);
  1202. return 1;
  1203. }
  1204.  
  1205. CMD:deal(playerid, params[])
  1206. {
  1207. new choice[32];
  1208. if(sscanf(params, "s[32]", choice))
  1209. {
  1210. SendClientMessage(playerid, COLOR_WHITE, "USAGE: /deal [1-2]");
  1211. return 1;
  1212. }
  1213. if(strcmp(choice, "1", true) == 0)
  1214. {
  1215. ApplyAnimation(playerid, "DEALER", "DEALER_DEAL", 4.1, 0, 1, 1, 1, 1, 1);
  1216. SetPVarInt(playerid, "UsingAnim", 1);
  1217. }
  1218. if(strcmp(choice, "2", true) == 0)
  1219. {
  1220. ApplyAnimation(playerid,"DEALER","DRUGS_BUY", 4.1, 0, 1, 1, 1, 1, 1);
  1221. SetPVarInt(playerid, "UsingAnim", 1);
  1222. }
  1223. return 1;
  1224. }
  1225.  
  1226. CMD:thankyou(playerid, params[])
  1227. {
  1228. ApplyAnimation(playerid,"FOOD","SHP_Thank", 4.1, 0, 1, 1, 1, 1, 1);
  1229. SetPVarInt(playerid, "UsingAnim", 1);
  1230. return 1;
  1231. }
  1232.  
  1233. CMD:invite1(playerid, params[])
  1234. {
  1235. new choice[32];
  1236. if(sscanf(params, "s[32]", choice))
  1237. {
  1238. SendClientMessage(playerid, COLOR_WHITE, "USAGE: /invite1 [1-2]");
  1239. return 1;
  1240. }
  1241. if(strcmp(choice, "1", true) == 0)
  1242. {
  1243. ApplyAnimation(playerid,"GANGS","Invite_Yes",4.1, 0, 1, 1, 1, 1, 1);
  1244. SetPVarInt(playerid, "UsingAnim", 1);
  1245. }
  1246. if(strcmp(choice, "2", true) == 0)
  1247. {
  1248. ApplyAnimation(playerid,"GANGS","Invite_No",4.1, 0, 1, 1, 1, 1, 1);
  1249. SetPVarInt(playerid, "UsingAnim", 1);
  1250. }
  1251. return 1;
  1252. }
  1253.  
  1254. CMD:scratch(playerid, params[])
  1255. {
  1256. ApplyAnimation(playerid,"MISC","Scratchballs_01", 4.1, 0, 1, 1, 1, 1, 1);
  1257. SetPVarInt(playerid, "UsingAnim", 1);
  1258. return 1;
  1259. }
  1260. CMD:checkout(playerid, params[])
  1261. {
  1262. ApplyAnimation(playerid, "GRAFFITI", "graffiti_Chkout", 4.1, 0, 1, 1, 1, 1, 1);
  1263. SetPVarInt(playerid, "UsingAnim", 1);
  1264. return 1;
  1265. }
  1266. CMD:nod(playerid, params[])
  1267. {
  1268. ApplyAnimation(playerid,"COP_AMBIENT","Coplook_nod",4.1, 0, 1, 1, 1, 1, 1);
  1269. SetPVarInt(playerid, "UsingAnim", 1);
  1270. return 1;
  1271. }
  1272. CMD:cry(playerid, params[])
  1273. {
  1274. new choice[32];
  1275. if(sscanf(params, "s[32]", choice))
  1276. {
  1277. SendClientMessage(playerid, COLOR_WHITE, "USAGE: /cry [1-2]");
  1278. return 1;
  1279. }
  1280. if(strcmp(choice, "1", true) == 0)
  1281. {
  1282. ApplyAnimation(playerid,"GRAVEYARD","mrnF_loop", 4.1, 0, 1, 1, 1, 1, 1);
  1283. SetPVarInt(playerid, "UsingAnim", 1);
  1284. }
  1285. if(strcmp(choice, "2", true) == 0)
  1286. {
  1287. ApplyAnimation(playerid,"GRAVEYARD","mrnM_loop", 4.1, 0, 1, 1, 1, 1, 1);
  1288. SetPVarInt(playerid, "UsingAnim", 1);
  1289. }
  1290. return 1;
  1291. }
  1292. CMD:bed(playerid, params[])
  1293. {
  1294. new choice[32];
  1295. if(sscanf(params, "s[32]", choice))
  1296. {
  1297. SendClientMessage(playerid, COLOR_WHITE, "USAGE: /bed [1-2]");
  1298. return 1;
  1299. }
  1300. if(strcmp(choice, "1", true) == 0)
  1301. {
  1302. ApplyAnimation(playerid,"INT_HOUSE","BED_In_L",4.1, 0, 1, 1, 1, 1, 1);
  1303. SetPVarInt(playerid, "UsingAnim", 1);
  1304. }
  1305. if(strcmp(choice, "2", true) == 0)
  1306. {
  1307. ApplyAnimation(playerid,"INT_HOUSE","BED_In_R",4.1, 0, 1, 1, 1, 1, 1);
  1308. SetPVarInt(playerid, "UsingAnim", 1);
  1309. }
  1310. if(strcmp(choice, "3", true) == 0)
  1311. {
  1312. ApplyAnimation(playerid,"INT_HOUSE","BED_Loop_L", 4.1, 0, 1, 1, 1, 1, 1);
  1313. SetPVarInt(playerid, "UsingAnim", 1);
  1314. }
  1315. if(strcmp(choice, "4", true) == 0)
  1316. {
  1317. ApplyAnimation(playerid,"INT_HOUSE","BED_Loop_R", 4.1, 0, 1, 1, 1, 1, 1);
  1318. SetPVarInt(playerid, "UsingAnim", 1);
  1319. }
  1320. return 1;
  1321. }
  1322. CMD:carsmoke(playerid, params[])
  1323. {
  1324. ApplyAnimation(playerid,"PED","Smoke_in_car", 4.1, 0, 1, 1, 1, 1, 1);
  1325. SetPVarInt(playerid, "UsingAnim", 1);
  1326. return 1;
  1327. }
  1328.  
  1329. CMD:angry(playerid, params[])
  1330. {
  1331. ApplyAnimation(playerid,"RIOT","RIOT_ANGRY",4.1, 0, 1, 1, 1, 1, 1);
  1332. SetPVarInt(playerid, "UsingAnim", 1);
  1333. return 1;
  1334. }
  1335. CMD:benddown(playerid, params[])
  1336. {
  1337. ApplyAnimation(playerid, "BAR", "Barserve_bottle", 4.1, 0, 1, 1, 1, 1, 1);
  1338. SetPVarInt(playerid, "UsingAnim", 1);
  1339. return 1;
  1340. }
  1341. CMD:shakehead(playerid, params[])
  1342. {
  1343. ApplyAnimation(playerid, "MISC", "plyr_shkhead", 4.1, 0, 1, 1, 1, 1, 1);
  1344. SetPVarInt(playerid, "UsingAnim", 1);
  1345. return 1;
  1346. }
  1347. CMD:cockgun(playerid, params[])
  1348. {
  1349. ApplyAnimation(playerid, "SILENCED", "Silence_reload", 4.1, 0, 1, 1, 1, 1, 1);
  1350. SetPVarInt(playerid, "UsingAnim", 1);
  1351. return 1;
  1352. }
  1353. CMD:bar(playerid, params[])
  1354. {
  1355. new choice[32];
  1356. if(sscanf(params, "s[32]", choice))
  1357. {
  1358. SendClientMessage(playerid, COLOR_WHITE, "USAGE: /bar [1-4]");
  1359. return 1;
  1360. }
  1361. if(strcmp(choice, "1", true) == 0)
  1362. {
  1363. ApplyAnimation(playerid, "BAR", "Barcustom_get", 4.1, 0, 1, 1, 1, 1, 1);
  1364. SetPVarInt(playerid, "UsingAnim", 1);
  1365. }
  1366. if(strcmp(choice, "2", true) == 0)
  1367. {
  1368. ApplyAnimation(playerid,"GHANDS","gsign2LH",4.1, 0, 1, 1, 1, 1, 1);
  1369. SetPVarInt(playerid, "UsingAnim", 1);
  1370. }
  1371. if(strcmp(choice, "2", true) == 0)
  1372. {
  1373. ApplyAnimation(playerid, "BAR", "Barcustom_order", 4.1, 0, 1, 1, 1, 1, 1);
  1374. SetPVarInt(playerid, "UsingAnim", 1);
  1375. }
  1376. if(strcmp(choice, "3", true) == 0)
  1377. {
  1378. ApplyAnimation(playerid, "BAR", "Barserve_give", 4.1, 0, 1, 1, 1, 1, 1);
  1379. SetPVarInt(playerid, "UsingAnim", 1);
  1380. }
  1381. if(strcmp(choice, "4", true) == 0)
  1382. {
  1383. ApplyAnimation(playerid, "BAR", "Barserve_glass", 4.1, 0, 1, 1, 1, 1, 1);
  1384. SetPVarInt(playerid, "UsingAnim", 1);
  1385. }
  1386. return 1;
  1387. }
  1388. CMD:liftup(playerid, params[])
  1389. {
  1390. ApplyAnimation(playerid, "CARRY", "liftup", 4.1, 0, 1, 1, 1, 1, 1);
  1391. SetPVarInt(playerid, "UsingAnim", 1);
  1392. return 1;
  1393. }
  1394.  
  1395. CMD:putdown(playerid, params[])
  1396. {
  1397. ApplyAnimation(playerid, "CARRY", "putdwn", 4.1, 0, 1, 1, 1, 1, 1);
  1398. SetPVarInt(playerid, "UsingAnim", 1);
  1399. return 1;
  1400. }
  1401.  
  1402. CMD:joint(playerid, params[])
  1403. {
  1404. ApplyAnimation(playerid,"GANGS","smkcig_prtl",4.1, 0, 1, 1, 1, 1, 1);
  1405. SetPVarInt(playerid, "UsingAnim", 1);
  1406. return 1;
  1407. }
  1408. CMD:die(playerid, params[])
  1409. {
  1410. new choice[32];
  1411. if(sscanf(params, "s[32]", choice))
  1412. {
  1413. SendClientMessage(playerid, COLOR_WHITE, "USAGE: /die [1-2]");
  1414. return 1;
  1415. }
  1416. if(strcmp(choice, "1", true) == 0)
  1417. {
  1418. ApplyAnimation(playerid,"KNIFE","KILL_Knife_Ped_Die",4.1, 0, 1, 1, 1, 1, 1);
  1419. SetPVarInt(playerid, "UsingAnim", 1);
  1420. }
  1421. if(strcmp(choice, "2", true) == 0)
  1422. {
  1423. ApplyAnimation(playerid, "PARACHUTE", "FALL_skyDive_DIE", 4.1, 0, 1, 1, 1, 1, 1);
  1424. SetPVarInt(playerid, "UsingAnim", 1);
  1425. }
  1426. return 1;
  1427. }
  1428.  
  1429. CMD:lranim(playerid, params[])
  1430. {
  1431. if(IsInLowRider(playerid))
  1432. {
  1433. new choice;
  1434. if(sscanf(params, "i", choice))
  1435. {
  1436. SendClientMessage(playerid, COLOR_WHITE, "USAGE: /lranim");
  1437. SendClientMessage(playerid, COLOR_GRAD2, "Available options: 0-36");
  1438. return 1;
  1439. }
  1440. if(GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
  1441. {
  1442. SendClientMessage(playerid, COLOR_GRAD2, " You cannot be the driver of the vehicle!");
  1443. return 1;
  1444. }
  1445. switch(choice)
  1446. {
  1447. case 0:
  1448. {
  1449. ApplyAnimation(playerid, "LOWRIDER", "F_smklean_loop", 4.0, 1, 0, 0, 0, 0, 1);
  1450. }
  1451. case 1:
  1452. {
  1453. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_bdbnce", 4.0, 0, 0, 0, 1, 0, 1);
  1454. }
  1455. case 2:
  1456. {
  1457. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_hair", 4.0, 1, 0, 0, 0, 0, 1);
  1458. }
  1459. case 3:
  1460. {
  1461. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_hurry", 4.0, 1, 0, 0, 0, 0, 1);
  1462. }
  1463. case 4:
  1464. {
  1465. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_idleloop", 4.0, 1, 0, 0, 0, 0, 1);
  1466. }
  1467. case 5:
  1468. {
  1469. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_idle_to_l0", 4.0, 0, 0, 0, 1, 0, 1);
  1470. }
  1471. case 6:
  1472. {
  1473. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_l0_bnce", 4.0, 1, 0, 0, 0, 0, 1);
  1474. }
  1475. case 7:
  1476. {
  1477. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_l0_loop", 4.0, 1, 0, 0, 0, 0, 1);
  1478. }
  1479. case 8:
  1480. {
  1481. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_l0_to_l1", 4.0, 0, 0, 0, 1, 0, 1);
  1482. }
  1483. case 9:
  1484. {
  1485. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_l12_to_l0", 4.0, 0, 0, 0, 1, 0, 1);
  1486. }
  1487. case 10:
  1488. {
  1489. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_l1_bnce", 4.0, 1, 0, 0, 0, 0, 1);
  1490. }
  1491. case 11:
  1492. {
  1493. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_l1_loop", 4.0, 1, 0, 0, 0, 0, 1);
  1494. }
  1495. case 12:
  1496. {
  1497. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_l1_to_l2", 4.0, 1, 0, 0, 0, 0, 1);
  1498. }
  1499. case 13:
  1500. {
  1501. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_l2_bnce", 4.0, 1, 0, 0, 0, 0, 1);
  1502. }
  1503. case 14:
  1504. {
  1505. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_l2_loop", 4.0, 1, 0, 0, 0, 0, 1);
  1506. }
  1507. case 15:
  1508. {
  1509. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_l2_to_l3", 4.0, 0, 0, 0, 1, 0, 1);
  1510. }
  1511. case 16:
  1512. {
  1513. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_l345_to_l1", 4.0, 0, 0, 0, 1, 0, 1);
  1514. }
  1515. case 17:
  1516. {
  1517. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_l3_bnce", 4.0, 1, 0, 0, 0, 0, 1);
  1518. }
  1519. case 18:
  1520. {
  1521. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_l3_loop", 4.0, 1, 0, 0, 0, 0, 1);
  1522. }
  1523. case 19:
  1524. {
  1525. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_l3_to_l4", 4.0, 1, 0, 0, 0, 0, 1);
  1526. }
  1527. case 20:
  1528. {
  1529. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_l4_bnce", 4.0, 1, 0, 0, 0, 0, 1);
  1530. }
  1531. case 21:
  1532. {
  1533. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_l4_loop", 4.0, 1, 0, 0, 0, 0, 1);
  1534. }
  1535. case 22:
  1536. {
  1537. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_l4_to_l5", 4.0, 0, 0, 0, 1, 0, 1);
  1538. }
  1539. case 23:
  1540. {
  1541. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_l5_bnce", 4.0, 1, 0, 0, 0, 0, 1);
  1542. }
  1543. case 24:
  1544. {
  1545. ApplyAnimation(playerid, "LOWRIDER", "lrgirl_l5_loop", 4.0, 1, 0, 0, 0, 0, 1);
  1546. }
  1547. case 25:
  1548. {
  1549. ApplyAnimation(playerid, "LOWRIDER", "M_smklean_loop", 4.0, 1, 0, 0, 0, 0, 1);
  1550. }
  1551. case 26:
  1552. {
  1553. ApplyAnimation(playerid, "LOWRIDER", "prtial_gngtlkB", 4.0, 1, 0, 0, 0, 0, 1);
  1554. }
  1555. case 27:
  1556. {
  1557. ApplyAnimation(playerid, "LOWRIDER", "prtial_gngtlkC", 4.0, 1, 0, 0, 0, 0, 1);
  1558. }
  1559. case 28:
  1560. {
  1561. ApplyAnimation(playerid, "LOWRIDER", "prtial_gngtlkD", 4.0, 1, 0, 0, 0, 0, 1);
  1562. }
  1563. case 29:
  1564. {
  1565. ApplyAnimation(playerid, "LOWRIDER", "prtial_gngtlkF", 4.0, 1, 0, 0, 0, 0, 1);
  1566. }
  1567. case 30:
  1568. {
  1569. ApplyAnimation(playerid, "LOWRIDER", "prtial_gngtlkG", 4.0, 1, 0, 0, 0, 0, 1);
  1570. }
  1571. case 31:
  1572. {
  1573. ApplyAnimation(playerid, "LOWRIDER", "prtial_gngtlkH", 4.0, 1, 0, 0, 0, 0, 1);
  1574. }
  1575. case 32:
  1576. {
  1577. ApplyAnimation(playerid, "LOWRIDER", "RAP_A_Loop", 4.0, 1, 0, 0, 0, 0, 1);
  1578. }
  1579. case 33:
  1580. {
  1581. ApplyAnimation(playerid, "LOWRIDER", "RAP_B_Loop", 4.0, 1, 0, 0, 0, 0, 1);
  1582. }
  1583. case 34:
  1584. {
  1585. ApplyAnimation(playerid, "LOWRIDER", "RAP_C_Loop", 4.0, 1, 0, 0, 0, 0, 1);
  1586. }
  1587. case 35:
  1588. {
  1589. ApplyAnimation(playerid, "LOWRIDER", "Sit_relaxed", 4.0, 1, 0, 0, 0, 0, 1);
  1590. }
  1591. case 36:
  1592. {
  1593. ApplyAnimation(playerid, "LOWRIDER", "Tap_hand", 4.0, 1, 0, 0, 0, 0, 1);
  1594. }
  1595. }
  1596. }
  1597. else
  1598. {
  1599. SendClientMessage(playerid, COLOR_GRAD2, " You must be in a compatible lowrider to use this command!");
  1600. }
  1601. return 1;
  1602. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement