Raised This Month: $2 Target: $400
 0% 

Showing results 1 to 25 of 500
Search took 0.01 seconds.
Search: Posts Made By: HamletEagle
Forum: Scripting Help Today, 11:54
Replies: 48
Views: 515
Posted By HamletEagle
Re: leave only the bomb

420 and 105 are actually the same offset. The game uses full offsets(like 420), unlike plugins which usually use offsets divided by size(like the original pdata natives).
Therefore, if I recall...
Forum: Scripting Help Today, 06:25
Replies: 48
Views: 515
Posted By HamletEagle
Re: leave only the bomb

Being rude to people that obviously know more than you and put up with your lack of knowledge and mistakes, people that really tried to help you is not the way to go.
No one will help you with that...
Forum: Unapproved/Old Plugins Today, 06:02
Replies: 4
Views: 136
Posted By HamletEagle
Re: Welcome Message v1.0 by Aleku

Attaching amxx files is not allowed and providing the source file is mandatory. Plus, as you said, it's nothing new and can not be approved.
Forum: Scripting Help Today, 03:00
Replies: 1
Views: 70
Posted By HamletEagle
Re: Math and get integer from clcmd "say"

Hook say(with register_clcmd), read the arguments(the chat message) and process it to get the sum.
Forum: Scripting Help Today, 02:54
Replies: 48
Views: 515
Posted By HamletEagle
Re: leave only the bomb

Show whar you tried(the code). If you keep saying it does not work we can't help.
Forum: Scripting Help Today, 02:45
Replies: 10
Views: 190
Posted By HamletEagle
Re: RegisterHookChain vs RegisterHam

Some of the posts in this topic are complete BS.
If you want your plugin to be usable by as many people are possible(if you want to post it here) then you should always use Ham when possible....
Forum: Scripting Help 07-02-2020, 13:48
Replies: 10
Views: 255
Posted By HamletEagle
Forum: New Plugin Submissions 07-02-2020, 10:35
Replies: 14
Views: 285
Posted By HamletEagle
Re: Admin Bad Word Log

register_plugin ( PLUGIN, VERSION, AUTHOR )

register_clcmd ( "say" , "BadWord" )

register_clcmd ( "say_team" , "BadWord" )

mkdir ( szLogFile )

LoadList ( )
Forum: Scripting Help 07-02-2020, 06:44
Replies: 22
Views: 488
Posted By HamletEagle
Re: set_lights in cvar

set_task will not bug or slow the server.
Forum: Scripting Help 07-01-2020, 16:41
Replies: 11
Views: 224
Posted By HamletEagle
Re: register_concmd not working?

Also answer the second question ans do the debugging step I suggestes. Or just take the fixed code and call it a day lol.
Forum: Scripting Help 07-01-2020, 15:01
Replies: 11
Views: 224
Posted By HamletEagle
Re: register_concmd not working?

Do you have a "check_for_cvar" function?
Does the function get executed(test by adding a print) but still prints "unknow command"?
Did you return PLUGIN_HANDLED?
Forum: Scripting Help 07-01-2020, 03:12
Replies: 22
Views: 488
Posted By HamletEagle
Re: set_lights in cvar

If you need instant cvar changes for 1.8.2 and only orpheu can do it, then how is it "unnecessary"? Please do not start again the "I only want to include one module" syndrome.
There is absolutely no...
Forum: Scripting Help 06-30-2020, 15:16
Replies: 12
Views: 229
Posted By HamletEagle
Re: Help

I can see the generic error, I can not see your code. An error can be caused by multiple things.
Insulting people that are trying to help is not the way to go.

You have 2 choices: post the code...
Forum: Scripting Help 06-30-2020, 12:32
Replies: 12
Views: 229
Posted By HamletEagle
Re: Help

What I said is still true. No one can help without actually seeing the code(to see what is wrong).
Forum: Scripting Help 06-30-2020, 12:16
Replies: 13
Views: 249
Posted By HamletEagle
Re: Need Help For Cod MW4 Cs 1.6

We can't understand what you want and if we can't understand then we can't help. Please write some proper sentences where you clearly explain what you want and post all the needed code/error logs(if...
Forum: Scripting Help 06-30-2020, 12:03
Replies: 12
Views: 229
Posted By HamletEagle
Re: Help

Is this thread for real?
How are we supposed to help you without having the code, you know, TO ACTUALLY SEE THE WHERE THE ERROR IS? If you bought it and don't want to post it then go to the person...
Forum: Scripting Help 06-30-2020, 06:23
Replies: 22
Views: 488
Posted By HamletEagle
Re: set_lights in cvar

new buffer[size]
get_pcvar_string(cvar, buffer, charsmax(buffer))
//do something with buffer

This is more or less pseudocode, adapt it to your situation. The idea is you do not pass the size of...
Forum: Scripting Help 06-30-2020, 06:08
Replies: 22
Views: 488
Posted By HamletEagle
Re: set_lights in cvar

The latest version is 1.8.2
Forum: Scripting Help 06-29-2020, 13:00
Replies: 5
Views: 117
Posted By HamletEagle
Re: Detect if the weapon has a bullet

So use it like this in your code:

new const m_pActiveItem = 373

if (cs_get_weapon_ammo(get_pdata_cbase(id, m_pActiveItem )) >= 1)


This should work if players have only ups(no other items,...
Forum: Scripting Help 06-29-2020, 12:54
Replies: 28
Views: 540
Posted By HamletEagle
Re: Native: get_user_rank

"the old one"
Style 0 is not "old", in fact it is what you should use. Style 1 is deprecated, do not use it.
OP, just switch to style 0 natives, no point in trying to fix code you shouldn't write...
Forum: Scripting Help 06-29-2020, 04:01
Replies: 22
Views: 488
Posted By HamletEagle
Re: set_lights in cvar

This looks like a potential buffer overflow. Use charsmax to ensure the proper size is passed and to avoid hardcoding.
Forum: Scripting Help 06-29-2020, 03:57
Replies: 5
Views: 117
Posted By HamletEagle
Re: Detect if the weapon has a bullet

I don't know, stop using magic numbers and name offsets properly. How can anyone understand what 373 is without searching?
Forum: Scripting Help 06-29-2020, 03:27
Replies: 5
Views: 117
Posted By HamletEagle
Re: Detect if the weapon has a bullet

https://www.amxmodx.org/api/cstrike/cs_get_weapon_ammo
Forum: Scripting Help 06-28-2020, 15:24
Replies: 17
Views: 366
Posted By HamletEagle
Re: custom cvar?

You don't need a login system if all your saving is done by steamid since only one person can have that steamid.
Forum: Scripting Help 06-28-2020, 15:22
Replies: 48
Views: 515
Posted By HamletEagle
Re: leave only the bomb

Search about m_bIsBomb. I gave you a hint, do some research.
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 23:42.


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