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

Showing results 1 to 25 of 289
Search took 0.01 seconds.
Search: Posts Made By: Frus
Forum: Plugin/Gameplay Ideas and Requests 08-28-2010, 03:40
Replies: 8
Views: 4,365
Posted By Frus
Re: [HELP] Making Public SM Commands (Admin Only)

You will need a plugin to block +/- commands.

And you will most likely only be able to block commands that the server uses, not the client. So things that change graphics or sound settings, etc....
Forum: Plugin/Gameplay Ideas and Requests 08-05-2010, 12:17
Replies: 5
Views: 2,122
Posted By Frus
Forum: Scripting 04-21-2010, 10:59
Replies: 3
Views: 2,680
Posted By Frus
Re: [L4D2] Removing dead survivor bodies

I don't think l4d2's dead bodies are ragdolls...

I'd honestly be very surprised if they were classed as such, even moreso if the classname is 'cs_ragdoll'.
Forum: Scripting 04-16-2010, 15:07
Replies: 20
Views: 4,310
Posted By Frus
Re: No -1 frag on suicide

leonardo said it, if you're running estools it would cause it.
Forum: Plugins 04-03-2010, 05:14
Replies: 96
Views: 97,765
Posted By Frus
Re: [L4D2] Weapon Drop

Actually it just doesn't let you select that slot, you have to remove all your weapons before you go into civ mode. (It's not even really civ mode like in other source games, if you remember pausing...
Forum: Scripting 04-03-2010, 03:45
Replies: 6
Views: 2,637
Posted By Frus
Re: [L4D2] Capture tank dying before its dead

check the team and zombieclass netprop ;)

Isn't there a tank_incapacitated event, or am I crazy?
Forum: General 04-02-2010, 14:11
Replies: 11
Views: 9,960
Posted By Frus
Re: L4D2 Sm_cvar?

You have to explicitely change cvars, they won't default by themselves if that's what you're asking.

I would recommend using sm_resetcvar <cvar> when 'defaulting' cvars though.
Forum: Plugin/Gameplay Ideas and Requests 04-02-2010, 10:58
Replies: 1
Views: 906
Posted By Frus
Re: [L4D2] Request for plugins

Tsunami's advertisements plugin

and

Downtown1's left4downtown extension and ready up plugin. (Just disable the ready up part)
Forum: Scripting 03-08-2010, 15:08
Replies: 19
Views: 4,476
Posted By Frus
Re: Client Connect Public function

By 'after' I quite literally mean immediately after :S (the next line)
Forum: Scripting 03-08-2010, 13:03
Replies: 19
Views: 4,476
Posted By Frus
Re: Client Connect Public function

add this after you get the client number

if (!client) return Plugin_Continue;
Forum: Unapproved Plugins 02-24-2010, 08:38
Replies: 375
Views: 124,241
Posted By Frus
Re: [L4D2] Standardized Revamp Structure 1.0 RTW

This is effectively random for both teams. Since Entity IDs are not consistent across rounds you are giving both teams different locations of medkits.

The proper way to implement such a feature...
Forum: Scripting 02-02-2010, 10:06
Replies: 4
Views: 1,307
Posted By Frus
Re: what is wrong?

new constraint = EntRefToEntIndex(CreateEntityByName("phys_constraint"));

CreateEntityByName returns an entity index, not an entity reference.
Forum: Scripting 02-01-2010, 12:00
Replies: 2
Views: 2,628
Posted By Frus
Re: How to find Offsets??? (L4D2)

The vast majority of them are the same as l4d1: http://wiki.alliedmods.net/Category:Game_Resources

use sm_dump_datamaps and sm_dump_netprops on a server with sm loaded to get the latest l4d2 ones.
Forum: Coding MM:S Plugins & SM Extensions 02-01-2010, 11:06
Replies: 3
Views: 1,984
Posted By Frus
Re: Interrogate map entities

FindEntityByClassname only gives you the entity index, and it is best suited to be iterated through.

Main link: http://docs.sourcemod.net/api/index.php?fastload=show&id=43&

as an example...
Forum: Scripting 02-01-2010, 10:39
Replies: 6
Views: 2,157
Posted By Frus
Re: Player connecting

if (IsClientConnected(client) && !IsClientInGame(client))

I would expect does what you want in your final question.

But I would expect these forwards would be the most helpful to you:
...
Forum: Scripting 02-01-2010, 10:24
Replies: 5
Views: 1,260
Posted By Frus
Re: Control server by say commands > map change

I would use the built in command api for it.

#include <sourcemod>

public OnPluginStart()
{
RegConsoleCmd("sm_smap", PublicMapChange);
}

public Action:PublicMapChange(client, args)
Forum: General 02-01-2010, 10:15
Replies: 10
Views: 24,321
Posted By Frus
Re: L4D 2 cvar list? (need help removing medkits)

http://forums.alliedmods.net/showthread.php?t=115929
Forum: Scripting 02-01-2010, 10:07
Replies: 5
Views: 1,260
Posted By Frus
Re: Control server by say commands > map change

http://wiki.alliedmods.net/Overriding_Command_Access_%28SourceMod%29
Forum: Scripting 02-01-2010, 10:02
Replies: 5
Views: 1,260
Posted By Frus
Re: Control server by say commands > map change

You know all sm_ commands automatically have chat triggers right?

You can type in chat any of the following (The same idea works for every sm_ command):
!map <map>
!sm_map <map>
or the private...
Forum: Scripting 01-31-2010, 17:02
Replies: 12
Views: 4,190
Posted By Frus
Re: error 22: Maximum number of parameters reached

The wiki describes it differently than what you claim, and my limited use of translations has worked fine using the wiki as a guide.
...
Forum: Plugin/Gameplay Ideas and Requests 01-31-2010, 12:37
Replies: 2
Views: 1,122
Posted By Frus
Re: TF2: Respawn timers dependant on player population?

http://forums.alliedmods.net/showthread.php?p=590466
Forum: Scripting 01-31-2010, 11:22
Replies: 12
Views: 4,190
Posted By Frus
Re: error 22: Maximum number of parameters reached

When using %T don't you need to specify the client/server to use the language from? I thought you usually use %t for things like printhinttext.
Forum: Unapproved Plugins 01-30-2010, 16:48
Replies: 375
Views: 124,241
Posted By Frus
Re: [L4D2] Standardized Revamp Structure 1.0 RTW

RTW IS the (sub)version.

RC1 -> RC2 -> RTW.

The current cevo config uses RTW as well.
Forum: Unapproved Plugins 01-30-2010, 16:32
Replies: 375
Views: 124,241
Posted By Frus
Forum: Scripting 01-30-2010, 13:06
Replies: 30
Views: 11,589
Posted By Frus
Re: #define string in string

String:DoSomething(maxlen) {
decl String:buffer[maxlen];
FormatEx(buffer,maxlen,"blabla");

return buffer;
}

Shouldn't that work?
Showing results 1 to 25 of 289

 
Forum Jump

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


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