Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define G_Client(clientIndex) ( 0x0110A280 + ( clientIndex * 0x3980) )
- void TakeWeapon(int clientIndex, int WeaponIndex, int takeAwayAmmo)
- {
- opd_s BG_TPW = { 0x001C409C, TOC };
- void(*BG_TakePlayerWeapon)(int *playerState, int WeaponIndex, int takeAwayAmmo) = (void(*)(int*, int, int))&BG_TPW;
- BG_TakePlayerWeapon((int*)G_Client(clientIndex), WeaponIndex, takeAwayAmmo);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement