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

Showing results 1 to 25 of 168
Search took 0.02 seconds.
Search: Posts Made By: EpicKiller
Forum: Scripting Help 05-23-2016, 04:35
Replies: 7
Views: 752
Posted By EpicKiller
Re: Preventing the names from repeating

Well yeah, it is so hard, 'cause I'm a begginer and I don't get loops so well. Thank you!



It does exactly what I want and it does it even better. Thank you so much, Bugsy!
Forum: Scripting Help 05-21-2016, 20:40
Replies: 7
Views: 752
Posted By EpicKiller
Re: Preventing the names from repeating

You're watching a different movie, my friend.



I'll do it right away. Thank you, Ocixcrom!



Apparently, I messed it up again. It didn't double anything, that's a relief. I guess I...
Forum: Scripting Help 05-21-2016, 18:17
Replies: 7
Views: 752
Posted By EpicKiller
Preventing the names from repeating

I have an admin_who plugin. I changed the check to include the flags, instead of equaling them. Why? Because the VIP flag is ADMIN_LEVEL_H, so if I add the t flag to an admin, he won't be shown in...
Forum: Scripting Help 05-20-2016, 11:25
Replies: 2
Views: 783
Posted By EpicKiller
Re: Initialization data exceeds declared value

I tried increasing it before posting this thread and it didn't solve anything. I replaced the MAX_GROUPS with sizeofs, which resulted the same errors. As about those two lines, I was wondering what's...
Forum: Scripting Help 05-20-2016, 10:16
Replies: 2
Views: 783
Posted By EpicKiller
Initialization data exceeds declared value

//// amx_who.sma
// E:\compiler 1.8.2\addons\amxmodx\scripting\amx_who.sma(19) : error 018: initialization data exceeds declared size
// E:\compiler 1.8.2\addons\amxmodx\scripting\amx_who.sma(28) :...
Forum: Scripting Help 05-08-2016, 07:14
Replies: 2
Views: 667
Posted By EpicKiller
Re: [Help] Not Enough Points for Play

You could add a check to see if the player has enough credits.

public lotto(id)
{
if(Points[id] < 500)
{
client_print(id, print_chat, "You don't have enough credits!");

return...
Forum: Scripting Help 12-01-2015, 02:32
Replies: 4
Views: 838
Posted By EpicKiller
Re: Precache error

I still don't get what was the issue, but I fixed it. It was from NST_Wpn_Knife. But that's related to other knife skins... however, thank you for your help!
Forum: Scripting Help 12-01-2015, 01:54
Replies: 4
Views: 838
Posted By EpicKiller
Re: Precache error

Nope, it's a model of knife mod, there's no plugin that could possibly have anything to do with it.
Forum: Scripting Help 11-30-2015, 17:09
Replies: 4
Views: 838
Posted By EpicKiller
Precache error

I know there is at least one topic about this, but it really didn't help me solve my problem. "SV_ModelIndex: model models/knife-mod/model/v_butcher.mdl not precached". I added /model to the path,...
Forum: Scripting Help 11-29-2015, 10:58
Replies: 4
Views: 709
Posted By EpicKiller
Re: Speedometer with hud_draw 0

HUD is disabled, but cl_showfps still does it's job. What is that? Can we replicate that?
Forum: Scripting Help 11-29-2015, 04:54
Replies: 4
Views: 709
Posted By EpicKiller
Speedometer with hud_draw 0

I want to somehow display the speed even if hud_draw is set to 0. Could it be done?
Forum: Scripting Help 06-07-2015, 06:09
Replies: 4
Views: 795
Posted By EpicKiller
Re: Retrieving data from vault

Alright, thank you very much!
Forum: Scripting Help 05-30-2015, 03:13
Replies: 4
Views: 795
Posted By EpicKiller
Re: Retrieving data from vault

Thanks, but as I'm not so familiar with nvault, that didn't help me. I tried some things, but I can't get it done. Could you please be more explicit? Also, how could I sort them as mentioned?
Forum: Scripting Help 05-26-2015, 08:17
Replies: 4
Views: 795
Posted By EpicKiller
Retrieving data from vault

So I have a vault that stores a name and a number. How could I get all the key-data combinations and display them in console, aligned, like below?

Name | Num
Name2 | Num2
Forum: Scripting Help 04-22-2015, 04:33
Replies: 5
Views: 1,207
Posted By EpicKiller
Re: Hudmessage info..

No, they don't need to. I guess it's a matter of organizing personal preference.
Forum: Scripting Help 04-21-2015, 15:39
Replies: 5
Views: 1,207
Posted By EpicKiller
Re: Hudmessage info..

First, you need to pass "id" as a parameter of client_putinserver. Second, get_user_health is a one-parameter function, it's "get_user_health(1%)". So you can create a pointer variable, "new iHealth...
Forum: Scripting Help 04-15-2015, 07:07
Replies: 6
Views: 903
Posted By EpicKiller
Re: Holding user's speed and gravity

Oh, I see. As mentioned, I tried making it a Float, but as I tried it for a different purpose, it left some warnings behind and I thought it's just not the way. Anyway, the concept of "tag" in Pawn...
Forum: Scripting Help 04-15-2015, 02:23
Replies: 6
Views: 903
Posted By EpicKiller
Re: Holding user's speed and gravity

I have reproduced the relevant part of the plugin.


#include < amxmodx >
#include < color_print >
#include < cstrike >
#include < fun >

#pragma semicolon 1
Forum: Scripting Help 04-14-2015, 16:28
Replies: 6
Views: 903
Posted By EpicKiller
Holding user's speed and gravity

I need to hold user's speed and gravity in a variable, so I can set them back on CurWeapon or PreFrame or whatever. So I have two variables, Speed[33] and Gravity[33]. Then two menus, one to allow...
Forum: Scripting Help 03-29-2015, 16:04
Replies: 3
Views: 1,404
Posted By EpicKiller
Re: Team Semiclip

This is scripting help. And you have only asked one question, as the rest are requests, whereas you should post here (https://forums.alliedmods.net/forumdisplay.php?f=12).
Forum: Scripting Help 03-25-2015, 16:27
Replies: 10
Views: 1,366
Posted By EpicKiller
Re: [Req][Help] Native & Set Player model :)

If you set the bool to true at putinserver, everyone will have the custom speed, regardless of the menu. Set it to false on putinserver and disconnect and to true at the case selection.

About...
Forum: Scripting Help 03-24-2015, 17:15
Replies: 10
Views: 1,366
Posted By EpicKiller
Re: [Req][Help] Native & Set Player model :)

You need to set HasSpeed[id] to true in the handler.
Forum: Scripting Help 03-22-2015, 16:43
Replies: 10
Views: 1,366
Posted By EpicKiller
Re: [Req][Help] Native & Set Player model :)

Displaying a menu at putinserver would be impossible, as the player isn't even spawned yet at that point. You could simply launch the menu at player spawn, like so:

#include < amxmodx >
#include...
Forum: Scripting Help 03-20-2015, 17:03
Replies: 5
Views: 1,620
Posted By EpicKiller
Re: Block Console Command

I wasn't arguing with you, I was just offering him a solution, as you were right.
Forum: Scripting Help 03-20-2015, 15:19
Replies: 5
Views: 1,620
Posted By EpicKiller
Re: Block Console Command

But you can set the model back to whatever it was, so the command would be useless.


#include < amxmodx >
#include < cstrike >
#include < fakemeta >

public plugin_init()...
Showing results 1 to 25 of 168

 
Forum Jump

All times are GMT -4. The time now is 06:00.


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