Raised This Month: $319 Target: $400
 79%   Almost there!

Showing results 1 to 25 of 500
Search took 0.04 seconds.
Search: Posts Made By: HamletEagle
Forum: Scripting Help Yesterday, 12:21
Replies: 8
Views: 182
Posted By HamletEagle
Re: Block MSG_ALL SVC_TEMPENTITY for a player

I already mentioned the delay should be considered only if you can't immediately send another message from pfnMessageEnd. Either use a small task, a thinking entity that would allow you to think...
Forum: Scripting Help Yesterday, 11:03
Replies: 8
Views: 182
Posted By HamletEagle
Re: Block MSG_ALL SVC_TEMPENTITY for a player

Yes, so how I would do it is:
1. pfnMessageBegin called, initialize a structure to save message arguments. I would save it a list of (arg type, arg value) where arg type is short, string, entity,...
Forum: Scripting Help Yesterday, 06:40
Replies: 8
Views: 182
Posted By HamletEagle
Re: Block MSG_ALL SVC_TEMPENTITY for a player

You can try to hook pfnMessageBegin, check if the second argument(msg_type) is SVC_TEMPENTITY and block the call. Then, block all subsequent calls of pfnWriteByte, pfnWriteChar, pfnWriteShort,...
Forum: Scripting Help 10-22-2021, 06:12
Replies: 8
Views: 247
Posted By HamletEagle
Re: How to hook CBaseEntity SetModel using Orpheu

No difference. edict means entity dictionary, it contains data about entities that are networked to the client.
"s" means structure so "entity dictionary structure". This struct is defined here:...
Forum: Scripting Help 10-22-2021, 03:00
Replies: 8
Views: 247
Posted By HamletEagle
Forum: Scripting Help 10-21-2021, 12:56
Replies: 8
Views: 247
Posted By HamletEagle
Re: How to hook CBaseEntity SetModel using Orpheu

Yes, they do not need signatures because they are exported for use. You only need the name(as stated in the link I sent you for eiface.h), arguments and return value.
Forum: Suggestions / Requests 10-21-2021, 10:54
Replies: 6
Views: 192
Posted By HamletEagle
Re: [Request] Hit zones HUD

This plugin seems to be made for amxx 1.9+
Forum: Scripting Help 10-21-2021, 10:29
Replies: 8
Views: 247
Posted By HamletEagle
Re: How to hook CBaseEntity SetModel using Orpheu

pfnSetModel is an engine function, not present in cs.so
Also, since this function is exported, you do not need a signature.

You can check how it is done...
Forum: Approved Plugins 10-21-2021, 10:27
Replies: 100
Views: 17,501
Posted By HamletEagle
Re: HighPingKicker OLO Based/Updated [20/10/2021]

For romanian translation:


HPK_WARNING_MESSAGE = ^4[HPK]^1 Jucatori cu ping-ul mai mare de ^4 %d^1 vor primii kick.


->


HPK_WARNING_MESSAGE = ^4[HPK]^1 Jucatorii cu ping-ul mai mare...
Forum: Suggestions / Requests 10-21-2021, 08:29
Replies: 12
Views: 288
Posted By HamletEagle
Re: Request plugin Respawn ZM

You should never buy/use plugins without the source code. Moreover, distributing AMXX files without source code is against the gnu license and therefore illegal.
Forum: Scripting Help 10-20-2021, 10:22
Replies: 3
Views: 205
Posted By HamletEagle
Re: Stock vs. Private vs. Public

This is not a question of what is better. Every one of them is used in a specific scenario.

I explained what "stock" is a few days ago in your other topic and the others were explained in this...
Forum: Approved Plugins 10-20-2021, 10:19
Replies: 100
Views: 17,501
Posted By HamletEagle
Re: HighPingKicker OLO Based/Updated [23/08/2021]

@iceeedr, I forgot during the review, but you should try to create unique lang keys. A good idea is to prefix your keys with the name of your plugin, for example: HPK_KEY_NAME.
Forum: Off-Topic 10-19-2021, 03:09
Replies: 4
Views: 310
Posted By HamletEagle
Re: Old thread bumping

I feel like this would not qualify as bumping. Bumping is posting a meaningless reply just to get more visibility for your topic. Adding relevant information(that may help others help you) is not...
Forum: Off-Topic 10-18-2021, 03:05
Replies: 9
Views: 471
Posted By HamletEagle
Re: About MasterMind420

Report the topics and a mod will restore them.
Forum: Scripting Help 10-16-2021, 09:39
Replies: 3
Views: 285
Posted By HamletEagle
Re: How to give player grenade but don't auto switching weapon to the nade

A more elegant way is to use m_iAutoWepSwitch offset, value 509. Set it to 0 to prevent auto weapon switching, before give_item.
Forum: Scripting Help 10-15-2021, 08:07
Replies: 12
Views: 424
Posted By HamletEagle
Re: ExecuteForward

Use words to describe WHAT YOU WANT TO DO, not code.
Don't say something like "I want the forward to do x and y"
make no reference to any coding-specific concepts
Describe the feature or...
Forum: Scripting Help 10-15-2021, 06:36
Replies: 12
Views: 424
Posted By HamletEagle
Re: ExecuteForward

I don't know what "this" is since you keep refusing to provide proper information about what it is that you are trying to do. Use words to describe WHAT YOU WANT TO DO, not code. Don't say something...
Forum: Scripting Help 10-15-2021, 06:26
Replies: 12
Views: 424
Posted By HamletEagle
Re: ExecuteForward

I don't think that's it tho. His registration native doesn't return anything so likely g_husk and g_arachne are both 0.
If random_num returns 0 both if checks will pass and both messages will be...
Forum: Scripting Help 10-14-2021, 07:54
Replies: 2
Views: 217
Posted By HamletEagle
Re: Include CPU

"stock" means optional. If a stock function is not called then it will not be present in the generated binary file(".amxx"). This will save space on the disk because it results in smaller files, but...
Forum: Scripting Help 10-14-2021, 05:52
Replies: 5
Views: 318
Posted By HamletEagle
Re: Generate a Random 6 Digit Random ID and Attach on SQL

Or you know, you could just let SQL generate the ID by using AUTO INCREMENT. Manually generating the random ids has an (extremely small) chance of generating duplicate indexes.
Forum: Scripting Help 10-13-2021, 08:31
Replies: 17
Views: 717
Posted By HamletEagle
Re: Ham_Touch

No, we are all a bunch of idiots, clearly not worthy of helping you. Kindly stop wasting your time with us peasants.

(learn to act like a decent human being, insulting the people that are trying...
Forum: Scripting Help 10-13-2021, 07:23
Replies: 17
Views: 717
Posted By HamletEagle
Re: Ham_Touch

If you want help you need to specify what the code is supposed to do and what is the problem, together with potential error logs.

Throwing a piece of code and asking what is wrong with this won't...
Forum: General 10-12-2021, 09:03
Replies: 6
Views: 536
Posted By HamletEagle
Re: How to use Hud Instead of Print.

You can use regular hud messages, just saying.
Forum: Scripting Help 10-12-2021, 02:24
Replies: 10
Views: 526
Posted By HamletEagle
Re: Entity not wanting to get spawned

Only if you want a solid entity.
Forum: Scripting Help 10-11-2021, 12:26
Replies: 10
Views: 526
Posted By HamletEagle
Re: Entity not wanting to get spawned

Define "not working". As I said before, you may want to give your jetpack a model just to confirm it is actually being spawned.
Showing results 1 to 25 of 500

 
Forum Jump

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


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