Monthly Target: $400 Donations: $166
 41% 

Showing results 1 to 25 of 500
Search took 0.07 seconds.
Search: Posts Made By: 11530
Forum: Scripting 08-15-2015, 18:43
Replies: 16
Views: 338
Posted By 11530
Re: javascript eval funciton

Just don't use strings.


new Skill[MAXPLAYERS+1][2]; //Array to hold 2 skills for every client

for (new i = 0; i < 2; i++)
{
Skill[Client][i]++;
}
Forum: Scripting 08-13-2015, 16:10
Replies: 16
Views: 338
Posted By 11530
Re: javascript eval funciton

Why do you want this? What's the greater goal you are hoping to achieve?
Forum: Scripting 08-12-2015, 18:28
Replies: 5
Views: 111
Posted By 11530
Re: Command when Round 6

Please remember to reset the variable upon starting a new game (or similar).
Forum: Approved Plugins 08-11-2015, 20:33
Replies: 565
Views: 169,644
Posted By 11530
Re: [ANY] Resize Players - 1.5.1 - 2014/11/20

I'll see what I can add to the sm_resize_damage ConVar for you.



Still works for me. Have you checked your sm_resize_backstab ConVar?
Forum: Scripting 08-06-2015, 16:20
Replies: 5
Views: 161
Posted By 11530
Re: buffer on showmotd panel

#define URL_FORMAT "https://steamcommunity.com/profiles/{PROFILE}"
//...
ReplaceStringEx(FinalURL, sizeof(FinalURL), "{PROFILE}", steamID64);
Forum: New Plugins 07-25-2015, 11:35
Replies: 13
Views: 3,445
Posted By 11530
Re: Bug with goldstocks plugin

More like removed because there are better ways to do this now which don't require installing another plugin into the mix.
Forum: Scripting 06-24-2015, 19:31
Replies: 2
Views: 70
Posted By 11530
Re: sm_setspawn help

First, you need to change the Event_TeamsChange signature to match what's expected for an event (as opposed to a command). Same for the timer, which doesn't have a name parameter. Also ensure you...
Forum: Scripting 06-15-2015, 20:18
Replies: 7
Views: 297
Posted By 11530
Re: Edit plugin

Remove forward OnPluginStart(); in your first post.
Forum: Scripting 06-15-2015, 16:47
Replies: 7
Views: 297
Posted By 11530
Re: Edit plugin

Don't forget to use %N instead of GetClientName and %s.


public Event_PlayerDeath(Handle:event, const String:name[], bool:dontBroadcast)
{
new victim = GetClientOfUserId(GetEventInt(event,...
Forum: General 06-10-2015, 17:58
Replies: 3
Views: 236
Posted By 11530
Re: Plugin debug/monitoring cpu/ram usage

I'm too lazy/tired to generate my own .xml file, but opening a random one from the forums works with the current profiler fine.
Forum: General 06-09-2015, 16:32
Replies: 3
Views: 236
Posted By 11530
Re: Plugin debug/monitoring cpu/ram usage

You'd want the SourceMod Profiler (https://wiki.alliedmods.net/SourceMod_Profiler) to test any and all plugins for performance.
Forum: Scripting 06-09-2015, 16:29
Replies: 4
Views: 123
Posted By 11530
Re: Get cvar value

new Handle:g_hCvarGravity = FindConVar("sv_gravity");

new iGravity;
if (g_hCvarGravity != INVALID_HANDLE)
{
iGravity = GetConVarInt(g_hCvarGravity);
}


There's also GetConVarBool...
Forum: Scripting 06-09-2015, 15:59
Replies: 1
Views: 102
Posted By 11530
Re: Steamworks CheckGroupStatus?

bool:SteamWorks_GetUserGroupStatus(client, groupid); - Source (https://github.com/KyleSanderson/SteamWorks/blob/master/Pawn/includes/SteamWorks.inc)
Forum: General 06-08-2015, 16:10
Replies: 1
Views: 93
Posted By 11530
Re: [TF2]Any idea where can i find a set team name plugin?

This? [TF2] Customizable Team Names v1.0.3 (https://forums.alliedmods.net/showthread.php?t=225505)
Forum: Approved Plugins 06-08-2015, 16:05
Replies: 1,942
Views: 785,713
Posted By 11530
Re: Advertisements 0.6 (Updated 2013/03/08)

[ANY] Simple Welcome Message 1.2 (https://forums.alliedmods.net/showthread.php?p=880791)
Forum: Scripting 06-03-2015, 16:26
Replies: 5
Views: 167
Posted By 11530
Re: AdminTag.sp error compile

Remove return 0 from OnPluginStart() and rename the callback to something other than "Event" (this is a type in SourcePawn).
Forum: Snippets and Tutorials 05-31-2015, 19:52
Replies: 12
Views: 1,096
Posted By 11530
Re: Compile plugins easily in Notepad++

Nope. Mine doesn't complain if the file already exists. It just overwrites it silently.
Forum: Snippets and Tutorials 05-31-2015, 07:37
Replies: 12
Views: 1,096
Posted By 11530
Re: Compile plugins easily in Notepad++

Seems a bit overly large, I just use this in NppExec and it will compile from everywhere and anywhere too, placing the .smx next to the .sp. I just hit Ctrl+Shift+C and done. Bind to whatever you...
Forum: Scripting 05-25-2015, 19:15
Replies: 11
Views: 323
Posted By 11530
Re: [TF2] Attrib 186

I had assumed this his failed attempt to use "the number in userdata" (Steam3) would mean it was something other than Steam3. That's why I suggested something else.. But looks like OP was wrong in...
Forum: Scripting 05-25-2015, 08:47
Replies: 11
Views: 323
Posted By 11530
Re: [TF2] Attrib 186

They say account_id so I'd try the SteamID64 version, e.g. 76561197960287930.
You can get this with GetClientAuthId(client, AuthId_SteamID64, yourstring, sizeof(yourstring)). The number you already...
Forum: General 04-12-2015, 08:27
Replies: 9
Views: 358
Posted By 11530
Re: Suggestion for SM

I guess its proper name is the Conditional Operator. Ternary is just an adjective to say it takes three operands, in the same way that +/-/* are binary and ++/-- are unary.

Granted that SourcePawn...
Forum: General 04-01-2015, 16:36
Replies: 14
Views: 599
Posted By 11530
Re: WTH ! upsidedown ???

I'm still recovering from last year's equine take over.
Forum: General 03-22-2015, 16:29
Replies: 4
Views: 127
Posted By 11530
Re: Remove Permante Ban

Askerkin, said remove the unban flag.
Forum: Scripting 03-17-2015, 12:07
Replies: 1
Views: 99
Posted By 11530
Re: DBI, need function SQL_GetQueryString

Not sure if that exists, but the error parameter in the callback should provide sufficient information if something goes wrong.
Forum: Approved Plugins 03-17-2015, 09:36
Replies: 638
Views: 175,370
Posted By 11530
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 05:51.


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