Rules
FAQ
Members List
Search
Register
Login
Raised This Month: $12
Target: $400
3%
Search Forums
Show Threads
Show Posts
Advanced Search
Go to Page...
Page 1 of 20
1
2
3
11
>
Last
»
Showing results 1 to 25 of 500
Search took
0.05
seconds.
Search:
Posts Made By:
Xellath
Forum:
Scripting Help
08-14-2013, 07:03
Replies:
4
Timeleft in rounds
Views:
1,625
Posted By
Xellath
Re: Timeleft in rounds
Served on a silver platter.
Forum:
Scripting Help
08-14-2013, 06:59
Replies:
5
query_client_cvar cant read *.000 value
Views:
1,406
Posted By
Xellath
Re: query_client_cvar cant read *.000 value
new Float:iValue = str_to_float(value)
Also, since you're printing using %.2f you restrict it from printing more than 2 decimals. Use %f. IIRC, str_to_float() is also known to be slightly...
Forum:
Scripting Help
08-14-2013, 06:51
Replies:
1
Sprite over entity ?
Views:
735
Posted By
Xellath
Re: Sprite over entity ?
Make sure the model/sprite is precached.
If you want the sprite to follow your entity you can assign its pev_aiment to the owner entity. Note that pev_movetype has to be MOVETYPE_FLY.
For...
Forum:
Scripting Help
08-14-2013, 06:46
Replies:
4
Timeleft in rounds
Views:
1,625
Posted By
Xellath
Re: Timeleft in rounds
That is pretty easily achieved.
Add the following in timeleft.sma and recompile it:
Under new g_Switch and above plugin_init() add:
new Rounds = 0;
Inside the plugin_init() function...
Forum:
Scripting Help
08-14-2013, 06:27
Replies:
7
Giving M249 Not working
Views:
1,535
Posted By
Xellath
Re: Giving M249 Not working
If you are unsure, check the funcwiki or any amxx/hl1 documentation - the answer is always at hand.
To not only ramble about searching, if you're lazy like me - you can use this stock I made a...
Forum:
Suggestions / Requests
01-28-2013, 09:00
Replies:
19
resetting rank for 1 player? possible?
Views:
3,340
Posted By
Xellath
Re: resetting rank for 1 player? possible?
Correct.
Forum:
Scripting Help
01-28-2013, 08:55
Replies:
4
Achievements API
Views:
1,548
Posted By
Xellath
Re: Achievements API
You simply limit the the objective counter to the specific team. If their team is T, don't increment, otherwise increment. The achievement will be available for all, but only when they're on the set...
Forum:
Scripting Help
01-28-2013, 08:50
Replies:
10
Player walk distance
Views:
2,516
Posted By
Xellath
Re: Player walk distance
Heres how I did it a while back, if it's of any help (you get the idea, it's pretty self-explanatory);
#define UnitsToMeters(%1) ( %1 * 0.0254 )
const FL_ONGROUND2 = ( FL_ONGROUND |...
Forum:
Suggestions / Requests
01-28-2012, 10:38
Replies:
3
[REQ] Simple Standup-Countjump(SCJ) Stats for HnS
Views:
1,817
Posted By
Xellath
Re: [REQ] Simple Standup-Countjump(SCJ) Stats for HnS
Did you even read what he said?
If you go the uq_jumpstats (http://forums.alliedmods.net/showthread.php?t=141586) main post and see the cfg - you can actually customize it very much. Scroll...
Forum:
Off-Topic
01-27-2012, 10:50
Replies:
4
ACTA (Danish SOPA) confirmed
Views:
1,924
Posted By
Xellath
Re: ACTA (Danish SOPA) confirmed
It's not just European. ACTA is a plurilateral agreement that will establish a new international legal framework that countries can join voluntarily. Meaning that any country, worldwide, can join in...
Forum:
Scripting Help
01-24-2012, 17:13
Replies:
34
scripting newb questions
Views:
4,407
Posted By
Xellath
Re: scripting newb questions
The description of the native is always above it.
What don't you get? It sets the specified parameter to the specified value.
// Ham_TakeDamage parameters:
// client, inflictor, attacker,...
Forum:
Scripting Help
01-24-2012, 17:04
Replies:
2
whats the different of ExecuteHam and ExecuteHamB
Views:
4,742
Posted By
Xellath
Re: whats the different of ExecuteHam and ExecuteHamB
They both execute the virtual function on the entity, but ExecuteHamB will trigger all the hooks that has been made on the virtual function.
Example:
Let say you have a takedamage hook in a...
Forum:
Approved Plugins
01-22-2012, 11:17
Replies:
42
Achievements API
Views:
48,011
Posted By
Xellath
Re: Achievements API
Of course it's going to be incorrect (ie. not incremented just 0) if you check it in client_connect. The core needs confirmation from the sub-plugins that the achievement is completed - and when and...
Forum:
Scripting Help
12-30-2011, 16:24
Replies:
10
Lightning beam to aiming point
Views:
2,827
Posted By
Xellath
Re: Lightning beam to aiming point
Right. Have you tried using other values on the life, width and amplitude parameters?
Forum:
Suggestions / Requests
12-30-2011, 14:13
Replies:
6
SQL Saving Method
Views:
1,180
Posted By
Xellath
Re: SQL Saving Method
Is the connection information correct? On some servers SQL fails the first time it's loaded, try changing the map - that should sort the connection out (if the connection info is correct in the first...
Forum:
Scripting Help
12-30-2011, 13:51
Replies:
10
Lightning beam to aiming point
Views:
2,827
Posted By
Xellath
Re: Lightning beam to aiming point
That will not create a beam to your aiming origin. You're getting the same origin twice.
if(!g_iOrigins[0][0])
{
get_user_origin(id, g_iOrigins[0], 1);
client_print(id, print_chat, "Origin...
Forum:
Scripting Help
12-17-2011, 09:29
Replies:
13
[Help] Change Team score values
Views:
8,598
Posted By
Xellath
Re: [Help] Change Team score values
Nbanow requested a "live" - "warmup" version of the code I posted above - so here it is.
#include < amxmodx >
#include < cstrike >
// team names
// CS_TEAM_UNASSIGNED
// CS_TEAM_T
//...
Forum:
Scripting Help
12-16-2011, 11:52
Replies:
16
Get cz bots to stop when shooting
Views:
2,625
Posted By
Xellath
Re: Get cz bots to stop when shooting
Forgot about that. Thanks. Edited.
Forum:
Scripting Help
12-15-2011, 17:40
Replies:
16
Get cz bots to stop when shooting
Views:
2,625
Posted By
Xellath
Re: Get cz bots to stop when shooting
#include < amxmodx >
#include < hamsandwich >
#include < fun >
const m_pPlayer = 41;
public plugin_init( )
{
new WeaponName[ 32 ];
// no knifes, nades or c4
Forum:
Scripting Help
12-15-2011, 15:48
Replies:
7
memcpy() equivalent?
Views:
1,669
Posted By
Xellath
Re: memcpy() equivalent?
From what I gather from the first post, it seems he wants it to be a string. I could be wrong though.
Forum:
Scripting Help
12-15-2011, 15:42
Replies:
7
memcpy() equivalent?
Views:
1,669
Posted By
Xellath
Re: memcpy() equivalent?
Afraid there's no equivalent of memcpy() in the AMXX toolkit.
You could do something like this however:
new Input[ ] = { 3, 1, 3, 1, 3 };
new Output[ 6 ];
memcpy( Input, Output );
// Output:...
Forum:
Scripting Help
12-15-2011, 15:08
Replies:
2
pev(id, pev_velocity, velocity) | I'm confused
Views:
2,474
Posted By
Xellath
Re: pev(id, pev_velocity, velocity) | I'm confused
Not entirely sure what you're trying to accomplish...
Anyway, you're printing integers when the velocity is a floated number. %i -> %f
You should also store the value of fm_get_ent_speed in a...
Forum:
Scripting Help
12-15-2011, 14:59
Replies:
16
Get cz bots to stop when shooting
Views:
2,625
Posted By
Xellath
Re: Get cz bots to stop when shooting
You could try hooking Ham_Weapon_PrimaryAttack in both Pre (and set maxspeed to 0.1) and in Post (reset the maxspeed).
Forum:
Scripting Help
12-15-2011, 14:56
Replies:
13
How to hide this text?
Views:
2,531
Posted By
Xellath
Re: How to hide this text?
This is the Scripting Help board. I told you what you could do in order to achieve your goal; if you can't use the information I provided for you - post a request instead (in the Request section).
Forum:
Scripting Help
12-15-2011, 14:54
Replies:
1
Spawn entity light.
Views:
714
Posted By
Xellath
Re: Spawn entity light.
Set pev|EV_INT_effects to EF_BRIGHTLIGHT or make the entity think and send out a TE_DLIGHT temporary entity.
Showing results 1 to 25 of 500
Page 1 of 20
1
2
3
11
>
Last
»
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Server Discussion
Source Servers (SRCDS)
HL1 Servers (HLDS)
AMX Mod X
News
Bug Reports
General
Off-Topic
Plugins
Suggestions / Requests
Approved Plugins
New Plugin Submissions
Unapproved/Old Plugins
Translation Request
High-Traffic Plugins
GunGame
UAIO (Ultimate All-In-One Plugin)
xREDIRECT
CSDM
AMX Super
RuneMod
Zombie Plague Mod
SuperHero Mod
News
Tech Support
Scripting Help
Off-Topic / General Chat
Heroes
Suggestions / Requests
Approved Heroes
New Submissions
Unapproved/Old Heroes
Module Heroes
SuperHero Mod Stats - By 123
(OLD) Bug Reports
Scripting
Scripting Help
Code Snippets/Tutorials
Module Coding
Donor Access
SourceMod
News
General
Plugins
Plugins
Unapproved Plugins
Plugin/Gameplay Ideas and Requests
High-Traffic Plugins
SourceMod Anti-Cheat
Zombie:Reloaded
SourceBans / SourceBans++
VSH / Freak Fortress
Store
SM_Hosties
HLstatsX:CE
Scripting
Extensions
Snippets and Tutorials
Donor Access
Metamod: Source
Metamod:Source Plugins
Metamod:Source Questions
Coding MM:S Plugins & SM Extensions
Hosted Stuff
Asherkin's Plugins
TFDodgeball
TF2Items
SteamTools
Bail's Plugins
CSDM
CS:S DM
Off-Topic & Trash
Off-Topic
Trash
All times are GMT -4. The time now is
08:48
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode