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

Showing results 1 to 13 of 13
Search took 0.00 seconds.
Search: Posts Made By: PsychoAlex
Forum: Scripting 07-04-2010, 04:27
Replies: 8
Views: 2,318
Posted By PsychoAlex
Re: Halting Health Regen

Checked my log files and it would appear that i'm getting an invalid array index:


new Handle:zClass;
new Handle:sClass;
new Handle:ChosenClass;

public OnPluginStart()
{
...
Forum: Scripting 07-03-2010, 14:57
Replies: 8
Views: 2,318
Posted By PsychoAlex
Halting Health Regen

Hi, I am writing asm plugin for a game that has health regeneration. The maxhealth function does not work with this mod. To get around this I am changing the health manualy working on a timer. I've...
Forum: Scripting 01-16-2010, 06:17
Replies: 4
Views: 2,175
Posted By PsychoAlex
Re: Problems Changing Player Model

Really? Damn, oh well. Thanks for enlightening me to that. Kind sucks though, a load of people running around without head could be pretty funny
Forum: Scripting 01-15-2010, 20:26
Replies: 4
Views: 2,175
Posted By PsychoAlex
Re: Problems Changing Player Model

Thanks for that, it's stopped the crashes.

However, for some reason my code isn't actually changing the players model.

PrintToChatAll("Start Class Check");
if (TF2_GetPlayerClass(target)...
Forum: Scripting 01-15-2010, 20:12
Replies: 4
Views: 2,175
Posted By PsychoAlex
Problems Changing Player Model

I am having a problem changing the model of the players class

SetEntityModel(target, "models/player/hwm/demoman.mdl");

this is an example of one of my model change code lines. The error I get...
Forum: Scripting 11-25-2009, 10:41
Replies: 9
Views: 2,610
Posted By PsychoAlex
Re: Setting Maximum Health For Mod That Has Health Reagen

It is not my mod, It is for generic Modifications that have health regeneration. Therefore it needs to be a generic solution. Workarounds may be an inefficient way of coding but quite often are the...
Forum: Scripting 11-25-2009, 09:03
Replies: 9
Views: 2,610
Posted By PsychoAlex
Re: Setting Maximum Health For Mod That Has Health Reagen

A Source Mod, as in a modification game on the Source Engine. It is the game that has the regeneration, therefore I do not know how it works. This should not matter however as there is usualaly a...
Forum: Scripting 11-24-2009, 19:25
Replies: 9
Views: 2,610
Posted By PsychoAlex
Re: Setting Maximum Health For Mod That Has Health Reagen

This is not really helping my problem here, all your doing is stating completely unrelated ideas that will not help mw with my problem.

Let me re-iterate, I want to change the max health of a...
Forum: Scripting 11-24-2009, 15:23
Replies: 9
Views: 2,610
Posted By PsychoAlex
Re: Setting Maximum Health For Mod That Has Health Reagen

I meant Source Mod as in as modification to the source engine, not an already exixting plugin
Forum: Scripting 11-24-2009, 14:50
Replies: 9
Views: 2,610
Posted By PsychoAlex
Setting Maximum Health For Mod That Has Health Reagen

Hi, I'm trying to set the maximum health for a sourcemod that has health regeneration. So far I've tried two methods to achieve this:

1) Set the health of the player using SetEntityHealth() and...
Forum: Scripting 11-17-2009, 15:01
Replies: 2
Views: 2,191
Posted By PsychoAlex
Re: entity model check?

I believe the partner Function is(at least regarding players) GetClientModel() (http://docs.sourcemod.net/api/index.php?fastload=show&id=424&)
Forum: Scripting 11-17-2009, 14:08
Replies: 2
Views: 1,205
Posted By PsychoAlex
Re: Use Of Functions

Thanks for that, it now compiles fine, just got to hope that it actually works in game now. I'll get back when i've tested it :)
Forum: Scripting 11-17-2009, 13:36
Replies: 2
Views: 1,205
Posted By PsychoAlex
Use Of Functions

Hi this code is designed to count the number of players of a custom class by comparing their weapon in slot 3, which is always unique to the class. The two teams also have some different weapons for...
Showing results 1 to 13 of 13

 
Forum Jump

All times are GMT -4. The time now is 11:30.


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