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

Showing results 1 to 25 of 88
Search took 0.00 seconds.
Search: Posts Made By: HexD
Forum: Scripting Help 05-19-2008, 10:59
Replies: 5
Views: 1,443
Posted By HexD
Re: Voting

I have, making menus isn't the problem. I don't understand how to turn the menu into a vote so it only executes the cases if a % of players have voted for a certain option.
Forum: Scripting Help 05-19-2008, 10:27
Replies: 5
Views: 1,443
Posted By HexD
Voting

Would someone be so kind as to make a simple example of everything I need to know to make a yes/no vote using the new menu system. Something like display the menu to all players when started by an...
Forum: Scripting Help 05-18-2008, 10:23
Replies: 0
Views: 629
Posted By HexD
Counting rounds

#include <amxmodx>
#include <core>
#include <cstrike>

new roundCount[33]

public plugin_init()
{
register_plugin("Scrimage", "1.0", "HexD")
register_clcmd( "say /start","startMatch", 0,...
Forum: Scripting Help 05-06-2008, 12:58
Replies: 3
Views: 1,369
Posted By HexD
Re: How to do multi selection menus?? (new menu system)

Thanks for the reply guys.
Pretty sure I can make good use of your words, if not, "I'll be back!" :S
Forum: Scripting Help 05-06-2008, 07:39
Replies: 3
Views: 1,369
Posted By HexD
How to do multi selection menus?? (new menu system)

Basically, I want a menu system that acts like a "family tree" design.

Like:

First Menu Second Menu Third Menu Forth Menu
Kick
> - Reason 1 > Player to kick
> - Reason 2 > Player to kick...
Forum: Scripting Help 04-14-2008, 11:01
Replies: 4
Views: 1,310
Posted By HexD
Re: Unlimited levels

Thanks for the reply, I was speaking to my friend who is helping with the overall design of our script and lets me bounce ideas off him and he suggested a formula, but my math isn't great and didn't...
Forum: Scripting Help 04-14-2008, 02:05
Replies: 4
Views: 1,310
Posted By HexD
Re: Unlimited levels

Thanks for the reply, to be honest I'm not sure how "for (i=0; i<1000; ++i)" would help? Can you explain you thoughts please?

The script above kinda worked, it gave me a level for every kill (1xp)...
Forum: Scripting Help 04-13-2008, 22:42
Replies: 4
Views: 1,310
Posted By HexD
Unlimited levels

Was wondering if it is at all possible to not define a max amount of levels so the amount of levels achievable is infinite? Or do you need to specify the amount of xp needed to level for each level?...
Forum: Scripting Help 04-10-2008, 19:15
Replies: 5
Views: 1,488
Posted By HexD
Re: Setting speed

Thanks for the reply, let me just clear this up in case anyone has the same problem and reads this. I set the speed for classes/players in CurWeapon?

*Edit*

Hey Merko, thanks for the reply....
Forum: Scripting Help 04-10-2008, 07:15
Replies: 9
Views: 2,475
Posted By HexD
Re: knifekill

Just an idea, maybe set a check to see if the script was executed within x amount of time, f.i the length of the sound clip. That way it wont play the sound clip until the previous has finished,...
Forum: Scripting Help 04-10-2008, 01:33
Replies: 5
Views: 1,488
Posted By HexD
Setting speed

I have read just about every post that contained the word "maxspeed" in and I can't find anything that helps me. What I want to do is set_user_maxspeed for different classes at different levels, I've...
Forum: Scripting Help 04-05-2008, 14:24
Replies: 5
Views: 1,629
Posted By HexD
Re: Increasing cvars?

Thanks matey, all the tag mismatches are gone also your cvar example looks very promising. Thanks again.

P.S
This is probably of no use to you but I used "sv_restart 1" on HLSW on my server and...
Forum: Scripting Help 04-05-2008, 14:08
Replies: 5
Views: 1,629
Posted By HexD
Re: Increasing cvars?

Thanks for the reply, I tried using decimals but it still gives tag mismatch. So I tried using integers and it still gives tag mismatch. I don't understand :S
Forum: Scripting Help 04-05-2008, 13:04
Replies: 5
Views: 1,629
Posted By HexD
Increasing cvars?

public EquipDoton(id)
{
if (PlayerClass[id] == CLASS_DOTON && PlayerLevel[id] >= 16)

{
new health = get_user_health(id) + 30
new speed = get_user_maxspeed(id) - 20
new armor =...
Forum: Code Snippets/Tutorials 04-04-2008, 22:59
Replies: 292
Views: 157,217
Posted By HexD
Re: New XP Mod tutorial

Thanks, will change it to Ham_Spawn. Very useful link.
Forum: Scripting Help 04-03-2008, 02:21
Replies: 13
Views: 3,424
Posted By HexD
Re: Help with classes

Ok, thanks again
Forum: Scripting Help 04-02-2008, 18:47
Replies: 13
Views: 3,424
Posted By HexD
Re: Help with classes

Ah! Now that makes sense, thanks :thumbs:

I have another question if you don't mind :P

I'm trying to check a players health when they get a kill to see if they still have full health, and then...
Forum: Scripting Help 04-02-2008, 18:10
Replies: 13
Views: 3,424
Posted By HexD
Re: Help with classes

Thanks for the reply, I think I will need to use an enum to save on usage as much as I can because I "plan" on making my mod to be as big as the warcraft mods and others like it.

The thing I'm not...
Forum: Scripting Help 04-02-2008, 15:32
Replies: 13
Views: 3,424
Posted By HexD
Re: Help with classes

Ok thanks, I got the menu to open on connect now :D <-- Very happy, now I no longer have to explain to everyone that joins to type "/element" and it just may reduce the amount of times I get called a...
Forum: Scripting Help 04-02-2008, 15:12
Replies: 13
Views: 3,424
Posted By HexD
Re: Help with classes

if equal (PlayerClass(id), "Doton -Earth Element")
{
//... do something
}


Like this?
Forum: Scripting Help 04-02-2008, 14:53
Replies: 13
Views: 3,424
Posted By HexD
Re: Help with classes

Thanks for the reply, I'll give it a try in a moment, I was just wondering how do I check if the player has a class? Can I just write the class out as its defined

{
if (PlayerClass[id] ==...
Forum: Scripting Help 04-02-2008, 13:25
Replies: 13
Views: 3,424
Posted By HexD
Help with classes

I'm trying to check if a player is a certain class and then I want to do something. The part I don't get is how to check my classes. I was told using;enum {
CLASS_NONE = 0,
CLASS_DOG,
CLASS_CAT,...
Forum: Code Snippets/Tutorials 04-02-2008, 11:18
Replies: 292
Views: 157,217
Posted By HexD
Re: New XP Mod tutorial

Thanks, the way I was trying was not to different, but it didn't work;

public client_authorized(id)
{
new menu = ChangeClass(id);
if(is_user_alive(id) == 1)
{
menu_display(id, menu, 0)...
Forum: Code Snippets/Tutorials 04-01-2008, 23:13
Replies: 292
Views: 157,217
Posted By HexD
Re: New XP Mod tutorial

Lol, I'm at the stage where, if I changed something, anything no matter how small I will save and compile just to make sure it worked :D

Trying to make my script open a menu when the player first...
Forum: Code Snippets/Tutorials 03-31-2008, 16:04
Replies: 292
Views: 157,217
Posted By HexD
Re: New XP Mod tutorial

Ah brilliant! I was wondering why my first level was 0 :S

Woo!! All the errors are gone as far as I know and everything is working as it should! I can't thank you enough, really appreciate it.
...
Showing results 1 to 25 of 88

 
Forum Jump

All times are GMT -4. The time now is 09:44.


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