Raised This Month: $ Target: $400
 0% 

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: Celena Luna
Forum: Scripting Help 11-22-2022, 03:15
Replies: 16
Views: 427
Posted By Celena Luna
Re: SVC_STOPSOUND message

Stop sound will stop all sound currently playing on the client
So depend what you need, it could be bad if you just want to silent 1 entity
Forum: Scripting Help 11-20-2022, 22:19
Replies: 1
Views: 103
Posted By Celena Luna
Re: Weapon Skins on Server do not show for players

you can set viewmodel via Pev on Ham_Item_Deploy but I think this would be a Request rather a Scripting Help
You should ask Suggestions / Requests...
Forum: Scripting Help 11-17-2022, 00:08
Replies: 66
Solved loop entitys
Views: 1,651
Posted By Celena Luna
Re: loop entitys

for( new i = 0; i < 100; i++)
{
client_print( Client, print_chat, "The Cell [%d] have a value of = %d", i, __int_Entitys[i] ); // 100 prints
}
...
Forum: Scripting Help 11-16-2022, 23:52
Replies: 66
Solved loop entitys
Views: 1,651
Posted By Celena Luna
Re: loop entitys

Fine, if you happy with what you wrote, you do you
I don't know what you want
I don't get what you want
I don't get your logic
so congratz on archiving whatever you was supposed to ask
Forum: Scripting Help 11-16-2022, 23:40
Replies: 66
Solved loop entitys
Views: 1,651
Posted By Celena Luna
Re: loop entitys

you are misunderstanding how For-loop actually work
what you did it still go through 100 loop without doing anything unless it reach the "value" in the array, it still take memories while doing so...
Forum: Scripting Help 11-16-2022, 22:45
Replies: 66
Solved loop entitys
Views: 1,651
Posted By Celena Luna
Re: loop entitys

IT-CALLED-ONLY-ONCE when the function is called.
You making a comparation between a loop run for 100 times and a loop run for 4 times and 1 variable
Forum: Scripting Help 11-16-2022, 22:38
Replies: 66
Solved loop entitys
Views: 1,651
Posted By Celena Luna
Re: loop entitys

my point is, it does the same thing. So what is your points?
Forum: Scripting Help 11-16-2022, 22:24
Replies: 66
Solved loop entitys
Views: 1,651
Posted By Celena Luna
Re: loop entitys

and with my code it shown like this
https://i.imgur.com/tKTaOWU.png


