Raised This Month: $ Target: $400
 0% 

Showing results 1 to 25 of 71
Search took 0.05 seconds.
Search: Posts Made By: PreDominance
Forum: Scripting Help 08-26-2014, 21:22
Replies: 6
Views: 1,148
Posted By PreDominance
Re: Part of my vault is being deleted on map change..

Unfortunately that did not fix it for me.
Here's the problem in a nutshell.

When I give myself XP in a round, save my player, and re log into the server, everything's peachy.
I use this...
Forum: Scripting Help 08-26-2014, 20:02
Replies: 6
Views: 1,148
Posted By PreDominance
Re: Part of my vault is being deleted on map change..

Mmh what you say makes sense. It does seem like all of the P_DATA variables are null (0).

What bothers me is that vault_loadPlayer() works upon a user changing race (it retrieves their info from...
Forum: Scripting Help 08-25-2014, 17:01
Replies: 6
Views: 1,148
Posted By PreDominance
Re: Part of my vault is being deleted on map change..

I have them, sorry!
public plugin_precache()
{
}

public client_putinserver(id)
{
event_client_putinserver(id);
}
Forum: Scripting Help 08-25-2014, 12:23
Replies: 6
Views: 1,148
Posted By PreDominance
nVault not reading data after client connect

Greetings,
This is what my vault looks like. I can reconnect to the server and my information is saved. But after a mapchange, my data is no longer being read correctly....
Forum: Scripting Help 08-24-2014, 12:54
Replies: 5
Views: 722
Posted By PreDominance
Re: how do i add green color to this?

Go here (http://www.amxmodx.org/snapshots.php) and download the latest dev build. IT has included with it the ColorChat include, which you can use with
client_print_color(<from> <to> <msg>)
Forum: Scripting Help 08-23-2014, 12:18
Replies: 9
Views: 1,585
Posted By PreDominance
Re: Making X Killed Y disappear

Odds are it's been done before, especially if the limits of your amx knowledge do not extend past pre-hooking events. Search around see if you find what you're doing first.
Forum: Scripting Help 08-22-2014, 15:17
Replies: 23
Views: 4,443
Posted By PreDominance
Re: Strings

Idk just trying to think of a use for numerical representations of characters.
Forum: Scripting Help 08-22-2014, 12:51
Replies: 4
Views: 1,047
Posted By PreDominance
Re: help with shop

Create an array of booleans (or a bit-field) and check upon menu creation if the person has the item. However for that you're going to have to move the menu creation outside of plugin init and create...
Forum: Scripting Help 08-22-2014, 12:46
Replies: 7
Views: 945
Posted By PreDominance
Re: Run time error 3: stack error on set_task

You're returning a character with your getWolno function and you're formatting it as a string; use %c.

Unfortunately I don't have the mental capacity without coffee to try to understand the...
Forum: Scripting Help 08-22-2014, 12:36
Replies: 23
Views: 4,443
Posted By PreDominance
Re: Strings

bool:isLetter(char c) return (c > 64 && c < 122);
bool:isDigit(char c) return (c > 47 && c < 58);
Forum: Scripting Help 08-14-2014, 10:28
Replies: 8
Views: 1,427
Posted By PreDominance
Re: [REQ] compiling error [plz help]

http://puu.sh/aSbRR/30fb3ba934.png

The web compiler is for AXMODX 1.8.1, which mayyyy or may not include the geoip_city native (I didn't test on my computer). The only compile errors I received...
Forum: Scripting Help 08-14-2014, 10:24
Replies: 12
Views: 2,166
Posted By PreDominance
Re: ColorChat

??? You don't have to add anything. Download the latest dev build (http://www.amxmodx.org/snapshots.php) of AMXMODX which has client_print_color already included...
Forum: Scripting Help 08-14-2014, 01:49
Replies: 3
Views: 1,270
Posted By PreDominance
CreateMultiForward questions.

Greetings,

I'm looking into making my Warcraft plugin more of an API style (after being told, quite literally, that using callfunc was shit), where each race is an entirely new plugin.

Each...
Forum: Scripting Help 08-12-2014, 16:00
Replies: 6
Views: 783
Posted By PreDominance
Re: Help

No steam = no support. End of discussion.
Forum: Scripting Help 08-12-2014, 15:25
Replies: 15
Views: 1,587
Posted By PreDominance
Re: Setting a player's speed..is a nightmare.

I'm not using amx super, I'm making a new warcraft mod from scratch. The only plugins running on my server are the base plugins, logevents, and my warcraft.
Forum: Scripting Help 08-12-2014, 14:51
Replies: 15
Views: 1,587
Posted By PreDominance
Re: Setting a player's speed..is a nightmare.

But when do I call this? I don't want to inform them to set it higher, this would be for a warcraft-style server that needs to have some players running at SPEED_X, some at SPEED_Y, and the rest at...
Forum: Scripting Help 08-12-2014, 14:28
Replies: 8
Views: 2,604
Posted By PreDominance
Re: Best way to just save the data from an array

Just use nVault. It's so much easier than trying to parse data from a file.
Forum: Scripting Help 08-12-2014, 14:21
Replies: 15
Views: 1,587
Posted By PreDominance
Re: Setting a player's speed..is a nightmare.

Yeah I'm figuring this all out as I go.

So how am I supposed to do this? If I don't set sv_maxspeed higher than 400, nothing will work.
If I set sv_maxspeed higher than 400, but do not set...
Forum: Scripting Help 08-12-2014, 07:07
Replies: 14
Views: 1,690
Posted By PreDominance
Re: Getting user's ping

There's 3 steps to do if you want to learn anything about scripting for AMX Mod X.

A: Google "site:alliedmods.net <search terms>"
B: Check documentation
C: Check plugin database

The most...
Forum: Scripting Help 08-12-2014, 06:14
Replies: 15
Views: 1,587
Posted By PreDominance
Re: Setting a player's speed..is a nightmare.

I literally have the absolute newest dev version of AMXMod. Hooking curweapon does not solve the problem.

*Edit
Aaaaaand Cs1.6 is stupid. Nowhere does anyone say anything about sv_maxspeed >:C
...
Forum: Scripting Help 08-12-2014, 05:55
Replies: 15
Views: 1,587
Posted By PreDominance
Setting a player's speed..is a nightmare.

Greetings,

I'm having an insanely difficult time with setting my speed. Yes I've read the forums and I've gone through about 20 threads, trying different crap and I can't find what I'm doing...
Forum: Scripting Help 08-12-2014, 05:27
Replies: 6
Views: 901
Posted By PreDominance
Re: Triggering function at round-end and giving multiple HE grenades

Round end function. (http://lmgtfy.com/?q=alliedmods+round+end+function)
For multiple nades...create a global array, say.. new numGivenNades[33];, and I'm not sure if you increment this with...
Forum: Scripting Help 08-11-2014, 15:17
Replies: 7
Views: 1,104
Posted By PreDominance
Re: Message ignore spectators

What hamlet said: get_players returns the number of players in the server, so you only have to loop for (new i; i < num; i++) {}.
Forum: Scripting Help 08-10-2014, 21:03
Replies: 11
Views: 2,599
Posted By PreDominance
Re: WC3FT changing the scaling with level for shopmenu items.

To be blunt: why don't you look for it, then?

shared.inl, line 789
public SHARED_SetSpeed( id )
{

if ( id >= TASK_UNHOLYSPEED )
{
id -= TASK_UNHOLYSPEED;
}
Forum: Scripting Help 08-10-2014, 16:05
Replies: 11
Views: 2,599
Posted By PreDominance
Re: WC3FT changing the scaling with level for shopmenu items.

shared.inl, line 846
// Unholy Aura bonus
if ( iSkillLevel > 0.0 )
{
fNewSpeed = p_unholy[iSkillLevel-1];
if (ITEM_Has(id, ITEM_BOOTS) >...
Showing results 1 to 25 of 71

 
Forum Jump

All times are GMT -4. The time now is 16:07.


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