Rules
FAQ
Members List
Search
Register
Login
Raised This Month: $
Target: $400
0%
Search Forums
Show Threads
Show Posts
Advanced Search
Go to Page...
Page 1 of 4
1
2
3
>
Last
»
Showing results 1 to 25 of 81
Search took
0.03
seconds.
Search:
Posts Made By:
=MaTi=
Forum:
Scripting
11-06-2013, 13:38
Replies:
0
SetEntPropString fails
Views:
494
Posted By
=MaTi=
SetEntPropString fails
I have a weird problem with SetEntPropString. Here is what I'm trying to do:
GetEntPropString(edict, Prop_Data, "m_szAmmoName", buf, sizeof(buf)); // works
PrintToChatAll("Name: %s", buf);...
Forum:
Scripting
02-13-2010, 10:50
Replies:
1
[L4D2] Find gamemode
Views:
941
Posted By
=MaTi=
[L4D2] Find gamemode
In Left 4 Dead 1 we could just simply read mp_gamemode to get the server's gamemode (coop, versus, scavegne etc.). In Left 4 Dead 2 however, this command has been removed. Is there any other way to...
Forum:
Unapproved Plugins
02-10-2010, 08:47
Replies:
23
[L4D2] No Special Infected
Views:
42,431
Posted By
=MaTi=
Re: [L4D2] No Special Infected
Soloing Survival mode or infinite panic event. And I am sure that people would find more :wink:
Anyway, yes, the plugin was originally intended for campaign or survival mode, where there's no...
Forum:
Unapproved Plugins
02-09-2010, 20:57
Replies:
23
[L4D2] No Special Infected
Views:
42,431
Posted By
=MaTi=
[L4D2] No Special Infected
[L4D2] No Special Infected
Description:
Small and simple. This plugin allows you to prevent Special Infected from spawning and/or remove all existing Special Infected from the map. Although some...
Forum:
Scripting
02-03-2010, 16:32
Replies:
3
Converting Integer to Natural number
Views:
1,560
Posted By
=MaTi=
Re: Converting Integer to Natural number
new difference;
if(X > Y)
{
difference = X - Y;
}
else
{
difference = Y - X;
}
Forum:
Scripting
02-03-2010, 14:35
Replies:
7
[TF2] Fading the screen slightly darker
Views:
3,435
Posted By
=MaTi=
Re: [TF2] Fading the screen slightly darker
I remember when I needed something similar, and I wasn't sure how to do this. Could somebody please explain these two parts?
BfWriteShort(message, 1536);What does 1536 stand for?
Also:
...
Forum:
Scripting
02-03-2010, 14:10
Replies:
10
It is necessary to save parametre for the player for the period of session
Views:
2,356
Posted By
=MaTi=
Re: It is necessary to save parametre for the player for the period of session
Here is an example code, that accumulates all damage that a player recieved throughout the game. Remember, that OnClientDisconnect is called for every client on map change as well.
#include...
Forum:
Scripting
02-03-2010, 12:25
Replies:
10
It is necessary to save parametre for the player for the period of session
Views:
2,356
Posted By
=MaTi=
Re: It is necessary to save parametre for the player for the period of session
If I understand correctly, you want to assign a value to one of variables when a client connects to the server. The value would be changing as long as the client is in game, and when the client...
Forum:
Scripting
02-01-2010, 22:11
Replies:
2
Entity coordinates?
Views:
1,042
Posted By
=MaTi=
Re: Entity coordinates?
GetEntPropVector (http://docs.sourcemod.net/api/index.php?fastload=show&id=87&%3Cbr%20/%3E)
Example:
new Float:Pos[3];
GetEntPropVector(edict, Prop_Send, "m_vecOrigin", Pos);
Forum:
Scripting
02-01-2010, 11:51
Replies:
2
Problem with my first script
Views:
976
Posted By
=MaTi=
Re: Problem with my first script
You need to use events:
How to use events (http://wiki.alliedmods.net/Events_%28SourceMod_Scripting%29)
DOD:S win event (http://wiki.alliedmods.net/Day_of_Defeat:_Source_Events#dod_round_win)
Forum:
Scripting
01-30-2010, 19:43
Replies:
12
(Solved) GetClientAbsAngles problem
Views:
5,315
Posted By
=MaTi=
Re: (Solved) GetClientAbsAngles problem
This should work, as long as you have the alternative fire bound to mouse2 button, which is like that by default:
public Action:OnPlayerRunCmd(client, &buttons, &impulse, Float:vel[3],...
Forum:
Scripting
01-29-2010, 18:37
Replies:
5
access the funcommands
Views:
1,497
Posted By
=MaTi=
Re: access the funcommands
This is what you need: http://docs.sourcemod.net/api/index.php?fastload=show&id=454&
Forum:
Scripting
01-29-2010, 18:32
Replies:
10
Create Prop at Coordinates
Views:
4,112
Posted By
=MaTi=
Re: Create Prop at Coordinates
I had similar problem some time ago, check out this link:
http://forums.alliedmods.net/showthread.php?t=102638
Forum:
Scripting
01-28-2010, 07:31
Replies:
5
SourceMod Framework?
Views:
2,275
Posted By
=MaTi=
Re: SourceMod Framework?
Right-click on "Team Fortress 2 Dedicated Server", click on "Set launch options" and put in:
-console -game tf +sv_lan 1 +map koth_sawmill
You can change the startup settings to your liking. I...
Forum:
Scripting
01-23-2010, 18:33
Replies:
1
Change Cvar for specific person depending on what gun they are using
Views:
864
Posted By
=MaTi=
Re: Change Cvar for specific person depending on what gun they are using
The only thing that comes to my mind, is using SDKHook_WeaponSwitch from SDKHooks (http://forums.alliedmods.net/showthread.php?t=106748). Just detect what weapon client is trying to switch to, and...
Forum:
Scripting
01-20-2010, 05:27
Replies:
13
Sticky:
Yak's FAQs on Scripting
Views:
170,024
Posted By
=MaTi=
Re: Yak's FAQs on Scripting
#4 needs to be updated to use AddCommandListener ;)
Forum:
Scripting
01-18-2010, 16:02
Replies:
5
Client commands!
Views:
1,699
Posted By
=MaTi=
Re: Client commands!
Oh, I didn't know about that. Thanks!
Forum:
Scripting
01-18-2010, 14:52
Replies:
5
Client commands!
Views:
1,699
Posted By
=MaTi=
Re: Client commands!
So... You want the command to be usable by admins? If so, this code should work. I haven't tested it though.
public OnPluginStart()
{
RegConsoleCmd("say", Command_Say);
}
public...
Forum:
Scripting
01-17-2010, 12:47
Replies:
16
help, Count of hits in players and output to the panel
Views:
3,842
Posted By
=MaTi=
Re: help, damage_dods round end & SendPanelToClient()
You can use a loop to browse through all the players.
public OnPluginStart()
{
HookEvent("dod_round_win",RoundWinEvent);
}
public RoundWinEvent(Handle:event, const String:name[],...
Forum:
Scripting
01-17-2010, 02:34
Replies:
6
Help with my script!Need to fix a 217 loose identation error
Views:
1,793
Posted By
=MaTi=
Re: Help with my script!Need to fix a 217 loose identation error
For SourcePawn scripting I recommend PawnStudio. But it's a matter of preference. :wink:
Forum:
Scripting
01-16-2010, 22:00
Replies:
16
help, Count of hits in players and output to the panel
Views:
3,842
Posted By
=MaTi=
Re: help, damage_dods round end & SendPanelToClient()
Here you have all the events for DOD:S http://wiki.alliedmods.net/Day_of_Defeat:_Source_Events
For round end, I would suggest using dod_round_win ...
Forum:
Scripting
01-16-2010, 21:55
Replies:
6
Help with my script!Need to fix a 217 loose identation error
Views:
1,793
Posted By
=MaTi=
Re: Help with my script!Need to fix a 217 loose identation error
In this case I don't think it matters that it isn't in amxx section ;)
What rhelgeby is trying to say, is that you need to use the same amount of tabs or spaces to indent your code, and never mix...
Forum:
Scripting
01-15-2010, 20:36
Replies:
7
One time Timer
Views:
1,785
Posted By
=MaTi=
Re: One time Timer
They do. Just kill them at the end of each round.
EDIT: If player can respawn before the end of the round, you should also kill the timer when he dies.
Forum:
Scripting
01-15-2010, 16:55
Replies:
7
No Block at spawn
Views:
2,435
Posted By
=MaTi=
Re: No Block at spawn
g_offsCollisionGroup = FindSendPropOffs("CBaseEntity", "m_CollisionGroup");
new DefaultCollisionGroup = GetEntData(entity, g_offsCollisionGroup);
SetEntData(entity, g_offsCollisionGroup, 2, 4,...
Forum:
Scripting
01-15-2010, 16:42
Replies:
7
No Block at spawn
Views:
2,435
Posted By
=MaTi=
Re: No Block at spawn
Use GetEntData to find the value of g_offsCollisionGroup before changing it with SetEntData. When you want to turn collision back on, set g_offsCollisionGroup back to it's default value.
Showing results 1 to 25 of 81
Page 1 of 4
1
2
3
>
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
01:56
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode