Raised This Month: $12 Target: $400
 3% 

Showing results 1 to 25 of 96
Search took 0.01 seconds.
Search: Posts Made By: Walgrim
Forum: Plugins 04-14-2023, 05:21
Replies: 0
Views: 1,850
Posted By Walgrim
[TF2] Old Sandman Bonk! (v1.1, 2023-04-14)

Old Sandman Bonk!

Description:

This plugin brings back Bonk! on Sandman (so before Jungle Inferno Update) on TF2.
I made a first version in 2017 here...
Forum: Plugins 03-23-2021, 12:27
Replies: 0
Views: 1,754
Posted By Walgrim
[TF2] (Dodgeball) Godmode 1vs1 (1.0, 2022-04-07)

Godmode 1vs1

Description:
This plugin disables damages in a 1vs1 (enabled automatically and disabled only if players joins Blu/Red team).
It's usually made for server owners using the dodgeball...
Forum: Scripting 08-11-2018, 06:25
Replies: 1
Views: 701
Posted By Walgrim
Re: disable default game sounds

Hope this is helpful: https://forums.alliedmods.net/showthread.php?t=189957
Forum: Snippets and Tutorials 08-10-2018, 18:19
Replies: 13
Views: 3,956
Posted By Walgrim
Re: SQLite Helper

He's talking of all the double slashes you are using instead of
/* */
Forum: Scripting 08-09-2018, 12:08
Replies: 12
Views: 1,854
Posted By Walgrim
Re: SQLite set multiple values

If I'm not wrong you want to set the playtime of a player using timestamp?
Forum: Scripting 08-09-2018, 11:23
Replies: 12
Views: 1,854
Posted By Walgrim
Re: SQLite set multiple values

If you want to get the timestamp, use the GetTime() function.
https://sm.alliedmods.net/new-api/sourcemod/GetTime
Forum: Scripting 12-10-2017, 07:33
Replies: 6
Views: 1,699
Posted By Walgrim
Re: CS:GO HUD player death PROBLEM !!!

Works great for me, tell me if you see it in the middle, replace
SetHudTextParams(1.0, 0.5, 9999.0, 100, 0, 255, 71);
by
SetHudTextParams(-1.0, -1.0, 9999.0, 100, 0, 255, 71);
Forum: Scripting 12-10-2017, 07:03
Replies: 6
Views: 1,699
Posted By Walgrim
Re: CS:GO HUD player death PROBLEM !!!

Try this:
#include <sourcemod>

static Handle HudText = null;

public void OnPluginStart() {
HudText = CreateHudSynchronizer();
HookEvent("player_death", OnPlayerDeath, EventHookMode_Pre);...
Forum: Scripting 12-10-2017, 05:41
Replies: 6
Views: 1,699
Posted By Walgrim
Re: CS:GO HUD player death PROBLEM !!!

ShowSyncHudText(attacker, hudtext,_tmp3);
replace it by
ShowSyncHudText(client, hudtext,_tmp3);
Forum: Scripting 12-09-2017, 15:24
Replies: 5
Views: 2,339
Posted By Walgrim
Re: [CS:GO]Hud text

He wanted to know how to create a hudsynchronizer and show the hud text during 10 seconds:
#include <sourcemod>
#pragma newdecls required

static Handle HudText = null;

public void...
Forum: Scripting 11-26-2017, 13:40
Replies: 13
Views: 2,596
Posted By Walgrim
Re: Name of client in PrintHintTextToAll

Well I post mine too, even if people are faster than me :^)
#include <sourcemod>
#define REQUESTHEAL "#heal"

Handle Delay[MAXPLAYERS+1] = null;
int TimerCount[MAXPLAYERS+1];

public...
Forum: Scripting 11-17-2017, 14:33
Replies: 8
Views: 1,394
Posted By Walgrim
Re: [ZR] Is there a way to fix this ?

Hoi, I did that, hope it will help
#include <sourcemod>
#include <sdkhooks>

public OnPluginStart() {
HookEvent("player_death", EventPlayerDeath, EventHookMode_Pre);
}

public Action...
Forum: Scripting 11-14-2017, 07:40
Replies: 4
Views: 1,177
Posted By Walgrim
Re: Create timer

Oh ok, thanks for explaining, didn't know that too :^)
Forum: Scripting 11-13-2017, 16:27
Replies: 4
Views: 1,177
Posted By Walgrim
Re: Create timer

Hey,
public void OnClientPutInServer(int client)
{
CreateTimer(7.0, CallVote, GetClientSerial(client));
}

public Action:CallVote(Handle:Timer, client) {
//Do your stuff
}
Forum: Scripting 11-13-2017, 16:24
Replies: 4
Views: 1,159
Posted By Walgrim
Re: Using ClientCommand in a timer?

Hey,
You can use EmitSoundToClient (https://sm.alliedmods.net/new-api/sdktools_sound/EmitSoundToClient)to do that :^)
Forum: Scripting 11-12-2017, 08:57
Replies: 12
Views: 3,603
Posted By Walgrim
Re: How can i fix this Array index is out of bounds? :/

Not sure but, here you use a String.

new String:rank[64];
SB_GetChatRank(author, rank, sizeof(rank)); // Line 999

And here a char, why? I mean, why not just using a string too?
public void...
Forum: TF2Items 11-11-2017, 07:45
Replies: 2
Views: 6,320
Posted By Walgrim
Re: Sandman Ball

Hey, I don't think there's a way to set the old bonk with tf2items (in tf2items.weapons.txt).
If you really want to get the bonk back you can use the plugin I did if you want:
#include <sourcemod>...
Forum: Scripting 08-07-2017, 05:19
Replies: 2
Views: 638
Posted By Walgrim
Re: set a ghost on player

You can try to see a bit in these plugins how it works maybe:
https://forums.alliedmods.net/showthread.php?p=1692661
https://forums.alliedmods.net/showthread.php?t=129735
Forum: Scripting 06-09-2017, 12:49
Replies: 13
Views: 2,448
Posted By Walgrim
Re: Error when adding entry to admin menu

Yeah they should but some don't lol
Forum: Scripting 06-09-2017, 07:52
Replies: 13
Views: 2,448
Posted By Walgrim
Re: Error when adding entry to admin menu

This error means that you made a mistake with the basic function.
If you used the latest compiler of sourcemod, and you tried the code of this tutorial, it will make an error like that.
Since this...
Forum: Scripting 06-09-2017, 06:14
Replies: 13
Views: 2,448
Posted By Walgrim
Re: Error when adding entry to admin menu

See that here : https://sm.alliedmods.net/new-api/topmenus/TopMenu/TopMenu

The tutorial is old so the syntax may changed. (Maybe)
Just look at the new api when you have an error like that.
Forum: Scripting 06-09-2017, 04:40
Replies: 7
Views: 1,468
Posted By Walgrim
Re: Stopping sounds for all players not working

Hoi,
Try this
public void OnPluginStart()
{
CreateTimer(1.0, StopSounds, _, TIMER_REPEAT);
}

public Action StopSounds(Handle timer)
{
for(new i=1;i<=MaxClients;i++)
Forum: Scripting 06-06-2017, 09:09
Replies: 18
Views: 2,957
Posted By Walgrim
Re: Help with plugin

Just look at the sp of some spawnprotections, you can make your own spawnprotect by taking example on the others.
Forum: Scripting 06-06-2017, 07:38
Replies: 18
Views: 2,957
Posted By Walgrim
Re: Help with plugin

He didn't ask for that I think ? (Not really sure :3)



But by the way, why don't you use something like a spawnprotection?
Forum: Scripting 06-06-2017, 05:20
Replies: 3
Views: 1,099
Posted By Walgrim
Re: [TF2] Change death message at the top corner

Sure, no problem so, here's the solution :


#include <sourcemod>
#include <sdkhooks>

public Plugin:myinfo =
{
name = "[TF2] Death rocket",
author = "Walgrim",
Showing results 1 to 25 of 96

 
Forum Jump

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


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