Raised This Month: $ Target: $400
 0% 

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: Black Rose
Forum: Scripting Help 11-22-2020, 13:20
Replies: 10
Views: 487
Posted By Black Rose
Re: Am I Correct ?

The taskid looks fine. However, unneccessary if you don't have any other tasks, especially if you're not cancelling any. Then you can always straight up use the player id, just make sure the player...
Forum: Scripting Help 11-22-2020, 12:52
Replies: 5
Views: 464
Posted By Black Rose
Re: Save for certain steams

new const saveSteam[][]=
{
{"STEAM ONE"},
{"STEAM TWO"}
}

You actually have to put steam id's in there.
Forum: Module Coding 11-15-2020, 08:58
Replies: 3
Views: 397
Posted By Black Rose
Re: AMXX httplib module

Are you saying you want the to host a HTTP-server using AMXX? If so, I believe that already exists. But it depends on how advanced you want it to be.
Forum: Module Coding 11-15-2020, 08:44
Replies: 6
Views: 421
Posted By Black Rose
Re: No modules for get any system info?

I would say it's information that nobody needs.
I made a Windows-specific module called MemoryInfoX for getting general memory info. I honestly don't know what I'm doing so I wouldn't rely on it too...
Forum: Module Coding 11-15-2020, 08:34
Replies: 1,496
Views: 684,384
Posted By Black Rose
Re: Module: Orpheu (v2.6.3)

Put the .inc file in amxmodx/scripting/include
or
Add additional locations to the compiler to search for includes by using
"-iFILEPATH", For example "-iC:/Whatever/CustomIncludeFolder"
Forum: Off-Topic 11-13-2020, 19:33
Replies: 74
Views: 13,182
Posted By Black Rose
Re: Your favorite programming language?

I didn't take it personally, I did however take your post seriously because I saw no reason not to.

You don't need to do anything, but if you want credability you probably shouldn't use "it was...
Forum: Off-Topic 11-13-2020, 19:12
Replies: 74
Views: 13,182
Posted By Black Rose
Re: Your favorite programming language?

What joke? Nobody's laughing. Trying to play off what you can't back up. Pathetic.
Making fun about a language on a forum that basically came to be because of that language. Genious.

OOP has it's...
Forum: Off-Topic 11-13-2020, 17:51
Replies: 74
Views: 13,182
Posted By Black Rose
Re: Your favorite programming language?

That's what makes it great! It's my goto when trying to test out simple concepts. Sure, it might be because it's the language that I'm most comfortable with but the memory system of cells of 4 bytes...
Forum: Off-Topic 11-12-2020, 16:58
Replies: 74
Views: 13,182
Posted By Black Rose
Re: Your favorite programming language?

What’s so bad about PAWN? I think it’s great.
Forum: Off-Topic 11-07-2020, 15:55
Replies: 3,204
Views: 500,785
Posted By Black Rose
Re: The Now playing thread (music)

Yes. Bzzzzz. Metallica is very good with my currently installed audio drivers. Bzzzzz. It makes my audical receptors vibrate with excitement. Bzzzzz. :comply:

Can someone explain the point of...
Forum: Scripting Help 11-07-2020, 14:45
Replies: 18
Views: 629
Posted By Black Rose
Re: Hlds vs Rehlds

I give up.
Forum: Scripting Help 11-07-2020, 14:36
Replies: 13
Views: 347
Posted By Black Rose
Re: JailBreak Mod

public plugin_init() {
// ...
register_forward(FM_GetGameDescription, "GameDesc");
// ...
}

public GameDesc() {
forward_return(FMV_STRING, "Whatever you want");
return FMRES_SUPERCEDE;...
Forum: Scripting Help 11-07-2020, 14:26
Replies: 18
Views: 629
Posted By Black Rose
Re: Hlds vs Rehlds

My point was not to use my plugin but to adapt yours using normal chat instead of messagemode. Making menus that can navigate differently is really not that hard. YOU as a programmer decide when the...
Forum: Scripting Help 11-07-2020, 13:17
Replies: 18
Views: 629
Posted By Black Rose
Re: Hlds vs Rehlds

If messagemode is the issue (should be pretty easy to test it, no idea why you haven't...) you could just use regular chat but only enable it whenever your donation menu is open.
...
Forum: Scripting Help 11-07-2020, 12:29
Replies: 7
Views: 211
Posted By Black Rose
Re: index out of bounds

Your array is one dimension when it needs to be two (the second one is because your array contains strings, which are also arrays).
The reason you get index out of bounds is this:

public...
Forum: Scripting Help 11-07-2020, 11:54
Replies: 7
Views: 259
Posted By Black Rose
Re: Array Size

The bottom of my previous post contains what I would've used.

Or if you want to declutter the plugin_init() a bit and also include say_team:

public plugin_init() {
for( new i ; i <...
Forum: Scripting Help 11-07-2020, 10:52
Replies: 7
Views: 259
Posted By Black Rose
Re: Array Size

I might have gotten a bit excited here... Sorry.

It works because sizeof is not a runtime function but a compiler function. So when the plugin is compiled it will be calculated and replaced with a...
Forum: Scripting Help 11-07-2020, 10:43
Replies: 1
Views: 160
Posted By Black Rose
Re: Bitsum question

Seems like the compiler sees the parentheses and therefor assumes the previous is a function to be called.
Exactly like this also works:

server_print

("");


It could be negated by...
Forum: Scripting Help 10-15-2020, 15:50
Replies: 10
Views: 677
Posted By Black Rose
Re: Which method is more efficient?

stock random_coord1(coord[2], range) {
new newCoord[3], tempCoord[3];

tempCoord[0] = coord[0];
tempCoord[1] = coord[1];

do {
newCoord[0] = tempCoord[0] + random_num(-range, range);...
Forum: Scripting Help 09-27-2020, 09:29
Replies: 13
Views: 583
Posted By Black Rose
Re: Thank you supre ;3

By this logic, AMXX itself supports non-steam.



Coding for ONLY name is incorrect.
Coding for ONLY IP is incorrect.
Coding for ONLY SteamID is acceptable.
Coding for all options should never...
Forum: Scripting Help 09-27-2020, 09:08
Replies: 10
Views: 636
Posted By Black Rose
Re: what is wrong with my code ?

Actually posting code > bitching about posts in the wrong forum, non-descriptive titles, et.c.

This is a forum. It's somewhat of a dialogue. If the user responds with "I don't understand, can you...
Forum: Scripting Help 09-26-2020, 06:29
Replies: 10
Views: 636
Posted By Black Rose
Re: what is wrong with my code ?

if (g_nemesis[victim] || g_assassin[victim] || ( is_user_connected(attacker) && g_assassin[attacker] && get_pcvar_num(cvar_nemfraggore)))
Forum: Scripting Help 09-25-2020, 15:52
Replies: 10
Views: 636
Posted By Black Rose
Re: what is wrong with my code ?

EXACTLY what we're asking here. You tell us.
Forum: Suggestions / Requests 09-24-2020, 13:17
Replies: 8
Views: 406
Posted By Black Rose
Re: [Req] Knife Damage Always 45

Have you tried the one ZaX made?
Forum: Scripting Help 09-24-2020, 12:49
Replies: 3
Views: 301
Posted By Black Rose
Re: What's Wrong with my code??

If only there were some type of console or error log to find out that your plugin prints an error message during plugin_init() regarding you not having a function called "ham_PlayerSpawn_Post".
Oh...
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 15:39.


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