14.04.2017, 08:12
Код:
stock GetWeaponByModel(wid) { if(wid == 331) return 1; else if(wid == 332) return 2; else if(wid == 333) return 3; else if(wid == 334) return 5; else if(wid == 335) return 6; else if(wid == 336) return 7; else if(wid == 321) return 10; else if(wid == 322) return 11; else if(wid == 323) return 12; else if(wid == 324) return 13; else if(wid == 325) return 14; else if(wid == 326) return 15; else if(wid == 347) return 23; else if(wid == 348) return 24; else if(wid == 349) return 25; else if(wid == 350) return 26; else if(wid == 351) return 27; else if(wid == 352) return 28; else if(wid == 353) return 29; else if(wid == 355) return 30; else if(wid == 356) return 31; else if(wid == 372) return 32; else if(wid == 357) return 33; else if(wid == 335) return 4; else if(wid == 358) return 34; else if(wid == 365) return 41; else if(wid == 366) return 44; else if(wid == 367) return 43; return 0; }