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

Showing results 1 to 25 of 63
Search took 0.01 seconds.
Search: Posts Made By: ConorCC
Forum: Scripting Help 05-09-2022, 06:21
Replies: 3
Views: 341
Posted By ConorCC
Re: TE_DLIGHT

Thank You!
Forum: Scripting Help 05-08-2022, 14:32
Replies: 3
Views: 341
Posted By ConorCC
TE_DLIGHT

Hy,

Is it possible to remove TE_DLIGHTs created by plugin? For example I send a message to a client. That show a TE_DLIGHT for 10 seconds. But I want remove after 5 seconds. (I don't mind if all...
Forum: Scripting Help 03-28-2022, 20:51
Replies: 1
Views: 400
Posted By ConorCC
Block Weapon Stats

Hy there!

I'm trying to add statstics to my custom weapons via custom_weapon_dmg(...) and custom_weapon_shot(...). It's fine but since my weapons based on real weapons (even the classnames are...
Forum: Scripting Help 01-05-2022, 12:19
Replies: 3
Views: 612
Posted By ConorCC
Hide from Console

Hy there!

Can we send messages to the client that appears in the chat only? So a few seconds leater they will not show up in the console.
Forum: Scripting Help 01-05-2022, 12:12
Replies: 3
Views: 820
Posted By ConorCC
Re: Trigger in clipping list

That is exactly i'm looking for. :D Thank you!
Forum: Scripting Help 01-02-2022, 06:48
Replies: 3
Views: 820
Posted By ConorCC
Trigger in clipping list

Hy there!

When you place an entity that solid state is trigger everything is fine unti it's not in a clipping list.

If I know well clipping list is part of the map that supposed to block...
Forum: Scripting Help 01-02-2022, 06:41
Replies: 2
Views: 570
Posted By ConorCC
Re: Custom Function

I was looking for something that call a function in one plugin only. This can be done with "callfunc_" BUT the link in your post just helped me to realize there is an another option to avoid this....
Forum: Scripting Help 01-01-2022, 07:23
Replies: 2
Views: 570
Posted By ConorCC
Custom Function

Hy there!

Can I create native functions that accept function names as parameters?

Like this...
register_touch("func_wall", "player" "OnPlayerWallTouch");
public OnPlayerWallTouch(const...
Forum: Scripting Help 12-13-2021, 17:26
Replies: 5
Views: 890
Posted By ConorCC
ArrayFindString Issue

Hey There!

I just realized ArrayFindString will returns the index of the first occurence of the specified string. As it says in the documentation.

If you have an array like:
- de_dust2_long
-...
Forum: Scripting Help 09-02-2021, 13:59
Replies: 6
Views: 877
Posted By ConorCC
Re: Check Money

I don't think Account is a real event. It is not listed on this page https://wiki.alliedmods.net/Half-Life_1_Game_Events

And the Money one only delivering the new value.

I just want to hook the...
Forum: Scripting Help 09-02-2021, 03:18
Replies: 6
Views: 877
Posted By ConorCC
Check Money

Hey there!

Effective way to hook money change? I didn't find any solution. Maybe because it is not possible. I want to see the increment or decrement value and not the result value.
Forum: Scripting Help 07-29-2021, 05:57
Replies: 28
Solved Level + flag
Views: 2,707
Posted By ConorCC
Re: Level + flag

You cannot reach client_id directly from an event. You have to loop or something.
Forum: Scripting Help 07-13-2021, 11:14
Replies: 4
Views: 827
Posted By ConorCC
Re: Multiple Results in Query

Fixed! I put the whole script into an another procedure so when I call the new one the response is what I expected.
Forum: Scripting Help 07-13-2021, 01:05
Replies: 4
Views: 827
Posted By ConorCC
Re: Multiple Results in Query

I think you missunderstood.

Here is my code.


CALL `CX_TEST`('%i', @p1, @p2, @p3, @p4, @p5, @p6, @p7, @p8, @p9, @p10, @p11, @p12, @p13, @p14);
SELECT @p1 AS `r_error_code`, @p2 AS `r_error`,...
Forum: Scripting Help 07-12-2021, 16:53
Replies: 4
Views: 827
Posted By ConorCC
Multiple Results in Query

Hello there!

Using SQLx is it possible to create a query that contains multiple SELECTs? I have created one but I only can receive the first one. Maybe I can switch between them later?

For...
Forum: Scripting Help 06-28-2021, 05:12
Replies: 5
Views: 790
Posted By ConorCC
Re: Manipulate Forward

Yes, It is. I was doing the same and it seems working. Thank you!
Forum: Scripting Help 06-28-2021, 01:43
Replies: 5
Views: 790
Posted By ConorCC
Re: Manipulate Forward

Im sure I have to use both of them natives and forwards. I have already used them before but I am not famailiar with this case.

Here is the example I want to use in my code:

So there is an...
Forum: Scripting Help 06-27-2021, 17:35
Replies: 5
Views: 790
Posted By ConorCC
Manipulate Forward

Hello there!

Is it possible to manipulate function output via a forward. For example:

native do_a_thing(id, data);
forward fw_do_a_thing(id, data);


My plugin call the do_a_thing function...
Forum: Scripting Help 06-21-2021, 06:49
Replies: 4
Views: 729
Posted By ConorCC
Nonsense Divide

Hello there!

Can some explain why

static item_count; item_count = 0;
client_print(id, print_chat, "Item Count: %i | Page: %i", item_count, (item_count - 1) / 7);

prints "Item Count: 0 |...
Forum: Scripting Help 06-21-2021, 06:34
Replies: 8
Views: 1,464
Posted By ConorCC
Re: Array VS Multiple Array

Posts by both of you are very interesting. Always good to learn new things. :3 Thank you!
Forum: Scripting Help 06-18-2021, 08:57
Replies: 8
Views: 1,464
Posted By ConorCC
Re: Array VS Multiple Array

All right. Thanks! And what do you think? Why did they use the first one?
Forum: Scripting Help 06-18-2021, 03:26
Replies: 8
Views: 1,464
Posted By ConorCC
Re: Array VS Multiple Array

When I said nested arrays I meant exactly your example. Sorry for misunderstanding. Anyways this is totaly fine. Currently I'm using this with the 2nd point. So every time when I need the name as...
Forum: Scripting Help 06-17-2021, 15:22
Replies: 8
Views: 1,464
Posted By ConorCC
Array VS Multiple Array

Hello there!

I was thinking about why ZP50's dev team using multiple arrays to store zombie class data (name, desc, HP etc.) Wouldn't be a better to store them only in one with nested arrays? I...
Forum: Scripting Help 05-31-2021, 18:44
Replies: 2
Views: 1,016
Posted By ConorCC
Re: Working with Curl

v1.0 is Available! Please take a look at this.

GitHub: https://github.com/JohanCorn/amxx_auth

Test or just view the source and tell me your experience.
Forum: Scripting Help 05-31-2021, 07:43
Replies: 2
Views: 1,016
Posted By ConorCC
Working with Curl

Hy!

A few days ago I started to work with the following libraries: json and curl by Polarhigh

My target is to create an authentication system base on Laravel. For example you can login to your...
Showing results 1 to 25 of 63

 
Forum Jump

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


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