Raised This Month: $ Target: $400
 0% 

Showing results 1 to 25 of 26
Search took 0.02 seconds.
Search: Posts Made By: CodingIsHard
Forum: Scripting Help 11-18-2015, 05:23
Replies: 4
Views: 1,067
Posted By CodingIsHard
[HELP] menu_item_getinfo before selection.

What i'm trying to achieve:

new g_ItemID[33];
g_ItemID[id] = 5;

Before I open the menu with items in it, the code checks integer from g_ItemID[id] and will add \d in front of the menu entry...
Forum: Scripting Help 11-17-2015, 11:43
Replies: 4
Views: 720
Posted By CodingIsHard
Re: Check flags help

If you have questions, check API (http://www.amxmodx.org/api/). For beginners it may take some time to understand it (personal experience).

Your question has an answer in cstrike.inc.

enum...
Forum: Scripting Help 11-17-2015, 11:37
Replies: 16
Views: 2,734
Posted By CodingIsHard
Re: [ HELP ] Strip especified user weapon?

You already specified it in your first post, although you left out the check for it to find out wether the player is connected and/or alive.

#include <amxmodx>
#include <amxmisc>
#include...
Forum: Scripting Help 10-15-2015, 10:19
Replies: 4
Views: 542
Posted By CodingIsHard
Re: [HAM] Outputs message twice

I just remembered what i saw the other day in a thread, you were correct just you didn't specify where i should've checked wether the player is alive.
I added the check into fwHamPlayerSpawn instead...
Forum: Scripting Help 10-15-2015, 10:05
Replies: 4
Views: 542
Posted By CodingIsHard
Re: [HAM] Outputs message twice

Done, done.
Still outputs twice.

The fact that only happens once the map starts(after change) makes me cringe..
UPDATE:Wrong, i was absolutely wrong.
Forum: Scripting Help 10-15-2015, 09:42
Replies: 4
Views: 542
Posted By CodingIsHard
[HAM] Outputs message twice

RegisterHam(Ham_Spawn, "player", "fwHamSpawnPlayer");

public fwHamSpawnPlayer(id) {
client_print_color(id, RED, "^3Spawned!");
set_task(5.0, "fnNameProfit", id);
}

public fnNameProfit(id)...
Forum: Scripting Help 10-15-2015, 09:38
Replies: 7
Views: 2,165
Posted By CodingIsHard
Re: [HELP] Enum (value) (string)

Forgot to thank you @Bugsy, +karma, thank you.
Forum: Scripting Help 10-15-2015, 09:36
Replies: 2
Views: 482
Posted By CodingIsHard
Forum: Scripting Help 10-01-2015, 10:32
Replies: 7
Views: 1,414
Posted By CodingIsHard
Re: [Help] VIP model BB

I belive those are the "VIP models". Nevertheless hooking to ResetHUD have been over this forum for a long time, read the following thread https://forums.alliedmods.net/showthread.php?t=42159 why it...
Forum: Scripting Help 10-01-2015, 10:16
Replies: 31
Views: 2,680
Posted By CodingIsHard
Re: Reset(/rs) when have gag

Redivcram is correct, you are not able to do anything since that is server-side, what you can do is contact the head of the servers and forward him/her your idea, although to earn a gag you must've...
Forum: General 09-30-2015, 12:06
Replies: 5
Views: 1,574
Posted By CodingIsHard
Re: Reset(/rs) when have gag

Post your thread to https://forums.alliedmods.net/forumdisplay.php?f=11 or get a moderator to help you out.
As much as i thought.. You could check if(message == "/rs" || "/resetscore") { then reset...
Forum: Scripting Help 09-30-2015, 12:00
Replies: 2
Views: 482
Posted By CodingIsHard
[AMXX Studio] Bug or my fault?

To kick off the discussion, i've managed to recreate this "bug" several times now, i've been writing the same-kind plugin but from scratch. And to be honest i have no idea where this thread should be...
Forum: Scripting Help 09-25-2015, 05:14
Replies: 3
Views: 491
Posted By CodingIsHard
Re: [Engine] entity_set_vector info.

I was considering posting it but then i forgot since i had so little time.
This was the solution i managed to use for my function what i was looking for.


new Float:vecViewAngles[3];...
Forum: Scripting Help 09-23-2015, 12:03
Replies: 3
Views: 491
Posted By CodingIsHard
Re: [Engine] entity_set_vector info.

Solved, sorry for wasting bytes. :)
Forum: Scripting Help 09-23-2015, 09:28
Replies: 3
Views: 491
Posted By CodingIsHard
[Engine] entity_set_vector info.

Long story short, i've been browsing the /api/ and .inc file and left with no explanation so probably one of you guys will help me out..

entity_set_vector(iIndex, iKey, const Float:vNewVector[3]);...
Forum: Scripting Help 07-29-2015, 09:32
Replies: 7
Views: 2,165
Posted By CodingIsHard
Re: [HELP] Enum (value) (string)

Thank you for your help, especially Bugsy for giving a clear image on how to use enum and array together, this helps a lot i'm slightly getting a hang of the enum.

Basically i have a menu where i...
Forum: Scripting Help 07-28-2015, 14:13
Replies: 7
Views: 2,165
Posted By CodingIsHard
[HELP] Enum (value) (string)

Hi everyone again!

Since lots of you guys as programmers are sometimes lazy but efficent by creating a loop to make the big work from you without having to type everything one-by-one.

I've been...
Forum: General 07-05-2015, 07:24
Replies: 276
Views: 211,859
Posted By CodingIsHard
Re: RELEASE | SPEdit - a lightweight sourcepawn editor - NEW: RCon Querys

As i said earlier i'm not concerned about the compiling that much, i simply love the IDE and style. It won't be a problem for me to C/P it to AMXX Studio. I just want the program to allow me write...
Forum: Scripting 07-04-2015, 19:31
Replies: 12
Views: 1,580
Posted By CodingIsHard
Re: [CS:GO][Help] Moving between menus

Thank you @Kailo for the support, effort and time you put into helping me and understanding my problem. Since your answer still left me a bit unclear about my actual question/problem i decided to...
Forum: General 07-04-2015, 19:25
Replies: 276
Views: 211,859
Posted By CodingIsHard
Re: RELEASE | SPEdit - a lightweight sourcepawn editor - NEW: RCon Querys

Can you make it to accept more templates and types of files?
I tried modifying the \spedit\sourcepawn\templates\Templates.xml with my own template but the program didn't even open the coding panel...
Forum: Scripting 07-04-2015, 16:26
Replies: 12
Views: 1,580
Posted By CodingIsHard
Re: [CS:GO][Help] Moving between menus

#pragma semicolon 1

#define DEBUG

#define PLUGIN_AUTHOR "asdaa"
#define PLUGIN_VERSION "0.00"

#include <sourcemod>
#include <sdktools>
Forum: Scripting 07-03-2015, 17:57
Replies: 12
Views: 1,580
Posted By CodingIsHard
Re: [CS:GO][Help] Moving between menus

I have looked into the Wiki and i am still unable to finish my project as i try to move onto the next menu i get an error.

case MenuAction_Select: {
new String:info[32];
GetMenuItem(menu,...
Forum: Scripting 07-03-2015, 16:20
Replies: 12
Views: 1,580
Posted By CodingIsHard
Re: [CS:GO][Help] Moving between menus

When i try to register a ConsoleCmd i get an error for using an undefined client in the RegConsoleCmd("sm_popmenu", ShowMenu1(client)); Is there any way to register a command to a menu...
Forum: Scripting 07-03-2015, 07:28
Replies: 12
Views: 1,580
Posted By CodingIsHard
Re: [CS:GO][Help] Moving between menus

May i also ask about the "correct way" of making a menu?
Right now i have seen void (which is yours), stock (which is made by Arkarr) and last (but not least?) public Action:Menu_Test1(client,...
Forum: Scripting 07-02-2015, 17:07
Replies: 12
Views: 1,580
Posted By CodingIsHard
Re: [CS:GO][Help] Moving between menus

Yes i mean that, it was easy on AMXX but nothing explainable on SourceMod Wiki so i'm sitting here figuring this out but no luck.
Showing results 1 to 25 of 26

 
Forum Jump

All times are GMT -4. The time now is 12:18.


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