Rules
FAQ
Members List
Search
Register
Login
Raised This Month: $32
Target: $400
8%
Page 1 of 12
1
2
3
11
>
Last
»
Showing results 1 to 25 of 296
Search took
0.01
seconds.
Search:
Posts Made By:
mcpan313
Forum:
Scripting
10-28-2013, 13:54
Replies:
7
What is enum?
Views:
3,835
Posted By
mcpan313
Re: What is enum?
enum EnumZombieClass
{
Hunter = 0,
Boomer = 1,
}
#define NAME_LENGTH 32
enum EnumZombieProp
{
String:Name[NAME_LENGTH],
Forum:
Source Servers (SRCDS)
08-18-2013, 20:21
Replies:
4
CSGO how to edit end round vote map list
Views:
4,463
Posted By
mcpan313
Re: CSGO how to edit end round vote map list
https://forums.alliedmods.net/attachment.php?attachmentid=124465
Forum:
Scripting
08-08-2013, 16:07
Replies:
12
[L4D] SDKHooks No Damage?
Views:
2,759
Posted By
mcpan313
Re: [L4D] SDKHooks No Damage?
new bool:g_bLateload;
public APLRes:AskPluginLoad2(Handle:myself, bool:late, String:error[], err_max)
{
g_bLateload = late;
return APLRes_Success;
}
public OnPluginStart()
{
if...
Forum:
Scripting
07-24-2013, 12:57
Replies:
8
[CSGO] SDKCalls
Views:
2,289
Posted By
mcpan313
Re: [CSGO] SDKCalls
// PrintToChat(client, "ammo=%i/%i (max:%i)", GetWeaponPrimaryAmmo(client), GetWeaponSecondaryAmmo(client), GetWeaponAmmoMax(client));
stock GetWeaponPrimaryAmmo(client, weapon=0)
{
if (!weapon...
Forum:
Scripting
07-24-2013, 11:07
Replies:
8
[CSGO] SDKCalls
Views:
2,289
Posted By
mcpan313
Re: [CSGO] SDKCalls
Working fine.
Forum:
Scripting
07-24-2013, 10:24
Replies:
5
[TF2]Send message to URL
Views:
2,211
Posted By
mcpan313
Re: [TF2]Send message to URL
774436 :bee:
Forum:
Scripting
07-24-2013, 10:19
Replies:
8
[CSGO] SDKCalls
Views:
2,289
Posted By
mcpan313
Re: [CSGO] SDKCalls
// PrintToChat(client, "ammo=%i/%i", GetWeaponPrimaryAmmo(client), GetWeaponSecondaryAmmo(client));
stock GetWeaponPrimaryAmmo(client, weapon=0)
{
if (!weapon &&
(weapon =...
Forum:
Scripting
07-24-2013, 09:23
Replies:
8
[CSGO] SDKCalls
Views:
2,289
Posted By
mcpan313
Re: [CSGO] SDKCalls
Have you try this cvar? ammo_338mag_max ammo_357sig_max ammo_45acp_max ammo_50AE_max ammo_556mm_box_max ammo_556mm_max ammo_57mm_max ammo_762mm_max ammo_9mm_max ammo_buckshot_max
Forum:
Scripting
07-23-2013, 04:26
Replies:
8
Need help to print online admins to chat
Views:
1,855
Posted By
mcpan313
Re: Need help to print online admins to chat
public OnPluginStart()
{
AddCommandListener(CommandListener_Say, "say");
AddCommandListener(CommandListener_Say, "say_team");
}
public Action:CommandListener_Say(client, const...
Forum:
Scripting
07-23-2013, 04:05
Replies:
5
[TF2]Send message to URL
Views:
2,211
Posted By
mcpan313
Re: [TF2]Send message to URL
'
Required Socket Extension (https://forums.alliedmods.net/showthread.php?t=67640)
/**
* triggered if get ip location.
*
* @param location ip location.
* @param data data...
Forum:
Scripting
07-22-2013, 06:07
Replies:
5
[TF2]Send message to URL
Views:
2,211
Posted By
mcpan313
Re: [TF2]Send message to URL
This webapi charset = gbk, not utf8, results is unreadable.
Forum:
Scripting
07-10-2013, 06:07
Replies:
10
SQL_FetchString, problem, or?
Views:
2,543
Posted By
mcpan313
Re: SQL_FetchString, problem, or?
public OnClientAuthorized(client, const String:auth[])
{
if (IsFakeClient(client))
{
return;
}
decl String:szQuery[256];
FormatEx(szQuery, sizeof(szQuery),
Forum:
Scripting
07-10-2013, 00:53
Replies:
6
Error 006: Must be assigned to an array
Views:
5,012
Posted By
mcpan313
Re: Error 006: Must be assigned to an array
new Handle:g_hMapList;
new String:g_szNextMap[64];
public OnPluginStart()
{
g_hMapList = CreateArray(64);
PushArrayString(g_hMapList, "arena_lumberyard");
PushArrayString(g_hMapList,...
Forum:
General
07-01-2013, 02:56
Replies:
2
[CSGO] Hide cash gain message
Views:
1,609
Posted By
mcpan313
Re: [CSGO] Hide cash gain message
Hook TextMsg usermsg, and block it.
Example
public OnPluginStart()
{
HookUserMessage(GetUserMessageId("TextMsg"), MsgHook_AdjustMoney, true);
}
public...
Forum:
Snippets and Tutorials
06-19-2013, 21:41
Replies:
44
Determine a Client's OS
Views:
18,710
Posted By
mcpan313
Re: Determine a Client's OS
Nice job, very useful! :)
Forum:
Scripting
06-07-2013, 21:55
Replies:
3
Regexing/Extracting info from ServerCommandEx
Views:
1,489
Posted By
mcpan313
Re: Regexing/Extracting info from ServerCommandEx
#include <regex>
stock GetStatsInfo()
{
decl String:buffer[256];
ServerCommandEx(buffer, sizeof(buffer), "stats");
new Handle:re =...
Forum:
Scripting
06-04-2013, 03:00
Replies:
12
CS_RespawnPlayer Problem :/
Views:
2,993
Posted By
mcpan313
Re: CS_RespawnPlayer Problem :/
Yes.
The timer ends (via Plugin_Stop or being a one-time timer that is finished) (http://wiki.alliedmods.net/Handles_(SourceMod_Scripting)#Timers)
Forum:
Scripting
05-30-2013, 22:19
Replies:
10
ServerClass names?
Views:
2,190
Posted By
mcpan313
Re: ServerClass names?
Change SourceTV name?
Forum:
Scripting
05-30-2013, 22:16
Replies:
10
Random map locations
Views:
2,439
Posted By
mcpan313
Re: Random map locations
I suggest you use it
http://hg.alliedmods.net/cssdm/file/.../dm_preset_spawns.sp (http://hg.alliedmods.net/cssdm/file/tip/scripting/dm_preset_spawns.sp)
Forum:
Scripting
05-30-2013, 11:53
Replies:
10
Random map locations
Views:
2,439
Posted By
mcpan313
Re: Random map locations
Maybe, but most of the time starts from the underground, you can test it.
Forum:
Scripting
05-30-2013, 05:38
Replies:
10
Random map locations
Views:
2,439
Posted By
mcpan313
Re: Random map locations
native Float:GetRandomFloat (http://docs.sourcemod.net/api/index.php?fastload=show&id=95&)(Float:fMin=0.0, Float:fMax=1.0);
My mistake. this range is not 0.0 to 1.0
stock...
Forum:
Scripting
05-23-2013, 23:59
Replies:
4
Script to re-launch warmup
Views:
1,228
Posted By
mcpan313
Re: Script to re-launch warmup
Oops! I didn't notice this command :bacon::bacon::bacon:
mp_warmup_start
mp_warmup_end
Forum:
Scripting
05-23-2013, 22:10
Replies:
8
I cant seem to get this working
Views:
1,373
Posted By
mcpan313
Re: I cant seem to get this working
#include <sourcemod>
new String:g_SteamId[32] = "STEAM_0:0:42468081";
public OnClientAuthorized(client, const String:auth[])
{
if (IsFakeClient(client))
{
// Ignore bots
return;
Forum:
Scripting
05-23-2013, 21:15
Replies:
4
Script to re-launch warmup
Views:
1,228
Posted By
mcpan313
Re: Script to re-launch warmup
#pragma semicolon 1
#include <sdktools>
public OnPluginStart()
{
RegServerCmd("dowarmup", SrvCmd_DoWarmup, "dowarmup <time>, 0 = instant");
}
public Action:SrvCmd_DoWarmup(args)
Forum:
Scripting
05-21-2013, 06:36
Replies:
3
Entity Name ?
Views:
849
Posted By
mcpan313
Re: Entity Name ?
GetEdictClassname(ent, ent_name, sizeof(ent_name)); (http://docs.sourcemod.net/api/index.php?fastload=show&id=65&)
and your code need
public OnStartTouch(ent, client)
{
decl...
Showing results 1 to 25 of 296
Page 1 of 12
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
22:35
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode