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

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: Natsheh
Forum: Scripting Help Today, 04:03
Replies: 6
Views: 186
Posted By Natsheh
Forum: Suggestions / Requests Today, 00:28
Replies: 1
Views: 85
Posted By Natsheh
Re: Zombie plague jetpack Request

Thats a flame thrower model.
Forum: Scripting Help Yesterday, 22:50
Replies: 4
Views: 202
Posted By Natsheh
Re: Detecting walk/run [SHIFT]

No we're not doing that, we will only retrieve the value to check if the player holding the shift walk, then you can change player maxspeed and set it back on release or setting velocity
Forum: Scripting Help Yesterday, 17:06
Replies: 6
Views: 186
Posted By Natsheh
Re: How to hook CBaseEntity SetModel using Orpheu

A problem, argument edict_t is not defined in orpheu how i can define it?
Forum: Scripting Help Yesterday, 11:04
Replies: 6
Views: 186
Posted By Natsheh
Re: How to hook CBaseEntity SetModel using Orpheu

Thanks alot i didn't know it was an engine function, doesn't engine functions require signatures?

Edit : oh nvm, now i see it needs only function arguments and return definitions



{
...
Forum: Scripting Help Yesterday, 09:52
Replies: 6
Views: 186
Posted By Natsheh
How to hook CBaseEntity SetModel using Orpheu

As the title says how do i hook setting entity model or FM_SetModel through Orpheu i tried searching for the signature in cs.so but I've failed.
Forum: Scripting Help Yesterday, 09:04
Replies: 4
Views: 202
Posted By Natsheh
Re: Detecting walk/run [SHIFT]

You want to catch if the player is holding the shift walking or if the player is walking?

I know they sound similar but they're different because shift walking its the maxspeed times...
Forum: Scripting Help Yesterday, 05:34
Replies: 10
Views: 373
Posted By Natsheh
Re: Give the same functionality for the alive players to the dead players

The reason that i don't want to use with this method its because it will interfier with other plugins since the dead players will be counted as alive players.
Forum: Scripting Help Yesterday, 05:29
Replies: 10
Views: 373
Posted By Natsheh
Re: Give the same functionality for the alive players to the dead players

Solved, by setting the player dead_flag to dead_no and re-executing the weapon selection then setting back the player to dead_respawn in client_command forward, the same thing for dropping the...
Forum: Suggestions / Requests 10-20-2021, 13:18
Replies: 1
Views: 172
Posted By Natsheh
Forum: Scripting Help 10-20-2021, 09:29
Replies: 10
Views: 373
Posted By Natsheh
Re: Give the same functionality for the alive players to the dead players

New error there's a problem with switching weapons if anyone can post the function of switching weapons or deploying them because i can't find it.

The problem is when switching a weapon the...
Forum: Scripting Help 10-20-2021, 05:04
Replies: 10
Views: 373
Posted By Natsheh
Re: Give the same functionality for the alive players to the dead players

Its because on player think post the player is thought dead and most of the alive functions are ignored.
Forum: Scripting Help 10-19-2021, 10:27
Replies: 7
Views: 271
Posted By Natsheh
Re: Whats Wrong I had Done :(

You can use get_user_attacker(victim, CSW_WPNID); to catch the weapon.
Forum: Scripting Help 10-19-2021, 10:00
Replies: 10
Views: 373
Posted By Natsheh
Re: Give the same functionality for the alive players to the dead players

i managed for it to work using this sequence of code



ExecuteHamB(Ham_CS_RoundRespawn, id);
set_pev(id, pev_deadflag, DEAD_RESPAWNABLE);
set_pev(id, pev_solid, SOLID_SLIDEBOX);...
Forum: Scripting Help 10-19-2021, 05:48
Replies: 10
Views: 373
Posted By Natsheh
Re: Give the same functionality for the alive players to the dead players

I found a solution i need to be able to hook PlayerDeathThink and block it for that specified player.


void CBasePlayer::PlayerDeathThink(void)
{
float flForward;

if (FBitSet(pev->flags,...
Forum: Scripting Help 10-19-2021, 05:01
Replies: 10
Views: 373
Posted By Natsheh
Re: Give the same functionality for the alive players to the dead players

I tried spawning the player and giving him the dead_dead flag but i assume the player functionality is changed on player think and the player returns to the dead spectating.
Forum: Scripting Help 10-19-2021, 03:54
Replies: 7
Views: 271
Posted By Natsheh
Re: Whats Wrong I had Done :(

Yeah that's because rg_get_weaponbox_id(pevAttacker) is expecting a valid weapon entity index and not a player index.
Forum: Scripting Help 10-19-2021, 00:36
Replies: 10
Views: 373
Posted By Natsheh
Give the same functionality for the alive players to the dead players

As the title says i want to spawn a dead player but the player remains dead for example when all of the player teammates are officially dead the round ends even if the dead player is still alive.
...
Forum: Suggestions / Requests 10-19-2021, 00:15
Replies: 21
Views: 955
Posted By Natsheh
Re: hello, this hat system gives coins at a certain time, but when the map changes, t

code edited -> (https://forums.alliedmods.net/showpost.php?p=2760925&postcount=19) Fixed a variable mistype in the SetUserHat function.
Forum: Unapproved/Old Plugins 10-18-2021, 11:14
Replies: 767
Views: 300,596
Posted By Natsheh
Forum: Suggestions / Requests 10-18-2021, 09:51
Replies: 21
Views: 955
Posted By Natsheh
Re: hello, this hat system gives coins at a certain time, but when the map changes, t

code edited -> (https://forums.alliedmods.net/showpost.php?p=2760925&postcount=19) reset the variable g_Coins_nVault after closing the nvault.
Forum: Suggestions / Requests 10-18-2021, 09:28
Replies: 21
Views: 955
Posted By Natsheh
Re: hello, this hat system gives coins at a certain time, but when the map changes, t

#include <amxmodx>
#include <amxmisc>
#include <reapi>
#include <nvault>

#define TASK_FREE_COINS 779933
#define Kac_Dakikada_Bir 5

#if AMXX_VERSION_NUM > 182
#define client_disconnect...
Forum: Suggestions / Requests 10-17-2021, 06:09
Replies: 21
Views: 955
Posted By Natsheh
Re: hello, this hat system gives coins at a certain time, but when the map changes, t

I'll try to fix you the code when i am available on pc.
Forum: Suggestions / Requests 10-17-2021, 02:16
Replies: 21
Views: 955
Posted By Natsheh
Re: hello, this hat system gives coins at a certain time, but when the map changes, t

First hat is being ignored because you're starting the loop from the index 1 instead of 0.

Not sure why you've the first slot in the array empty.
But you can simply remove it and alter another...
Forum: Scripting Help 10-16-2021, 09:57
Replies: 5
Views: 338
Posted By Natsheh
Showing results 1 to 25 of 500

 
Forum Jump

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


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