Raised This Month: $51 Target: $400
 12% 

Solved a small help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ehsank1768
Member
Join Date: Aug 2022
Old 05-17-2023 , 12:19   a small help
Reply With Quote #1

could someone tell me what does this code mean?

------
public Action:RemoveGrenade(Handle:timer, any:grenade)
{
if (IsValidEdict(grenade))
RemoveEdict(grenade);
}

GetClientGrenades(client)
{
new offsNades = FindDataMapOffs(client, "m_iAmmo") + (11 * 4);

return GetEntData(client, offsNades);
}

GiveClientGrenade(client)
{
new offsNades = FindDataMapOffs(client, "m_iAmmo") + (11 * 4);

new count = GetEntData(client, offsNades);
SetEntData(client, offsNades, ++count);
}
------
ehsank1768 is offline
ehsank1768
Member
Join Date: Aug 2022
Old 05-17-2023 , 12:23   Re: a small help
Reply With Quote #2

i found out what it means and does just 2mintues after posting this i am really sorry
ehsank1768 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode