Raised This Month: $18 Target: $400
 4% 

Showing results 1 to 25 of 500
Search took 0.04 seconds.
Search: Posts Made By: Natsheh
Forum: Scripting Help 12-03-2022, 22:49
Replies: 13
Views: 249
Posted By Natsheh
Re: Get map size (width and length) and player positions

Here're some useful references from the Xash3D engine code.

https://github.com/FWGS/xash3d/blob/master/engine/client/cl_view.c
https://github.com/FWGS/xash3d/blob/master/engine/client/gl_backend.c
Forum: Scripting Help 12-03-2022, 20:57
Replies: 13
Views: 249
Posted By Natsheh
Re: Get map size (width and length) and player positions

corners of the map no, but the origin of the map YES :)

Origin of the map is 0x0x0 Actually the origin of the overview in the map is saved in the category global in the overview of the map .txt...
Forum: Scripting Help 12-02-2022, 16:12
Replies: 6
Views: 170
Posted By Natsheh
Re: How to achieve cumulative effect on death pool?

You can create a player global variable and store in it the current gametime when the player dies/killed, and update the players kills after one or two seconds passed from the last kill.


new...
Forum: Scripting Help 11-28-2022, 08:47
Replies: 1
Views: 129
Posted By Natsheh
Re: Models

Your problem is considered from the model and not from the script.
Forum: Scripting Help 11-26-2022, 17:20
Replies: 3
Views: 177
Posted By Natsheh
Re: User Joined team event

Hook up event "joined team" with register log event.
Forum: Scripting Help 11-20-2022, 18:40
Replies: 11
Views: 307
Posted By Natsheh
Re: Get ALL Offsets

Upload the mod here so someone would do it for you, if he have a fullpackage decompiler.
Forum: Scripting Help 11-18-2022, 19:48
Replies: 26
Views: 521
Posted By Natsheh
Re: Storing string in cVar

Honestly @fysiks i don't know why're you still bothering with this shmuck !?
Forum: Scripting Help 11-18-2022, 19:39
Replies: 66
Solved loop entitys
Views: 1,691
Posted By Natsheh
Re: loop entitys

MrPickles please stfu and stop talking nonsense you literally proceeded with this topic for too long over nonsense.

If you are seeking for psychological help go to the Mexican forums....
Forum: Suggestions / Requests 11-18-2022, 08:28
Replies: 5
Views: 297
Posted By Natsheh
Re: round_money request

Add this to plugin_init()


AddTranslation("en", CreateLangKey("MONEY_AMOUNT"), "You've been given $%d!");
Forum: Scripting Help 11-17-2022, 18:15
Replies: 7
Views: 383
Posted By Natsheh
Re: Help about detecting enemy players

@MrPickles i still don't understand why are you still hardcoding ???
Forum: Scripting Help 11-17-2022, 18:12
Replies: 66
Solved loop entitys
Views: 1,691
Posted By Natsheh
Re: loop entitys

No1 will use your method because its hardcoded and robust, you're just being stubborn and ignorant to listen.
Forum: Suggestions / Requests 11-16-2022, 15:50
Replies: 3
Views: 185
Posted By Natsheh
Re: Run time error 4: index out of bounds

new Float:fPtime[MAX_PLAYERS]
new bool:buyed[MAX_PLAYERS]


:arrow:


new Float:fPtime[MAX_PLAYERS+1]
new bool:buyed[MAX_PLAYERS+1]
Forum: Scripting Help 11-16-2022, 15:30
Replies: 66
Solved loop entitys
Views: 1,691
Posted By Natsheh
Re: loop entitys

Why don't you make the loop as following it will be rather than using 100 to stop the loop.


for( new i = 0; __int_Entitys[i] < 100; i++)[

:arrow:

for( new i = 0, maxloop =...
Forum: Scripting Help 11-16-2022, 15:09
Replies: 66
Solved loop entitys
Views: 1,691
Posted By Natsheh
Re: loop entitys

What simpler with this ?


removeTransEnts( Client, {0,1,2,3,100} );

You're hardcoding some values in the script which its not needed at all and those numbers have absolute no meaning atleast...
Forum: Suggestions / Requests 11-16-2022, 07:13
Replies: 19
Views: 635
Posted By Natsheh
Re: Force to download specific file first

I think this one would be easy to achieve if you listed the music name of the plugin at top of all plugins in the plugins.ini

Also if the sound file is precache via generic it will wait for sounds...
Forum: Scripting Help 11-16-2022, 06:48
Replies: 66
Solved loop entitys
Views: 1,691
Posted By Natsheh
Re: loop entitys

Why don't you initiate the array as the following it will be less complex and easier to understand .



#define MAX_WARRIORS_TYPES 3
#define MAX_ENT_PER_WARRIOR 4

new...
Forum: Scripting Help 11-15-2022, 11:25
Replies: 2
Views: 167
Posted By Natsheh
Re: no chance for me to understand bits

your solution is to shift the wpn depending on the weapon ID

So your function should be as following.


/** I'm asking about this method */
get_weapon_slot(wpn)
{
wpn = (1<<wpn);
...
Forum: Scripting Help 11-15-2022, 10:04
Replies: 7
Views: 378
Posted By Natsheh
Re: Old problem: no points from bomb explode/defuse

He wants to give the planter frags for each one who dies from the bomb explosion, and i am not confusing anyone, the only one who is complaining is you.
Forum: Scripting Help 11-15-2022, 02:25
Replies: 7
Views: 378
Posted By Natsheh
Re: Old problem: no points from bomb explode/defuse

For more information about when the frags are set to the defuser and the planter you can always relay onto the source code from

Also if you want to hook bomb explosion event you can use this hook...
Forum: Scripting Help 11-14-2022, 17:42
Replies: 7
Views: 378
Posted By Natsheh
Re: Old problem: no points from bomb explode/defuse

Here you can use this hook to strip the 3 frags given to the defuser


register_logevent("logevent_defuse", 3, "2=Defused_The_Bomb")

public logevent_defuse()
{
new id = ........ The...
Forum: Scripting Help 11-10-2022, 19:58
Replies: 9
Solved Difference?
Views: 335
Posted By Natsheh
Re: Difference?

It seems like you put more effort in this post than the 1st one, I am glad you did some effort.
Forum: Scripting Help 11-09-2022, 19:54
Replies: 27
Views: 703
Posted By Natsheh
Re: Can't teamswap dead players

My suggestion would be to kill the user before changing its team.
Forum: Scripting Help 11-09-2022, 14:25
Replies: 27
Views: 703
Posted By Natsheh
Re: Can't teamswap dead players

Just for information, Round_End will be called even if the game didn't commence yet.
Forum: Scripting Help 11-09-2022, 13:57
Replies: 27
Views: 703
Posted By Natsheh
Re: Can't teamswap dead players

You can find latest meta mod over here.

http://metamod-p.sourceforge.net/

Amxmodx project was long time dropped due the loose in the interest and people just moved on with their lives, most of...
Forum: Scripting Help 11-09-2022, 13:38
Replies: 27
Views: 703
Posted By Natsheh
Re: Can't teamswap dead players

show amxx plugins

and you can use latest meta mod version


Metamod v1.21p38 2018/02/11 (5:13)
by Will Day
http://www.metamod.org/
Patch: Metamod-P (mm-p) v38
by Jussi Kivilinna
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 20:17.


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