Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Advanced Warfare Perk Dump
- //Fixed now you can add to your class, sorry i update everything from my phone i dont have access to my computer atm :/
- //Place this to Strucutres.h
- struct scr_entref_t {
- unsigned short classnum;
- unsigned short entnum;
- unsigned short client;
- };
- enum AWPerks {
- specialty_bulletaccuracy,
- specialty_fastreload,
- specialty_rof,
- specialty_holdbreath,
- specialty_longersprint,
- specialty_detectexplosive,
- specialty_exposeenemy,
- specialty_extraammo,
- specialty_twoprimaries,
- specialty_armorvest,
- specialty_fraggrenade,
- specialty_specialgrenade,
- specialty_extendedmags,
- specialty_lightweight,
- specialty_marathon,
- specialty_quickdraw,
- specialty_improvedholdbreath,
- specialty_fastsprintrecovery,
- specialty_extendedmelee,
- specialty_fastoffhand,
- specialty_stalker,
- specialty_extratactical,
- specialty_extralethal,
- specialty_recoil,
- specialty_flinch,
- specialty_fastmantle,
- specialty_detectintel,
- specialty_overdrive,
- specialty_overdrive2,
- specialty_overdrive3,
- specialty_resistexplosion,
- specialty_resistshellshock,
- specialty_exo_blastsuppressor,
- specialty_exo_slamboots,
- specialty_extended_battery,
- specialty_extended_battery2,
- specialty_extendeddetectgren,
- specialty_holdbreathwhileads,
- specialty_longerrange,
- specialty_fastermelee,
- specialty_reducedsway,
- specialty_bulletpenetration,
- specialty_grenadepulldeath,
- specialty_pistoldeath,
- specialty_quieter,
- specialty_parabolic,
- specialty_bulletdamage,
- specialty_sprintfire,
- specialty_notused,
- specialty_explosivebullets,
- specialty_scavenger,
- specialty_coldblooded,
- specialty_radarimmune,
- specialty_blindeye,
- specialty_plainsight,
- specialty_noplayertarget,
- specialty_heartbreaker,
- specialty_selectivehearing,
- specialty_fastsnipe,
- specialty_spygame,
- specialty_automantle,
- specialty_quickswap,
- specialty_lowprofile,
- specialty_empimmune,
- specialty_detectgrenade,
- specialty_throwback,
- specialty_radarblip,
- specialty_radararrow,
- specialty_moreminimap,
- specialty_enhancedtracer,
- specialty_radarjuggernaut,
- specialty_sprintreload,
- specialty_activecloaking,
- specialty_nojumpfriction,
- specialty_fastclimb,
- specialty_perkbreak_radar,
- specialty_highroller,
- specialty_hard_shell,
- specialty_class_fasthands,
- specialty_class_flakjacket,
- specialty_class_dexterity,
- specialty_silentkill,
- specialty_noscopeoutline,
- specialty_superbulletpenetration,
- specialty_exo_dodgethruster,
- specialty_exo_skidplates,
- specialty_exo_boostshocks,
- specialty_exo_ping,
- specialty_fastsprintads,
- specialty_fastoffhandrecovery,
- specialty_minion,
- specialty_exoping_immune,
- specialty_bulletresupply,
- specialty_lethalresupply,
- specialty_tacticalresupply,
- specialty_explosiveammoresupply,
- specialty_ballcarrier,
- specialty_uav_paint,
- specialty_wildcard_dualtacticals,
- specialty_wildcard_duallethals,
- };
- //Now i give you the extra to set the perks, you just need to add few things and use your brain, i cannot do that for you, joke aside here is the function you need, is not the only things needed you need the Scr things and u good, theyre essy to find whne i have time i may upload them for ya
- //Place it in your Functions.cpp
- void PlayerCmd_setPerk(int clientIndex, const char* perk) {
- scr_entref_t entref;
- entref.client = clientIndex;
- entref.entnum = clientIndex;
- entref.classnum = 0;
- Scr_AddString(perk);
- Scr_SetNumParam(1);
- ((void(*)(scr_entref_t))&ParseAddr(0x3208B0))(entref);
- Scr_ClearOutParams();
- iPrintln(clientIndex, perk);
- //Note the address called is for the TU 1.20
- }
Advertisement
Add Comment
Please, Sign In to add comment