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

Showing results 1 to 25 of 101
Search took 0.01 seconds.
Search: Posts Made By: GasmoN
Forum: CSDM 06-03-2022, 12:45
Replies: 1
Views: 2,809
Posted By GasmoN
Re: enable FFA on CSDM

In your csdm.cfg file.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;You must be running the FFA plugin for this section
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[ffa]
;Set whether free for all mode...
Forum: Scripting Help 06-01-2022, 16:11
Replies: 5
Views: 654
Posted By GasmoN
Re: Human models don't change.

In my personal opinion, you should really switch to zp 5.0, among a lot of advantages also because of it's simplicity where u don't have to scroll through thousands of lines of code just to edit one...
Forum: Scripting Help 06-01-2022, 12:50
Replies: 5
Views: 654
Posted By GasmoN
Re: Human models don't change.

You need to change survivor models in zombieplague.ini file, not zombieplague.cfg. https://prnt.sc/as2ygLghuZUq
And if u still have this issue, try removing everything in zp_humanclasses.ini since...
Forum: Scripting Help 06-01-2022, 12:40
Replies: 4
Views: 844
Posted By GasmoN
Re: chatmanager

It returns current player's rank name.

new szRankName[33];
crxranks_get_user_rank(id, szRankName, 32);

client_print(id, print_chat, "Your rank name is: %s", RankName);
Forum: Scripting Help 05-28-2022, 08:37
Replies: 7
Views: 868
Posted By GasmoN
Re: Shield entitiy detection doesn't work while player is using it?

SOLUTION:

It's maybe not the best solution out there, but it does works.
So, instead of detecting the shield, I thought about detecting if entity is touching player from behind, sides, or front....
Forum: Scripting Help 05-26-2022, 10:41
Replies: 7
Views: 868
Posted By GasmoN
Forum: Scripting Help 05-23-2022, 08:58
Replies: 7
Views: 868
Posted By GasmoN
Re: Shield entitiy detection doesn't work while player is using it?

I know that, it really do works that way but I can't achive what I really need that way (or can I?).
So when custom entity touches player's shield, I need to check If player is actually using shield...
Forum: Scripting Help 05-23-2022, 08:09
Replies: 7
Views: 868
Posted By GasmoN
Shield entitiy detection doesn't work while player is using it?

Situation: Player is holding a shield, some some custom named entity touch that shield, and in FM_Touch forward doesn't recognize it. It registers that touch as if that custom named entity touched...
Forum: Scripting Help 10-09-2021, 06:10
Replies: 10
Views: 1,198
Posted By GasmoN
Re: Weird issue when player joins

Well that size number should be the same as in this case Data size.
So for example:

// Data size is 2
new Data[2]

// So I put that exact size here as last argument....
Forum: Scripting Help 10-08-2021, 16:52
Replies: 10
Views: 1,198
Posted By GasmoN
Re: Weird issue when player joins

In some cases I had new Data[2], in the other I had new Data[1] so I think that was the issue and the reason why I had this problem.
Btw, I was too lazy to search Data size in every function so...
Forum: Scripting Help 10-08-2021, 12:58
Replies: 10
Views: 1,198
Posted By GasmoN
Re: Weird issue when player joins

It's called at client_authorized(id) and the only function that sits there is Load_MySql(id)

EDIT: FIXED! Can't after 2 days of trying, can't believe how silly issue it was. Basically, the solutin...
Forum: Scripting Help 10-08-2021, 11:32
Replies: 10
Views: 1,198
Posted By GasmoN
Re: Weird issue when player joins

No, nothing in logs. That's why it is so weird, I don't know what could possibly cause that.
Forum: Scripting Help 10-08-2021, 10:52
Replies: 10
Views: 1,198
Posted By GasmoN
Weird issue when player joins

Okay, when player joins my server, the function Load_MySql(id); load his data.
When that happen, players who are in the game already can't use /rank command anymore to see their rank.


public...
Forum: Scripting Help 10-02-2021, 07:17
Replies: 11
Views: 1,666
Posted By GasmoN
Re: Broken table when supposed to work

Thank you for the advice. I removed the loop.
Forum: Scripting Help 09-30-2021, 13:01
Replies: 11
Views: 1,666
Posted By GasmoN
Re: Broken table when supposed to work

First thing that I have changed is that I removed css style, and added link to the same style I uploaded to my website.
I wasn't going over that limit, because total characters number was 1220 ...
Forum: Scripting Help 09-29-2021, 13:04
Replies: 11
Views: 1,666
Posted By GasmoN
Re: Broken table when supposed to work

For some weird reason, width: 100% in .was the problem. When motd was printed it was printed without % (meaning, only width: 100 was printed) The solution to this is to add two percentage signs, like...
Forum: Scripting Help 09-28-2021, 13:58
Replies: 11
Views: 1,666
Posted By GasmoN
Broken table when supposed to work

So I have this code that shows top15 players on the server, and while it works like a charm, I have issue with the HTML part of the code. Table's width is not 100%, and I have tried like 100 times...
Forum: Scripting Help 01-30-2021, 08:01
Replies: 5
Views: 1,172
Posted By GasmoN
Re: Question about groupinfo

True, but than when stop touching the entity, it will still be NOT solid. Also, in the mid time, wall would't take any damage if CT is touching it because of it's SOLID_NOT flag.
So, I only came up...
Forum: Scripting Help 01-29-2021, 17:37
Replies: 5
Views: 1,172
Posted By GasmoN
Re: Question about groupinfo

So insted of having maximum 50 created entities on the map, I should have 100? That's doesn't help to be honest. Is there any way to "drag" player through that wall? For example, if I am going at...
Forum: Scripting Help 01-20-2021, 08:17
Replies: 3
Views: 611
Posted By GasmoN
Re: plugin gives armor to zombie

Do you want to give free armor to humans only when they spawn or even if they use antidote as zombie, etc?
To give armor every time, not only on spawn, just use zp_user_humanized_post forward.
If...
Forum: Scripting Help 01-18-2021, 16:51
Replies: 5
Views: 1,172
Posted By GasmoN
Question about groupinfo

So, what I am trying to do is that when Player from CT team create a wall entity, only that player, and whole CT team can pass through that wall, and T team can't. Also, wall has to take damage from...
Forum: Scripting Help 12-11-2020, 16:29
Replies: 7
Views: 1,582
Posted By GasmoN
Re: Get weapon's entity id, from weapon ID

Before I was using one loop, and 2 other loops inside that one loop.
Now, I only loop entities with maximum number of created entities and check some conditions.
Why is that ruined?
...
Forum: Scripting Help 12-11-2020, 15:12
Replies: 7
Views: 1,582
Posted By GasmoN
Re: Get weapon's entity id, from weapon ID

Okay, so just a quick update. This started crashing server if there is more than 2 players. So after a while, I found another solution (I am writing this just in case someone need something like...
Forum: Scripting Help 12-09-2020, 11:16
Replies: 7
Views: 1,582
Posted By GasmoN
Re: Get weapon's entity id, from weapon ID

Thank you, this is how I fixed this

At the end of every round, I added pf_check_weapon_life()
If anyone know any better way, I would like to hear it.

public zp_fw_gamemodes_end() // Round just...
Forum: Scripting Help 12-08-2020, 17:29
Replies: 7
Views: 1,582
Posted By GasmoN
Get weapon's entity id, from weapon ID

At the end of every round, I want to loop through all players and their weapons. And remove weapons flagged with certial flag. For that, I need entity ID from all their weapons, so how can I retreive...
Showing results 1 to 25 of 101

 
Forum Jump

All times are GMT -4. The time now is 02:55.


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