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

Showing results 1 to 25 of 99
Search took 0.02 seconds.
Search: Posts Made By: JoshGomez
Forum: Scripting 12-08-2022, 11:05
Replies: 10
Views: 1,085
Posted By JoshGomez
Re: Enum struct, how do we access the struct property as parameter?

Thanks I will try your first solution that seems to be nice as I don't want a big switch case.

I just wonder why the enum does not have a name?
enum PlayerChanceType
{
LifeStealChance = 0,...
Forum: Scripting 12-06-2022, 07:30
Replies: 10
Views: 1,085
Posted By JoshGomez
Re: Enum struct, how do we access the struct property as parameter?

No, that not what I want I had an old script that was working before which I want to refactor, but I got this warning which I forgot the description of, something like index based enum was removed....
Forum: Scripting 12-06-2022, 07:25
Replies: 10
Views: 1,085
Posted By JoshGomez
Re: Enum struct, how do we access the struct property as parameter?

enum struct EPlayerChances
{
float LifeStealChance;
float ArmorStealChance;
float FlashProtectionChance;
float DamageChance;
float CameraShakeChance;
float FreezeChance;
}
Forum: Scripting 12-02-2022, 07:25
Replies: 10
Views: 1,085
Posted By JoshGomez
Enum struct, how do we access the struct property as parameter?

How do we access the struct property as parameter (FPlayerChances:CameraShakeChance)?


bool:Game_CanUseAbility(client,FPlayerChances:index)
{
new Float:fChance = GetRandomFloat(0.0, 1.0);...
Forum: Scripting 06-13-2015, 12:51
Replies: 5
Views: 1,080
Posted By JoshGomez
Re: enum float tag mismatch on set by passing as argument

Ah I see. GPlayerCooldowns will only contain float anyway so I guess the second way will be good. Thanks.
Forum: Scripting 06-13-2015, 12:38
Replies: 5
Views: 1,080
Posted By JoshGomez
Re: enum float tag mismatch on set by passing as argument

But why does it not show any mismatch when I use it as GET? So is it a bug or something?

KissLick, thanks I forgot that I had to add 1 extra in the array. But if I add "CameraShake" then I can't...
Forum: Scripting 06-13-2015, 09:42
Replies: 5
Views: 1,080
Posted By JoshGomez
enum float tag mismatch on set by passing as argument

Hello,

Why do I get tag mismatch?



enum EPlayerCooldowns
{
Float:CameraShake,
Float:Stun
Forum: Approved Plugins 08-27-2010, 14:17
Replies: 47
Views: 44,168
Posted By JoshGomez
Re: Nuke Bombs 1.31 - 26/08/2010

Would that not make you teamkill people + the score only updates after round end.

to prolong radioactive effect you have to change:
create_te_dlight(origin,radius,0,255,0,40 /*this value*/,10...
Forum: Approved Plugins 08-26-2010, 13:56
Replies: 47
Views: 44,168
Posted By JoshGomez
Re: Nuke Bombs 1.31 - 26/08/2010

It is now fixed I think, by mistakes I made the frags static but it should work now. Tell me if it doesn't work and I will try and fix it again.
Forum: Approved Plugins 05-30-2010, 15:22
Replies: 47
Views: 44,168
Posted By JoshGomez
Re: Nuke Bombs 1.3 - 30/09/2009

Um, thanks for the translation and suggestion but i guess it's a bit late now however. :P
Forum: Approved Plugins 05-30-2010, 15:00
Replies: 42
Views: 42,791
Posted By JoshGomez
Re: Guardian (Gears of War 2) 1.42 - 3/26/2010

Salau Thanks! I will also add your translation.
Forum: Approved Plugins 05-23-2010, 11:51
Replies: 42
Views: 42,791
Posted By JoshGomez
Re: Guardian (Gears of War 2) 1.42 - 3/26/2010

Well I don't know what makes admin not respawn because it works for me, xClaw.

Backstabnoob, I think it better if he or she has to wait till next round because otherwise people can cheat by...
Forum: Code Snippets/Tutorials 04-07-2010, 03:29
Replies: 2
Views: 4,317
Posted By JoshGomez
Elements - Earth, Water, Fire and Wind

Well this is a complete plugin I made which I planned to add to the csitems rpg mod I made but changed my mind. The damage and the bonuses are very well balanced and I thought it may be a waste to...
Forum: Approved Plugins 04-07-2010, 03:06
Replies: 42
Views: 42,791
Posted By JoshGomez
Re: Guardian (Gears of War 2) 1.42 - 3/26/2010

Hmm, which amxx respawn plugin are you using? The default one?
I don't see any problem from my plugin, when a player die if the guardian is still alive he or she respawn which is checked each time a...
Forum: Approved Plugins 04-06-2010, 15:38
Replies: 42
Views: 42,791
Posted By JoshGomez
Re: Guardian (Gears of War 2) 1.42 - 3/26/2010

Can you please tell me if the admin is the guardian or a normal player. And if the guardian is still alive or dead if the the admin was a player.
Forum: Approved Plugins 03-26-2010, 08:43
Replies: 42
Views: 42,791
Posted By JoshGomez
Re: Guardian (Gears of War 2) 1.42 - 3/26/2010

Sorry for long delay, the problem should be fixed now.
Forum: Approved Plugins 02-25-2010, 12:25
Replies: 31
Views: 36,514
Posted By JoshGomez
Re: Execution (Gears of War) 1.5 - 16/09/2009

Well it could be added as a different mode with a command like 'amx_ex_mode = 0|1' but just now I don't have the feeling to code for hl.

Anyways I may have plan for a small update which add...
Forum: Approved Plugins 02-16-2010, 17:52
Replies: 42
Views: 42,791
Posted By JoshGomez
Re: Guardian (Gears of War 2) 1.4 - 2/16/2010

New Version Out!

dandiarena I have added the command now and also color messages.
Forum: Approved Plugins 02-11-2010, 09:43
Replies: 35
Views: 43,423
Posted By JoshGomez
Forum: Approved Plugins 02-07-2010, 09:55
Replies: 35
Views: 43,423
Posted By JoshGomez
Re: CS Items 1.8/1.1 - 02/07/2010

Well, just now I uploaded newer version.

I hope it works for you. Be sure that all modules are also the same version such as mysql_amxx.dll.

Anyways my server is online if you want to see how...
Forum: Approved Plugins 02-06-2010, 12:39
Replies: 31
Views: 36,514
Posted By JoshGomez
Re: Execution (Gears of War) 1.5 - 16/09/2009

addons/amxmodx/data/lang/...
Forum: Approved Plugins 02-06-2010, 11:56
Replies: 35
Views: 43,423
Posted By JoshGomez
Re: CS Items 1.7/1.0 - 02/06/2010

New Version Out!

The website problems should be solved and I still don't get any problems from the plugin however. Ashcan you may have a older AMX mod X.
Forum: Approved Plugins 02-04-2010, 18:31
Replies: 35
Views: 43,423
Posted By JoshGomez
Re: CS Items 1.6/0.9 - 11/09/2009

Hmm, could you also tell me which version of amxmodx you are using? Because I don't encounter any error.

About the session problem I think it's because you use some kind of template or trying to...
Forum: Approved Plugins 11-22-2009, 13:09
Replies: 42
Views: 42,791
Posted By JoshGomez
Re: Guardian (Gears of War 2) 1.3 - 24/10/2009

http://wiki.amxmodx.org/CS_Weapons_Information
Forum: Approved Plugins 11-01-2009, 18:17
Replies: 35
Views: 43,423
Posted By JoshGomez
Re: CS Items 1.6/0.9 - 11/09/2009

yaotzin, what do you mean?
Showing results 1 to 25 of 99

 
Forum Jump

All times are GMT -4. The time now is 03:16.


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