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

Showing results 1 to 25 of 50
Search took 0.01 seconds.
Search: Posts Made By: Watermelonnable
Forum: Scripting Help 01-16-2020, 23:57
Replies: 3
Views: 789
Posted By Watermelonnable
Re: why doesn't the sound play?

Yep, just tried it with another sound and it worked. Any idea of why does this happen?
Forum: Scripting Help 01-16-2020, 19:10
Replies: 3
Views: 789
Posted By Watermelonnable
why doesn't the sound play?

Hello! I'm trying to play a sound in a plugin. Literally just copied and pasted another of my working snippets and it doesn't do anything. This is what I did:


new const g_szSound[1][FILELENGHT];...
Forum: General 12-11-2019, 07:54
Replies: 191
Views: 75,550
Posted By Watermelonnable
Re: [Editor] AMXXPawn for Visual Studio Code

I installed this package but I don't get the intellisence options nor the clicking to go to reference. Any idea in how to fix this?
Forum: Scripting Help 12-11-2019, 07:48
Replies: 16
Views: 2,724
Posted By Watermelonnable
Re: Timed Rank Display

git is the solution for you my friend. Also, I'm gonna try that extension you posted because I've been using vscode with some random package I found in the library and it doesn't work that good.
...
Forum: Scripting Help 12-10-2019, 19:58
Replies: 10
Views: 2,201
Posted By Watermelonnable
Re: [ZP] Countdown

Thank you for your feedback man! I'll keep those in mind for the future :)
Forum: Scripting Help 12-10-2019, 10:21
Replies: 4
Views: 1,751
Posted By Watermelonnable
Re: zp_watergun

I think this should go into requests/suggestions since you aren't actually trying to solve it by yourself.
Forum: Scripting Help 12-10-2019, 10:19
Replies: 10
Views: 2,201
Posted By Watermelonnable
Re: [ZP] Countdown

Try this one:


#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Plugin Name"
#define VERSION "1.0"
#define AUTHOR "Plugin Author"
Forum: Scripting Help 12-10-2019, 07:47
Replies: 10
Views: 2,201
Posted By Watermelonnable
Re: [ZP] Countdown

I improved the code based on OciXCrom comment. It compiled fine but I didn't test it.


#include <amxmodx>
#include <amxmisc>

#define PLUGIN "Plugin Name"
#define VERSION "1.0"
#define...
Forum: Scripting Help 12-09-2019, 10:27
Replies: 7
Views: 1,642
Posted By Watermelonnable
Re: pass data to set_task function

Thank you guys for your help. I understand it better now :) The plugin compiled fine, I'm gonna test it now.
Forum: Scripting Help 12-08-2019, 15:43
Replies: 7
Views: 1,642
Posted By Watermelonnable
pass data to set_task function

So I want to delay a function inside an event and I'm going to use set_task for this. The problem is that the function delayed needs to be given a player ID which I have in the "set_task" scope but I...
Forum: Scripting Help 12-07-2019, 14:09
Replies: 10
Views: 3,086
Posted By Watermelonnable
Re: count alive players

Thank you guys for your replies. Yes I checked the API documentation but maybe I'm kinda dumb so didn't understand it. I'm gonna try the iceeedr version since I'm using the latest amx version.
...
Forum: Scripting Help 12-07-2019, 11:49
Replies: 10
Views: 3,086
Posted By Watermelonnable
count alive players

Hello. So I'm trying to do a workaround of the infinite round plugin by Arkshine. I want the round to end when there's only 1 player alive. So I'm hooking to the "ham killed" post to achieve this....
Forum: Approved Plugins 12-07-2019, 11:18
Replies: 694
Views: 469,344
Posted By Watermelonnable
Re: Infinite Round (v2.1.2)

How can I configure this to only end the round when there's only 1 alive?
Forum: Suggestions / Requests 12-05-2019, 10:18
Replies: 8
Views: 1,369
Posted By Watermelonnable
Re: disable plugin from inside another plugin

Thank you. I'll do. One more question. Do paused plugins need the server to be reloaded to take effect? or is it immediate?
Forum: Suggestions / Requests 12-04-2019, 19:52
Replies: 8
Views: 1,369
Posted By Watermelonnable
Re: disable plugin from inside another plugin

Nice! Thank you. And how do I start the plugin again?

Regarding the section, I'm a little bit confused right now then because another user told me to post here when I don't have any code
Forum: Scripting Help 12-04-2019, 18:15
Replies: 7
Views: 1,077
Posted By Watermelonnable
Re: hook to specific timestamp

Yeah I tried that too before but still got 0 values
Forum: Scripting Help 12-04-2019, 15:59
Replies: 7
Views: 1,077
Posted By Watermelonnable
Re: hook to specific timestamp

Thank you. I will try this and let you know the results.

For the meantime I did some debugging and came across that
get_timeleft()

and also

...
Forum: Suggestions / Requests 12-04-2019, 14:54
Replies: 8
Views: 1,369
Posted By Watermelonnable
disable plugin from inside another plugin

So under some conditions given by plugin B I want to disable plugin A. Is this possible?
Forum: Scripting Help 12-04-2019, 12:14
Replies: 7
Views: 1,077
Posted By Watermelonnable
Re: hook to specific timestamp

Hey man, for some reason the function gets executed right after I start the server. Any idea of why? This is how I registered it in the plugin_ini block:


set_task(get_timeleft() - 30.0,...
Forum: Scripting Help 12-04-2019, 12:09
Replies: 7
Views: 1,160
Posted By Watermelonnable
Re: Block message when someone types ff in chat

Thank you. I wanted to do the fix with orpheu but I know nothing about it so I went with the first solution :)
Forum: Scripting Help 12-04-2019, 11:27
Replies: 7
Views: 1,160
Posted By Watermelonnable
Block message when someone types ff in chat

Hello guys.

I want to block the message that appears when someone types "ff" in the chat (Friendly fire: on/off) because smart players of the mode I'm working on exploit this to tell the alive...
Forum: Scripting Help 12-04-2019, 11:18
Replies: 18
Solved compiler
Views: 6,451
Posted By Watermelonnable
Re: compiler

Hey guys, apologies for the poor clarification by my side.

Indeed, I downloaded the windows version so I could compile in my computer and I'm uploading the .amxx files to my linux vps!
Forum: Scripting Help 12-04-2019, 08:43
Replies: 7
Views: 1,077
Posted By Watermelonnable
Re: hook to specific timestamp

Thank you, this is what I was looking for :)
Forum: Scripting Help 12-04-2019, 08:22
Replies: 1
Views: 650
Posted By Watermelonnable
Re: How to create print chat for sank sound

Hey mate, I think something like this should work:


// We create the variable for the user name here with a max length of 32 characters
new playerName[32];
// Now we assign the name of the user...
Forum: Scripting Help 12-04-2019, 00:17
Replies: 7
Views: 1,077
Posted By Watermelonnable
hook to specific timestamp

Hello guys!

I want to hook to an specific timestamp per map and store a value to use in another timestamp. For example: When there are 5 minutes left in the map, I want to execute a vote and store...
Showing results 1 to 25 of 50

 
Forum Jump

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


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