Raised This Month: $32 Target: $400
 8% 

Showing results 1 to 25 of 442
Search took 0.01 seconds.
Search: Posts Made By: DavidJr
Forum: Scripting Help 06-14-2016, 08:30
Replies: 6
Views: 1,116
Posted By DavidJr
Re: NPC View Distance

Planning to work on this feature, probably it is hard, but the hardest part is maintaining the CPU usage.
Forum: Scripting Help 06-12-2016, 20:46
Replies: 6
Views: 1,116
Posted By DavidJr
Re: NPC View Distance

Okay thank you :wink:
Forum: Scripting Help 06-12-2016, 06:47
Replies: 6
Views: 1,116
Posted By DavidJr
Re: NPC View Distance

Thanks, I understand this, probably this is what I'm going to do to check the player is in the viewcone, now problem is how to create the NPC's viewcone?
Forum: Scripting Help 06-12-2016, 06:27
Replies: 6
Views: 1,116
Posted By DavidJr
NPC View Distance

Hello, I'm working on zombie npc, which I don't really know what this is called. I'll use image illustration.
http://s25.postimage.org/edcskcmqj/view_distance.jpg

Black circle: NPC (info_target...
Forum: Scripting Help 07-22-2015, 02:02
Replies: 4
Views: 686
Posted By DavidJr
Re: my plugin crash after game running

Try:

message_begin(MSG_ONE_UNRELIABLE, SVC_WEAPONANIM, _, iIndex);
write_byte(iAnim);
write_byte(iHand);
message_end();
Forum: Scripting Help 06-13-2015, 09:20
Replies: 7
Views: 1,937
Posted By DavidJr
Re: how to find an index of entities in the map?

Try with

new iEnt = fm_find_ent_by_model(-1, "model", "models/evolution/shenlong.mdl");
Forum: Module Coding 05-10-2015, 09:00
Replies: 3
Views: 1,601
Posted By DavidJr
Re: [Metamod] Get Private Data Index

I want to retrieve what weapons I have in slot1/2/3/4/5, what data value does m_rgpPlayerItemsSlot return? I try to convert this AMX to C++. I did not see the cstrike, but I did see how...
Forum: Module Coding 05-09-2015, 10:30
Replies: 3
Views: 1,601
Posted By DavidJr
[Metamod] Get Private Data Index

I tried this but gets the wrong result, how to get it correct?

int iEnt = NULL;
iEnt = *((int *)pEnt->pvPrivateData + 367 + 2); //rgpPlayerItemsSlot0 + 2

Util.Print_Console(pEnt, "Error %d\n",...
Forum: Off-Topic 05-01-2015, 01:39
Replies: 3
Views: 642
Posted By DavidJr
Re: Valve Asset License

Haven't asked yet



The data from the format
Forum: Off-Topic 04-30-2015, 22:06
Replies: 3
Views: 642
Posted By DavidJr
Valve Asset License

Does somebody know what's the license for Valve's .smd? I did search but cannot find more information, also it is not mentioned here (https://developer.valvesoftware.com/wiki/Studiomdl_Data).

I'm...
Forum: Module Coding 04-25-2015, 01:55
Replies: 1
Views: 2,066
Posted By DavidJr
[Metamod] How to Register Console Command

Hello, this is my first metamod time and I have some question.
1. How to register console command like in AMXX register_concmd?
2. What's the difference between enginefuncs_s struct in...
Forum: Off-Topic 04-19-2015, 23:03
Replies: 4
Views: 1,257
Posted By DavidJr
Re: Counter-Strike 1.6 Server Side Modification

Thanks fysiks, will try to code metamod plugin
Forum: Off-Topic 04-19-2015, 22:07
Replies: 4
Views: 1,257
Posted By DavidJr
Re: Counter-Strike 1.6 Server Side Modification

According to this site, is metamod:client legal?
metamod.org
Forum: Off-Topic 04-19-2015, 21:29
Replies: 4
Views: 1,257
Posted By DavidJr
Counter-Strike 1.6 Server Side Modification

Hello, long time didn't post here. I want to ask if is it possible to develop CS 1.6 server side modification using C++? If so, is there any tutorial about it? I develop a big mod using AMX and when...
Forum: Off-Topic 03-02-2015, 20:12
Replies: 2
Views: 876
Posted By DavidJr
Forum: Off-Topic 03-01-2015, 09:09
Replies: 2
Views: 876
Posted By DavidJr
Create C++ Forward like in AMX

I have two DLLs. MainDLL.dll and SubDLL.dll.
MainDLL.h
void ABC();
void DEF(int iX);


MainDLL.cpp
void ABC()
{
DEF(1);
Forum: Off-Topic 01-23-2015, 19:26
Replies: 90
Views: 21,663
Posted By DavidJr
Forum: Scripting Help 11-30-2014, 07:50
Replies: 2
Views: 864
Posted By DavidJr
Re: Weapon owner

Try this


new iWpn = get_user_weapon(iIndex);
new iEnt = Retrieve_WeaponEnt(iIndex, iWpn);

cs_set_weapon_ammo(iEnt, 5000);

Retrieve_WeaponEnt(iIndex, wpnIndex)
{
Forum: Scripting Help 08-04-2014, 09:49
Replies: 11
Views: 1,612
Posted By DavidJr
Re: extra Weapon

He's right. What's so hard? I have commented each line


new gKnife[33]; //declare new variable

public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR);

...
Forum: Scripting Help 07-11-2014, 22:54
Replies: 6
Views: 1,516
Posted By DavidJr
Forum: Scripting Help 06-22-2014, 23:40
Replies: 6
Views: 1,516
Posted By DavidJr
Re: Problem with Gait Sequence

I try to get seq number 119 with name "_CSF_deploy_kukri_"

Set_PlayerSequence(iIndex, "_CSF_deploy_kukri_");

The animdesired returns 0. Does it affect with the name of sequence in the model?...
Forum: Scripting Help 06-22-2014, 02:20
Replies: 6
Views: 1,516
Posted By DavidJr
Re: Problem with Gait Sequence

Thank you Bos, but it is only for default animation. I have more than 110 animations in character, to play the default animation is fine, but the custom one will be likely in the video above. Any...
Forum: Scripting Help 06-21-2014, 23:59
Replies: 6
Views: 1,516
Posted By DavidJr
Re: Problem with Gait Sequence

Bump, need some answers please.
Forum: Off-Topic 06-10-2014, 00:12
Replies: 11
Views: 1,760
Posted By DavidJr
Re: Where is ConnorMcLeod?

Well, the thread is back from the trash bin :D
Forum: Approved Plugins 06-08-2014, 06:57
Replies: 820
Views: 738,872
Posted By DavidJr
Re: Hats

I will be waiting.
Showing results 1 to 25 of 442

 
Forum Jump

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


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