public Test( Client )
{
removeTransEnts( Client, {2,8,15,100} );
return 1;
}
removeTransEnts(Client,...
Forum: Scripting Help 11-16-2022, 22:10
Replies: 66
Solved loop entitys
Views: 1,651
Posted By Celena Luna
Re: loop entitys

then with your code if you change from this
removeTransEnts( Client, {0,1,2,100} );
:arrow:
removeTransEnts( Client, {100,0,1,2} );

Then isn't it also gonna end right away?
Forum: Scripting Help 11-16-2022, 21:59
Replies: 66
Solved loop entitys
Views: 1,651
Posted By Celena Luna
Re: loop entitys

OK
For example
removeTransEnts( Client, {100} );

You want to run it like this?
remove_entity( __int_TransEnts[Client][0] );
remove_entity( __int_TransEnts[Client][1] );
remove_entity(...
Forum: Scripting Help 11-16-2022, 21:33
Replies: 66
Solved loop entitys
Views: 1,651
Posted By Celena Luna
Re: loop entitys

1. I disagree with this
What if the number of loop is smaller, for example, only 10 is required.
But it have to run 100 times every single time because you hardcode it to 100
Isn't that worse?...
Forum: Scripting Help 10-27-2022, 01:22
Replies: 7
Views: 308
Posted By Celena Luna
Re: How to make entity (nade) push enemies? (not knockback)

Is it like Ge Bolg (Spear Gun) from CSO?
I think one version of Spear Gun by Dias push you all the way back before explode.
Forum: Scripting Help 10-13-2022, 06:04
Replies: 7
Views: 387
Posted By Celena Luna
Re: fw_TraceAttack_Player, ham_traceattack_post, TraceAttack doesn't work great with

Could you attack 1 plugins that "work" and 1 that "does not work" here so I can check it out?
Is another in your attachment is work?
Forum: Scripting Help 10-13-2022, 01:28
Replies: 7
Views: 387
Posted By Celena Luna
Re: fw_TraceAttack_Player, ham_traceattack_post, TraceAttack doesn't work great with

it is hard to pin point which when wrong. Could you give a demonstration on what happened?
Forum: Scripting Help 10-12-2022, 22:01
Replies: 7
Views: 387
Posted By Celena Luna
Re: fw_TraceAttack_Player, ham_traceattack_post, TraceAttack doesn't work great with

for my plugins, I did not use RegisterHamFromEntity because i stoped using ZBot and switched to SyPB or PODBot which both BOT was treated like actual player => No need to use RegisterHamFromEntity...
Forum: Scripting Help 10-12-2022, 04:21
Replies: 3
Views: 351
Posted By Celena Luna
Re: Make RegisterHam plugins had a zbot support

nah, I just check, you don't actually need to disable it


if (!is_user_zbot(id) || get_pcvar_num(bot_quota) <= 0)
return

// Reg Ham Zbot
RegisterHamFromEntity(Ham_Spawn, id,...
Forum: Scripting Help 10-12-2022, 01:01
Replies: 13
Views: 634
Posted By Celena Luna
Re: Hook player model change

I think I found it.

You can use Orpheu to hook SetNewPlayerModel or SetPlayerModel since there is a signature for it there
https://forums.alliedmods.net/showthread.php?t=230363
Forum: Scripting Help 10-11-2022, 22:12
Replies: 13
Views: 634
Posted By Celena Luna
Re: Hook player model change

I think what he mean is he want to hook the moment the model changed.
For example, when your character class change in middle of the round, you can't update the array by anymean, except by using...
Forum: Scripting Help 10-11-2022, 04:27
Replies: 3
Views: 351
Posted By Celena Luna
Re: Make RegisterHam plugins had a zbot support

I think client_connect should be enough
Use RegisterHamFromEntity with that id of player that both joined

Not sure if you need to DisableHamForward when the bot left though
Forum: Off-Topic 10-09-2022, 22:29
Replies: 4
Views: 958
Posted By Celena Luna
Re: CS 1.6 - Find out which WAD (textures) files are in effective use by a BSP (map)

I think the post would be more helpful on Gamebanana since a lot of mapper are there
Forum: Scripting Help 10-09-2022, 11:56
Replies: 13
Views: 634
Posted By Celena Luna
Re: Hook player model change

usually you can just get model from cs_get_user_model

But if you need to hook when the model change, I think you might need to work with Ham_Keyvalue but I am not sure since there ain't any...
Forum: Scripting Help 10-09-2022, 10:35
Replies: 13
Views: 634
Posted By Celena Luna
Re: Hook model change

which type of model you want to hook?
Player Model? Weapon View Model?
Forum: Scripting Help 10-09-2022, 03:03
Replies: 4
Views: 423
Posted By Celena Luna
Re: Show Damage Plus

new fTimeout[33]

set_hudmessage(0, 255, 255, -1.0, 0.70, 4.0, 1.0, 2.0, _, _, -1)

=>

new Float:fTimeout[33]

set_hudmessage(0, 255, 255, -1.0, 0.70, 0, 4.0, 1.0, _, _, -1)
Forum: Scripting Help 10-06-2022, 22:32
Replies: 4
Views: 423
Posted By Celena Luna
Re: Show Damage Plus

You don't need set_task for this.
Use get_gametime and check if the time is larger than current time or not


/*
| =============================
| Generated by Berk
| Made in Turkey
| Keep...
Forum: Suggestions / Requests 10-06-2022, 22:24
Replies: 9
Views: 633
Posted By Celena Luna
Re: Multiple wavs playing

you could go to alt_end_round_sounds(beta) and stopsound before playing the sound in the plugins.
Also, why do you need both 2 sound anyway?
Showing results 1 to 25 of 500

 
Forum Jump

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


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