Raised This Month: $63 Target: $400
 15% 

Showing results 1 to 25 of 56
Search took 0.03 seconds.
Search: Posts Made By: Dreamy
Forum: Plugin/Gameplay Ideas and Requests 04-08-2012, 07:57
Replies: 56
Views: 7,926
Posted By Dreamy
Re: [Any] Allow Admins to spectate the other team

Dude look for yourself, the only difference is:
PrintToChat(this, "Hook fired");

if(!DHookGetReturn(hReturn))
{
PrintToChat(this, "Change return!");
}

This has nothing to do with...
Forum: General 04-07-2012, 17:34
Replies: 1
Views: 389
Posted By Dreamy
Re: [req]mods

All in One (http://www.sourcemod.net/plugins.php) -.^
Forum: General 04-07-2012, 14:54
Replies: 12
Views: 2,135
Posted By Dreamy
Re: Run command on steam id on join

so you concluded that from this sentence?

ofc the plugin and the way to do this seems very trivial, but I learned to wait until i exactly know what sb. wants.
saves so much time :O
Forum: General 04-07-2012, 14:18
Replies: 12
Views: 2,135
Posted By Dreamy
Re: Run command on steam id on join

u gotta be more precise with ur questions:
how many steamids (more like 5-10 or 1000-10000)?
which commands (static amount or dynamic)?
Forum: Plugin/Gameplay Ideas and Requests 03-23-2012, 09:51
Replies: 14
Views: 3,083
Posted By Dreamy
Re: How can i do this?

http://forums.alliedmods.net/showthread.php?p=607043
Forum: Plugin/Gameplay Ideas and Requests 03-22-2012, 20:14
Replies: 9
Views: 2,036
Posted By Dreamy
Re: [REQ] CS:S Hide admin spectators list

alternative: http://forums.alliedmods.net/showthread.php?p=725328
Forum: Scripting 03-21-2012, 17:44
Replies: 9
Views: 1,065
Posted By Dreamy
Re: help

PrintToConsole?
Forum: Plugin/Gameplay Ideas and Requests 03-21-2012, 16:51
Replies: 56
Views: 7,926
Posted By Dreamy
Re: [Any] Allow Admins to spectate the other team

first of all fudgepoly should investigate the problem of his server crashing when using dhooks...
wrote him this a couple of days ago:

#include <sourcemod>
#include <dhooks>

new...
Forum: Scripting 03-19-2012, 18:14
Replies: 21
Views: 6,409
Posted By Dreamy
Re: Run a server command for 5 rounds

ding ding ding..



we are hooking the ingame event "round_start" which is fired.. wait for it.. once per round ;O
in the callback of that hook we add 1 to a global variable with the name...
Forum: Scripting 03-19-2012, 18:01
Replies: 21
Views: 6,409
Posted By Dreamy
Re: Run a server command for 5 rounds

^^ that will execute the command for 6 rounds.

public Event_RoundStart(Handle:event, const String:name[], bool:dontBroadcast)
{
if (++Rounds <= 5)
ServerCommand("exec my_config.cfg");
}
Forum: Scripting 03-18-2012, 13:24
Replies: 6
Views: 1,142
Posted By Dreamy
Re: [code structure] Point of view @ manual + automatic processing

since you are coding that plugin for others, you should rather ask yourself if the stupidest users can handle 3 different files ;P

edit: like necavi id go for 3, then 2, then 4, def not 1. or...
Forum: Scripting 03-16-2012, 14:37
Replies: 6
Views: 2,054
Posted By Dreamy
Re: Youtube MotD

great idea, I can even set when the video should stop playin if I embedded it in a html page..
so I just throw the page on the server and do it like this? :

ShowMOTDPanel(client, "Youtube:",...
Forum: Plugin/Gameplay Ideas and Requests 03-16-2012, 14:18
Replies: 56
Views: 7,926
Posted By Dreamy
Re: [Any] Allow Admins to spectate the other team

haha really thought about taking your awesome extension (did it with sdkhooks b4 but hooking playerthink kinda felt wrong)..
+i didnt know how to get those offsets..

dammit its only in alpha, but...
Forum: Scripting 03-15-2012, 22:25
Replies: 6
Views: 2,054
Posted By Dreamy
Re: Youtube MotD

ty vm! according to psychonic's dynamic motd plugin you can simply hook "closed_htmlpage".. ill try that out tmr!
Forum: Scripting 03-15-2012, 22:13
Replies: 42
Views: 4,111
Posted By Dreamy
Forum: Scripting 03-15-2012, 20:16
Replies: 6
Views: 2,054
Posted By Dreamy
Youtube MotD

so if a client closes the motd panel I send to him using:
ShowMOTDPanel(client, "Youtube:", <myYoutubeLink>, MOTDPANEL_TYPE_URL);

the youtube vid keeps playing in the background.. how to prevent...
Forum: Plugin/Gameplay Ideas and Requests 03-15-2012, 14:13
Replies: 56
Views: 7,926
Posted By Dreamy
Re: [Any] Allow Admins to spectate the other team

final code, just ~120 lines and working smoothly on css (for me).. can sb test it on other games as well pls? =)
Forum: Plugin/Gameplay Ideas and Requests 03-14-2012, 20:54
Replies: 56
Views: 7,926
Posted By Dreamy
Re: [Any] Allow Admins to spectate the other team

set mp_forcecamera 0 and try this:
#pragma semicolon 1
#include <sourcemod>

#define FFADE_IN 0x0001
#define FFADE_OUT 0x0002
#define FFADE_STAYOUT 0x0008
#define...
Forum: Plugin/Gameplay Ideas and Requests 03-14-2012, 14:42
Replies: 56
Views: 7,926
Posted By Dreamy
Forum: Plugin/Gameplay Ideas and Requests 03-14-2012, 14:05
Replies: 56
Views: 7,926
Posted By Dreamy
Re: [Any] Allow Admins to spectate the other team

**lets remove our posts so others dont see our buggy code anymore
and while we are at it, lets make it appear like somebody explicitly told us to remove them**
Forum: Plugin/Gameplay Ideas and Requests 03-14-2012, 13:19
Replies: 56
Views: 7,926
Posted By Dreamy
Re: [Any] Allow Admins to spectate the other team

nah there was a reason why I created a timer.. :P

but its actually quite simple with sdkhooks:
#include <sourcemod>
#include <sdkhooks>

public OnPluginStart()
HookEvent("player_death",...
Forum: Plugin/Gameplay Ideas and Requests 03-14-2012, 12:55
Replies: 56
Views: 7,926
Posted By Dreamy
Re: [Any] Allow Admins to spectate the other team

*post removed.
coz im maaaaad!
Forum: Scripting 03-13-2012, 19:29
Replies: 42
Views: 4,111
Posted By Dreamy
Re: Odd SourcePawn "feature"?

if (Condition)
if (otherCondition)
callSomething();
else
if (yetAnotherCondition)
callSomethingElse();

if (Condition)
{
if (otherCondition)
Forum: Scripting 03-13-2012, 19:04
Replies: 42
Views: 4,111
Posted By Dreamy
Re: Odd SourcePawn "feature"?

any experienced coder would say that:
if (a > b)
b = 1;

is way better than
if (a > b)
{
b = 1;
}
Forum: Plugin/Gameplay Ideas and Requests 03-13-2012, 18:36
Replies: 56
Views: 7,926
Posted By Dreamy
Re: [Any] Allow Admins to spectate the other team

ye no fail post afterall xD thought u can still see the radar after the fade, which apparently is NOT the case ;)

here it is:
#include <sourcemod>

#define FFADE_OUT 0x0002
#define...
Showing results 1 to 25 of 56

 
Forum Jump

All times are GMT -4. The time now is 20:08.


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