Advertisement
Guest User

Untitled

a guest
Nov 5th, 2017
427
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 1.94 KB | None | 0 0
  1. new skins[300] = {
  2.     0, 1, 2, 3, 4, 5, 6, 7,
  3.     8, 9, 10, 11, 12, 13, 14,
  4.     15, 16, 17, 18, 19, 20, 21,
  5.     22, 23, 24, 25, 26, 27, 28,
  6.     29, 30, 31, 32, 33, 34, 35,
  7.     36, 37, 38, 39, 40, 41, 42,
  8.     43, 44, 45, 46, 47, 48, 49,
  9.     50, 51, 52, 53, 54, 55, 56,
  10.     57, 58, 59, 60, 61, 62, 63,
  11.     64, 65, 66, 67, 68, 69, 70,
  12.     71, 72, 73, 74, 75, 76, 77,
  13.     78, 79, 80, 81, 82, 83, 84,
  14.     85, 86, 87, 88, 89, 90, 91,
  15.     92, 93, 94, 95, 96, 97, 98,
  16.     99, 100, 101, 102, 103, 104,
  17.     105, 106, 107, 108, 109, 110,
  18.     111, 112, 113, 114, 115, 116,
  19.     117, 118, 119, 120, 121, 122,
  20.     123, 124, 125, 126, 127, 128,
  21.     129, 130, 131, 132, 133, 134,
  22.     135, 136, 137, 138, 139, 140,
  23.     141, 142, 143, 144, 145, 146,
  24.     147, 148, 149, 150, 151, 152,
  25.     153, 154, 155, 156, 157, 158,
  26.     159, 160, 161, 162, 163, 164,
  27.     165, 166, 167, 168, 169, 170,
  28.     171, 172, 173, 174, 175, 176,
  29.     177, 178, 179, 180, 181, 182,
  30.     183, 184, 185, 186, 187, 188,
  31.     189, 190, 191, 192, 193, 194,
  32.     195, 196, 197, 198, 199, 200,
  33.     201, 202, 203, 204, 205, 206,
  34.     207, 208, 209, 210, 211, 212,
  35.     213, 214, 215, 216, 217, 218,
  36.     219, 220, 221, 222, 223, 224,
  37.     225, 226, 227, 228, 229, 230,
  38.     231, 232, 233, 234, 235, 236,
  39.     237, 238, 239, 240, 241, 242,
  40.     243, 244, 245, 246, 247, 248,
  41.     249, 250, 251, 252, 253, 254,
  42.     255, 256, 257, 258, 259, 260,
  43.     261, 262, 263, 264, 265, 266,
  44.     267, 268, 269, 270, 271, 272,
  45.     273, 274, 275, 276, 277, 278,
  46.     279, 280, 281, 282, 283, 284,
  47.     285, 286, 287, 288, 289, 290,
  48.     291, 292, 293, 294, 295, 296,
  49.     297, 298, 299
  50. };
  51.  
  52. RedirectClass(classid, skinid) {
  53.     skins[classid] = skinid;
  54.     printf("Redirected skin %i in class selection to %i!", classid, skins[classid]);
  55. }
  56.  
  57. forward setskin(playerid, skinid);
  58. public setskin(playerid, skinid) return SetPlayerSkin(playerid, skinid);
  59.  
  60. public OnPlayerRequestClass(playerid, classid)
  61. {
  62.     classid = skins[classid];  
  63.     SetTimerEx("setskin", 25, false, "ii", playerid, classid);
  64.     return 1;
  65. }
  66.  
  67. // How to use: ReplaceClass(skinidtoreplace, skinid);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement