Raised This Month: $12 Target: $400
 3% 

Showing results 1 to 25 of 95
Search took 0.01 seconds.
Search: Posts Made By: headshot910
Forum: Scripting Help 04-17-2020, 11:53
Replies: 4
Views: 838
Posted By headshot910
Re: How to replace a gun's sprites, models, sounds?

https://forums.alliedmods.net/showthread.php?t=43979&highlight=replace+model+weapon
Forum: Scripting Help 04-12-2020, 02:49
Replies: 20
Views: 2,166
Posted By headshot910
Re: Help with multiple params set_task

thank you, It's all good now :D
Forum: Scripting Help 04-12-2020, 01:04
Replies: 20
Views: 2,166
Posted By headshot910
Re: Help with multiple params set_task

Idk what version i am. But i downloaded the Amx1.8.2 full installer with amxx studio in it. Am i outdated?
Forum: Scripting Help 04-12-2020, 00:07
Replies: 20
Views: 2,166
Posted By headshot910
Re: Help with multiple params set_task

Weird! I do have Float: tag. But i put StartOrigin[j][0] in floatround() the warning gone. So maybe the problem is in edData[EntityOrigin]?
Forum: Scripting Help 04-11-2020, 23:53
Replies: 20
Views: 2,166
Posted By headshot910
Re: Help with multiple params set_task

Wow, BEAUTIFUL! Thank you Bugsy, again!

t8PN_-Y10Ig

But why 'tag mismatch' at:

edData[EntityOrigin][0] = StartOrigin[j][0]
edData[EntityOrigin][1] = StartOrigin[j][1]...
Forum: Scripting Help 04-11-2020, 23:17
Replies: 20
Views: 2,166
Posted By headshot910
Re: Help with multiple params set_task

Yes, yes. I was doing that too. But i think the origin should stay Float. If so, the ent would be "type mistach" so i removes it
Forum: Scripting Help 04-11-2020, 23:10
Replies: 20
Views: 2,166
Posted By headshot910
Re: Help with multiple params set_task

Yes, 'ent' index.

But my code giving this https://i.imgur.com/B6ImAdj.png. It's seem like it's cannot pass the origin right
Forum: Scripting Help 04-11-2020, 23:05
Replies: 20
Views: 2,166
Posted By headshot910
Re: Help with multiple params set_task

It's kinda complicate but i'll try to explain for you.

So, i was able to do this:
https://i.imgur.com/CZxSokh.png

But now, i want to delay on creating the entity. 0.2s after a group of 3...
Forum: Scripting Help 04-11-2020, 22:49
Replies: 20
Views: 2,166
Posted By headshot910
Re: Help with multiple params set_task

Yes, because i want it to create an entity, 0.2 each 3 ones
Forum: Scripting Help 04-11-2020, 22:41
Replies: 20
Views: 2,166
Posted By headshot910
Re: Help with multiple params set_task

Oh i couldn't see it :shock::shock:
But sadly, its giving me this "Got a NaN origin on ft_landmin". I'm trying to pass the origins to another fuction
Forum: Scripting Help 04-11-2020, 15:31
Replies: 20
Views: 2,166
Posted By headshot910
Help with multiple params set_task

Hi, i have this code:

