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

Showing results 1 to 25 of 49
Search took 0.00 seconds.
Search: Posts Made By: LucasFromDK
Forum: Scripting 09-04-2017, 15:42
Replies: 1
Views: 1,101
Posted By LucasFromDK
weapon_reload invalid game event

Exception reported: Invalid game event handle 0 (error 4)

HookEvent( "weapon_reload", WeaponReload, EventHookMode_PostNoCopy )

public WeaponReload( Handle: event, const String: name[ ], bool:...
Forum: Scripting 09-04-2017, 12:30
Replies: 0
Views: 549
Posted By LucasFromDK
OnBanClient time output

OnBanClient outputs time like this: if a client is banned for 30 minutes it outputs "for 30.00 minutes", there is any method to output or convert the existing output to show only "30" without "for"...
Forum: Scripting 09-04-2017, 10:04
Replies: 4
Views: 969
Posted By LucasFromDK
Re: I need help with GetTime( )

Like this ?

int DateAndTime = GetTime( )
DateAndTime += 100
Forum: Scripting 09-04-2017, 09:51
Replies: 4
Views: 969
Posted By LucasFromDK
I need help with GetTime( )

How do i increase GetTime( ) with, let's say, 100 minutes ? Any example ?
Forum: Scripting 09-02-2017, 21:59
Replies: 4
Views: 921
Posted By LucasFromDK
Re: Questions about OnBanRemoved()

what about event server_removeban ? This will catch all unbans, i mean those from sourcemod and those who expires ?
Forum: Scripting 09-02-2017, 15:06
Replies: 4
Views: 921
Posted By LucasFromDK
Questions about OnBanRemoved()

This forward is called only when an admin is unbanning someone or is called everytime someone is unbanned ? If is not called everytime when someone is unbanned, there is any way to catch event when...
Forum: Scripting 08-28-2017, 17:56
Replies: 8
Views: 2,481
Posted By LucasFromDK
Re: csgo - ct team color

Chat processor has a bug where some players can see their enemy team chat.
Forum: Scripting 08-28-2017, 13:48
Replies: 8
Views: 2,481
Posted By LucasFromDK
Re: csgo - ct team color

Yes, a user's message color. And user's name.
Forum: Scripting 08-28-2017, 13:44
Replies: 8
Views: 2,481
Posted By LucasFromDK
Re: csgo - ct team color

Any example about how to make it work on OnClientSayCommand ? (if it's possible to work on that forward)
Forum: Scripting 08-28-2017, 13:23
Replies: 8
Views: 2,481
Posted By LucasFromDK
csgo - ct team color

What is the code for the color of counter-terrorists. Is not \x0B or \x0C both are blue but one is darker then that one and the other is lighter. Is not \x0D either.
Forum: Plugins 08-28-2017, 11:17
Replies: 351
Views: 256,652
Posted By LucasFromDK
Re: [Any] Chat-Processor (Replacement for Simple Chat Processor)

How can i check if the message is sent via say or say_team ?
Forum: Scripting 08-26-2017, 19:50
Replies: 0
Views: 787
Posted By LucasFromDK
Check if entity is locked

I lock entities using:
AcceptEntityInput( entity, "Lock" )

I tried to check if the entity is locked using this stock from smlib:
stock bool: Entity_IsLocked( entity ) {
return bool:GetEntProp(...
Forum: Scripting 12-15-2016, 14:26
Replies: 3
Views: 1,751
Posted By LucasFromDK
CS GO walking / running speed

It's possible to modify player's speed without affecting falling speed ?

I tryed:
SetEntPropFloat( client, Prop_Data, "m_flLaggedMovementValue", 1.2 )
it's walking and running faster but if i...
Forum: Scripting 12-13-2016, 16:36
Replies: 4
Views: 1,554
Posted By LucasFromDK
Getting Weapon name

/* Plugin Template generated by Pawn Studio */

#include <sourcemod>
#include <sdkhooks>
#include <sdktools>

public Plugin:myinfo = {
name = "OnWeaponSwitchPost WPN Test",
author =...
Forum: Scripting 12-05-2016, 09:58
Replies: 201
Views: 83,371
Posted By LucasFromDK
Re: [CS:GO] Hide new arms?

if i replace this:
new const String:ARMS_MODEL[] = "models/weapons/ct_arms_gign.mdl";

with:

new const String:ARMS_MODEL[] =...
Forum: Scripting 12-04-2016, 09:44
Replies: 5
Views: 1,416
Posted By LucasFromDK
Re: Say_Team chat CSGO

if( StrEqual( command, "say_team" ) ) ???
I don't get it man...
Forum: Scripting 12-04-2016, 07:23
Replies: 5
Views: 1,416
Posted By LucasFromDK
Re: Say_Team chat CSGO

It applyes to say_team as well ? How can i check if is say or say team on this forward ?
Forum: Scripting 12-03-2016, 07:46
Replies: 5
Views: 1,416
Posted By LucasFromDK
Say_Team chat CSGO

There is another way to hook say_team chat in csgo without using
RegConsoleCmd( "say_team", Command_BlaBla )
?
Forum: General 12-02-2016, 08:43
Replies: 7
Views: 2,200
Posted By LucasFromDK
Re: [CSGO] Custom Sounds wired problem

This solved my problem:
PrecacheSound( "*/customsounds/mysound.mp3" )

EmitSoundToAll( "*/customsounds/mysound.mp3" )
Forum: Scripting 11-30-2016, 05:09
Replies: 4
Views: 1,128
Posted By LucasFromDK
Re: Check chat triggers

i know...
public Action: HookSay( client, args ) {
decl String: ChatText[ 192 ]
GetCmdArgString( ChatText, sizeof( ChatText ) )

StripQuotes( ChatText )

//what next ? I can't use...
Forum: Scripting 11-30-2016, 04:48
Replies: 4
Views: 1,128
Posted By LucasFromDK
Check chat triggers

It's possible to check if a chat message begins with a chat trigger ?
Forum: Scripting 11-30-2016, 04:22
Replies: 4
Views: 1,281
Posted By LucasFromDK
Re: How to properly use GetAdminFlags ?

I'm trying to do something like this :
/* Plugin Template generated by Pawn Studio */

#include <sourcemod>


static const String: VipTypes[ ][ ] = {
"Gold VIP",
"Silver VIP",
"Bronze...
Forum: Scripting 11-29-2016, 11:16
Replies: 4
Views: 1,281
Posted By LucasFromDK
How to properly use GetAdminFlags ?

For example if i want to check if user flags are exactly "abcd" flags, how i can do that ?
Forum: Scripting 11-20-2016, 15:33
Replies: 8
Views: 1,292
Posted By LucasFromDK
about constants and strings...

I'm trying to create a plugin which checks the map name and if the map is in Maps[][] list to change it to a random one from LegalMaps[][] list.

static const String: Maps[][] = {
"de_dust2",...
Forum: Scripting 11-14-2016, 11:31
Replies: 9
Views: 2,167
Posted By LucasFromDK
Weapon on OnDamage event

public Action: OnDamage( victim, &attacker, &inflictor, &Float:damage, &damagetype ) {
decl String:sWeapon[ 64 ]
GetEdictClassname( inflictor, sWeapon, sizeof( sWeapon ) )

if( StrEqual(...
Showing results 1 to 25 of 49

 
Forum Jump

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


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