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

Showing results 1 to 25 of 86
Search took 0.01 seconds.
Search: Posts Made By: -Absolute-
Forum: Scripting 02-18-2014, 10:22
Replies: 17
Views: 4,394
Posted By -Absolute-
Re: [ANY] Konami Code?

No, because in your console variables there are only Strings and not the Button IDs. You need to read out the string of the cvar and then find out the corresponding button ID.
Forum: Scripting 02-17-2014, 17:46
Replies: 17
Views: 4,394
Posted By -Absolute-
Re: [ANY] Konami Code?

Yes, that would be my idea as well. Have two arrays, one with the strings and one with the corresponding integer of the specific key. Then if they press the button you can convert the cvar to the...
Forum: Snippets and Tutorials 12-28-2013, 15:33
Replies: 4
Views: 3,421
Posted By -Absolute-
Re: Using player_speedmod entity to players

You can dispatch Outputs by adding them as keyvalues like so:

Format(buffer, sizeof(buffer), "!caller,ModifySpeed,%0.3f,0.1,-1", speed);
DispatchKeyValue(player_speedmod, "OnUser1" , buffer);
Forum: Scripting 12-26-2013, 20:21
Replies: 6
Views: 1,543
Posted By -Absolute-
Re: Is it bad Precache things often and/or later ?

No it's more like: Do you want the client to load the model when they join, basically adding a little bit of load time or when the model is needed, while the game is running, might create a little...
Forum: Scripting 12-25-2013, 17:07
Replies: 6
Views: 1,543
Posted By -Absolute-
Re: Is it bad Precache things often and/or later ?

Depends on what you want to happen, there could be a lag when you precache the model just when you need it, if for example a person has a slow computer. If you precache it on map start the people...
Forum: Scripting 12-06-2013, 08:03
Replies: 7
Views: 1,253
Posted By -Absolute-
Re: MySQL Best way to prevent duplicating records?

This only works if your table's auth row is unique. Else it will just append since there was no duplicate.
Forum: Scripting 12-04-2013, 15:48
Replies: 7
Views: 1,253
Posted By -Absolute-
Re: MySQL Best way to prevent duplicating records?

There is no difference between using mysql from php or source pawn. Make sure your tables are set up properly (having unique keys) or else it won't fire ON DUPLICATE
Forum: Scripting 12-04-2013, 08:00
Replies: 4
Views: 1,054
Posted By -Absolute-
Re: Help With (buttons & IN_LEFT)

This should work tho, can you post the whole OnPlayerRunCmd part?
Forum: Scripting 12-02-2013, 13:30
Replies: 6
Views: 1,521
Posted By -Absolute-
Re: SQL Database for Store

Then why are you buying stuff from people who don't even own it?

But anyways, you will have to either post the plugin here so that people can change/rewrite it or pay someone else to change it so...
Forum: Scripting 12-02-2013, 08:15
Replies: 6
Views: 1,521
Posted By -Absolute-
Re: SQL Database for Store

It's not that easy. Why don't you ask the person you bought it from?

Also there is a free store plugin out there which uses SQL iirc, you might wanna try that one.
Forum: Plugin/Gameplay Ideas and Requests 11-29-2013, 14:24
Replies: 14
Views: 8,059
Posted By -Absolute-
Re: Anti Strafe Hack/Bot

Does it not work or what are you asking for then?
Too many false positives?
Forum: Plugin/Gameplay Ideas and Requests 11-28-2013, 16:31
Replies: 14
Views: 8,059
Posted By -Absolute-
Re: Anti Strafe Hack/Bot

Maybe you wanna check how many ticks are between moving the mouse and pressing the button (sync). If it's always like 1-2 ticks then that is not humanly possible.
Forum: Scripting 11-23-2013, 10:30
Replies: 3
Views: 1,053
Posted By -Absolute-
Re: Change skybox on the fly

Yes, but if you are lucky and the map has a 3D skybox you can create a model in it, which will then get scaled up. Otherwise no idea. Maybe you could force the clients to reload materials somehow.
Forum: Scripting 11-20-2013, 07:03
Replies: 3
Views: 1,053
Posted By -Absolute-
Re: Change skybox on the fly

Create a model with the new skybox texture around the skybox camera?
Forum: Scripting 11-18-2013, 17:05
Replies: 4
Views: 3,598
Posted By -Absolute-
Re: [Counter Strike Source] Big Head

That prop does not exist. The screenshot is probably a skin or made with Gmod where this is possible.
Forum: Scripting 11-18-2013, 14:33
Replies: 13
Views: 4,810
Posted By -Absolute-
Re: [TF2] Best way to detect when a player jumps?

The player is at the highest peak of the jump if his z-velocity == 0, might wanna check for that.

I coded a private walljump plugin and I was doing a hulltrace...
Forum: Scripting 11-12-2013, 09:47
Replies: 1
Views: 2,165
Posted By -Absolute-
OnGameFrame and OnPlayerRunCommand

Does PlayerRunCommand get fired every game frame regardless wether a player sends any commands?

Would looping through every player every game frame be fired as often as OnPlayerRunCmd?
Forum: Scripting 11-11-2013, 20:54
Replies: 3
Views: 1,506
Posted By -Absolute-
Re: Problems with Third Person

If anyone is interested in the solution:
mp_forcecamera 0 makes it work.
Forum: Scripting 11-11-2013, 15:31
Replies: 4
Views: 1,015
Posted By -Absolute-
Re: Testing models

You could also just spawn them in via Hammer editor.
Forum: Scripting 11-08-2013, 08:04
Replies: 2
Views: 584
Posted By -Absolute-
Re: [TF2]Setting only a X chance to execute a command

Something like this:
new Float:chance;
chance = GetURandomFloat();
if (chance < 0.6)
{
// here the 60% chance
}
else
{
// here the 40% chance
Forum: Scripting 11-06-2013, 18:26
Replies: 8
Views: 2,686
Posted By -Absolute-
Re: [TF2] +/- Command Listener conundrums (updated)

1. If they start pressing the key, save the current engine time via GetEngineTime() to a variable specific for each player and then if they stop pressing it get the current Engine Time again and...
Forum: Scripting 11-01-2013, 11:38
Replies: 2
Views: 923
Posted By -Absolute-
Re: "delay" between 2 update statements?

What do you mean by massive server lags?
Lags on the mysql server?

The sql stuff should not lag on the game server, it's probably more likely that your calculating the points is lagging.
Forum: Plugin/Gameplay Ideas and Requests 10-27-2013, 21:41
Replies: 5
Views: 952
Posted By -Absolute-
Re: HATS

Use SetParentAttachment (https://developer.valvesoftware.com/wiki/Entity_Hierarchy_(parenting)) on the forward attachment point
Forum: Plugin/Gameplay Ideas and Requests 10-27-2013, 18:34
Replies: 5
Views: 923
Posted By -Absolute-
Re: how to check map touch ?

Use SDKHooks to hook OnStartTouch on the prop you want to hook.
Forum: Scripting 10-27-2013, 17:12
Replies: 3
Views: 1,506
Posted By -Absolute-
Re: Problems with Third Person

Hm, but I see server which use this. (or atleast have a working thirdperson script)
Showing results 1 to 25 of 86

 
Forum Jump

All times are GMT -4. The time now is 19:32.


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