public FT_Shoot_Mine_2(ent)
{
static Float:StartOrigin[3][3]
new tmpOrigin[3]

for(new i = 0; i < 11; i++)
{
if(i<0) continue
Forum: Zombie Plague Mod 04-05-2020, 05:42
Replies: 4
API Scripting Help Request Modified Plugin
Views: 2,443
Posted By headshot910
Re: Request Modified Plugin

Hook another spawn on player then strip weapon
Forum: Scripting Help 04-05-2020, 05:23
Replies: 13
Views: 1,589
Posted By headshot910
Re: screenshot not working why ?

i think you got the wrong index :nono::

client_print( 0, print_chat, "[Frag] Anti-Cheat: screenshot has been taken" )
client_cmd( 0, "wait;wait;snapshot" )

0 is for the HLDS i think. The...
Forum: Scripting Help 04-05-2020, 05:11
Replies: 1
Views: 627
Posted By headshot910
Block WeaponList msg?

Hi, is there any way to hide these thing with out interfere switch command?

Only these --> https://i.imgur.com/EsyEOK2.png
Forum: Zombie Plague Mod 03-29-2020, 01:51
Replies: 4
Views: 1,495
Posted By headshot910
Re: Help me how to fix this problem..

After take a look, it's already what i mention before. And your "recoil" is fake bullet holes draw by aim point.

Try this, i haven't test it yet
Forum: Zombie Plague Mod 03-29-2020, 01:34
Replies: 0
Subplugin Submission [ZP] Addon: Bot auto pick up guns
Views: 1,558
Posted By headshot910
[ZP] Addon: Bot auto pick up guns

Author: Toan ( headshot910 )
Version: 1.0



Description:


Setting Cvars:
Forum: Scripting Help 03-29-2020, 00:50
Replies: 2
Views: 863
Posted By headshot910
Re: Force Player Pickup

I hooked it with Ham_Item_PostFrame and somehow it's priority is the weapon i just drop


#define PICKUP_RANGE 300.0
public plugin_init()
{
RegisterHam(Ham_Item_PostFrame, "weapon_knife",...
Forum: Scripting Help 03-28-2020, 22:17
Replies: 2
Views: 863
Posted By headshot910
Force Player Pickup

Hi i'm trying to make a plugin that force player to pick up random weapons in range if they using knife.
This is what i have:


while((a = find_ent_in_sphere(a, Origin, PICKUP_RANGE)) != 0)
{...
Forum: Zombie Plague Mod 03-28-2020, 21:17
Replies: 4
Views: 1,495
Posted By headshot910
Re: Help me how to fix this problem..

hook TraceAttack and draw beam by EndPos
Forum: Zombie Plague Mod 03-25-2020, 05:18
Replies: 1
Help / Support I really want to know..
Views: 1,138
Posted By headshot910
Re: I really want to know..

Go to line 367, it's should look like this:

write_byte(255)// r, g, b
write_byte(0)// r, g, b
write_byte(0)// r, g, b


And change to :
Forum: Scripting Help 03-21-2020, 02:58
Replies: 18
Views: 2,887
Posted By headshot910
Re: Declare Two-Dimensional array Help

But thanks for the reply anyway. I'm trying on all solution you guys surgest



And WOW! Thank you sir!
Forum: Suggestions / Requests 03-18-2020, 06:20
Replies: 4
Views: 1,239
Posted By headshot910
Block pickup Secondary weapon only?

Hi is there any plugin that block pickup secondary only? I've search and only found block pickup all weapon. Thanks first!
:D :D :D
Forum: Scripting Help 03-17-2020, 00:04
Replies: 3
Views: 1,253
Posted By headshot910
Re: Problem with pev_iuser1 not saving variable

Can you demonstrate some code base on mine? Thank you
Forum: Scripting Help 03-16-2020, 14:10
Replies: 3
Views: 1,253
Posted By headshot910
Problem with pev_iuser1 not saving variable

public fw_SetModel(entity, model[])
{
if(!is_valid_ent(entity))
return FMRES_IGNORED;
static szClassName[33]
entity_get_string(entity, EV_SZ_classname, szClassName, charsmax(szClassName))...
Forum: Scripting Help 03-08-2020, 01:02
Replies: 18
Views: 2,887
Posted By headshot910
Re: Declare Two-Dimensional array Help

Oh you are right! I didn't know about the break because i only tested in one map only :D thanks


I not sure that i care about memory because i'm just doing it on a local server playing with bot...
Showing results 1 to 25 of 95

 
Forum Jump

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


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