Raised This Month: $ Target: $400
 0% 

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: Natsheh
Forum: Scripting Help 08-07-2022, 19:38
Replies: 8
Views: 153
Posted By Natsheh
Re: Loop Task or Flag B

MAX_PLAYERS definition is not the same as MaxClients. MaxClients holds how many players the server can have at a particular time while MAX_PLAYERS is a constant that holds the maximum amount of...
Forum: Scripting Help 08-02-2022, 03:01
Replies: 4
Views: 306
Posted By Natsheh
Re: NPC movement bug

Solved, apparently setting pev_impacttime effects the entity model in someway.
Forum: Scripting Help 08-01-2022, 02:33
Replies: 3
Views: 186
Posted By Natsheh
Re: get Model native

:arrow:

public __getClientMODEL()
{
set_string( 2, __Player_MDL[get_param(1)], get_param(3) );
}
Forum: Scripting Help 07-29-2022, 20:07
Replies: 4
Views: 306
Posted By Natsheh
Re: NPC movement bug

I already changed entity move type to MOVETYPE_PUSHSTEP and still it doesn't work.
Forum: Scripting Help 07-29-2022, 07:48
Replies: 4
Views: 306
Posted By Natsheh
NPC movement bug

For some reason when moving an NPC with solid slide & move type (STEP/PUSHSTEP) the NPC doesn't display movement rather shows the NPC at the start and the end period, it doesn't display it walking to...
Forum: Suggestions / Requests 07-23-2022, 07:09
Replies: 8
Views: 264
Posted By Natsheh
Re: Help me in vip by Dunno

Yes, use new menus
Forum: Scripting Help 07-23-2022, 05:47
Replies: 5
Views: 414
Posted By Natsheh
Re: Change default steps

Use unprecacher kit and unprecache the sounds you don't desire.
Forum: Suggestions / Requests 07-22-2022, 08:01
Replies: 2
Views: 194
Posted By Natsheh
Forum: Suggestions / Requests 07-22-2022, 07:57
Replies: 8
Views: 264
Posted By Natsheh
Re: Help me in vip by Dunno

Mate its almost 2023 and you don't know how to make a proper screenshot?
Forum: Scripting Help 07-21-2022, 03:16
Replies: 16
Views: 478
Posted By Natsheh
Re: Replace in a String that Contains Repeated Chars

You probably need to follow a certain file name format, it will be much better such as costume_m_hats.mdl


new const szFile[] = "costume_X"

new charGender = szFileName[strlen(szFile) - 1];
...
Forum: New Plugin Submissions 07-19-2022, 16:36
Replies: 33
Views: 5,220
Posted By Natsheh
Re: VIP System ( SQL Support )

Check this https://forums.alliedmods.net/showthread.php?t=312953
Forum: Scripting Help 07-19-2022, 04:34
Replies: 12
Views: 531
Posted By Natsheh
Re: Take Player +attack

Cmdstart actually expect when a +action to be used then its called every frame otherwise when there is no action been used it will be stopped getting called.
Forum: Scripting Help 07-18-2022, 03:42
Replies: 12
Views: 531
Posted By Natsheh
Re: Take Player +attack

Use cmd start its much better because its called when a player uses a key or hold a key.
Forum: Scripting Help 07-18-2022, 03:37
Replies: 3
Views: 223
Posted By Natsheh
Re: must be lvalue (non-constant)

Always make the global variables names declaration very unique, and start it with the tag g_ as for global.
Forum: New Plugin Submissions 07-17-2022, 19:09
Replies: 19
Views: 10,887
Posted By Natsheh
Re: V.I.P System ( API + Web )

VIP system file was updated, and released version 2.1!





Sure there you go...


new szLength[64];
Forum: Scripting Help 07-15-2022, 19:55
Replies: 4
Views: 322
Posted By Natsheh
Re: How to get model attachment origin on a specific frame?

Work around solution....


GetAttachmentData(const id, const iAttachmentID, Float:fRetOrigin[3], Float:fRetAngles[3])
{
static Float:fStart[3], Float:fVAngles[3], Float:fOrigin[3],...
Forum: Scripting Help 07-15-2022, 05:34
Replies: 4
Views: 322
Posted By Natsheh
Re: How to get model attachment origin on a specific frame?

Solution:


pev(ent, pev_frame, fPrevFrame);
pev(ent, pev_animetime, fAnimTime);
set_pev(ent, pev_frame, (get_gametime() - fAnimTime) * AnimationFPS)

engfunc(EngFunc_GetAttachment, ent,...
Forum: Scripting Help 07-15-2022, 05:26
Replies: 8
Views: 400
Posted By Natsheh
Re: Zombie Model Help

You might find it odd, but it seems like a nice feature not a bug,

And btw this is scripting help section you need to be able to code inorder to get help here.
Forum: Scripting Help 07-14-2022, 08:48
Replies: 5
Views: 235
Posted By Natsheh
Re: detect area

Direction = (TestOrigin - Player origin)
Normalize Direction
Direction to angle

(Angle Y - Player Angle Y ) <= 180.0

TestOrigin is on the left side of the player.
Forum: Scripting Help 07-14-2022, 06:31
Replies: 5
Views: 235
Posted By Natsheh
Re: detect area

Explain what do you want to do, it will be much easier to understand.
Forum: Scripting Help 07-14-2022, 05:49
Replies: 4
Views: 322
Posted By Natsheh
Re: How to get model attachment origin on a specific frame?

it Works, but i found something strange rgflAngles in GetAttachment as well as in GetBonePosition is not retrieved, why so ?

and also the origin of attachment is always retrieved with respect to...
Forum: Scripting Help 07-13-2022, 07:34
Replies: 3
Views: 196
Posted By Natsheh
Re: Speed Float Help?

Set_user_maxspeed is for players to limit their speed, what you're talking about is entity velocity.
Forum: Scripting Help 07-13-2022, 05:34
Replies: 4
Views: 322
Posted By Natsheh
How to get model attachment origin on a specific frame?

I don't know if its possible to achieve this, but as far as i know EngFunc_GetAttachment only gets the origin and angles for the attachment on the first frame.
Forum: Scripting Help 07-13-2022, 05:25
Replies: 2
Views: 192
Posted By Natsheh
Re: SV_Modellndex_ model models/... not precached

Model wasn't precached andor its not in the models precached list.
Forum: Scripting Help 07-12-2022, 04:34
Replies: 2
Views: 173
Posted By Natsheh
Re: emit_sound help

Use client_cmd(id, "spk ^"ambience/noaccess.wav^"");
Showing results 1 to 25 of 500

 
Forum Jump

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


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