10-03-2013, 23:17
10-07-2013, 18:40
10-07-2013, 19:20
weapon name from weapon id wat?
10-07-2013, 19:46
(10-07-2013, 19:20)DidUknowiPwn Wrote: [ -> ]weapon name from weapon id wat?
Don't post f*cking stupidness messages there like how you are doing it on 4d1 forums.
10-07-2013, 19:54
>weapon name from weapon id
Makes 0 sense.
Makes 0 sense.
10-07-2013, 20:17
(10-07-2013, 19:54)DidUknowiPwn Wrote: [ -> ]>weapon name from weapon id
Makes 0 sense.
it actually makes sense because with the addon you can use a function (GetWeapon) to get the id from a weapon, but you can't get the name from the id. This would be useful for adding a camo or attachment to the weapon for example.
something like that
Code:
client.other.currentWeapon = GetWeapon(GetWeaponNameFromID(client.other.currentWeapon) + "_camo01")
I'm not the best in that memory editing stuff. Like @SailorMoon said, ask someone like @Nukem or @barata .
10-07-2013, 20:19
10-08-2013, 00:41
(10-07-2013, 20:19)[HARD] Tony. Wrote: [ -> ]http://vk.com/video219529353_166391778
The hell is this?
10-08-2013, 08:31
hey bros,
At 1st step thanks for your replies, after read some document, i think i find way for solve this problem, please tell me is it good or not ?
My solution: i must have a dictionary<String, int> variable and put gun game, gun id as default value, then in OnChangeWeapon override method, i must check current weaponid is exists in my default variable or not, if be ture i can find weapon name, if it 's false, my function will thorw UnknownGunName value , so it 's my solution for solve it but i don't write these code yet.
Sincerely, iRoNinja
At 1st step thanks for your replies, after read some document, i think i find way for solve this problem, please tell me is it good or not ?
My solution: i must have a dictionary<String, int> variable and put gun game, gun id as default value, then in OnChangeWeapon override method, i must check current weaponid is exists in my default variable or not, if be ture i can find weapon name, if it 's false, my function will thorw UnknownGunName value , so it 's my solution for solve it but i don't write these code yet.
Sincerely, iRoNinja