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

Showing results 1 to 25 of 55
Search took 0.00 seconds.
Search: Posts Made By: Lolz123
Forum: Scripting 01-18-2018, 01:51
Replies: 20
Views: 3,277
Posted By Lolz123
Re: Problem with compilation

As he said, change GetPlayerSpeed[client] to GetPlayerSpeed(client).

PrintHintText(client, "<font size='16'><font color='#006699'>[Klasa: <b>%s</b>]</font>\n<font color='#666699'>[Prędkość:</font>...
Forum: Scripting 01-17-2018, 15:44
Replies: 4
Views: 1,210
Posted By Lolz123
Re: Entities inputs\outputs

Also, is there a better way to restart an "info_particle_system" entity instead of killing it and creating it again, so it'll repeat after the effect ends?
Like an input or something that can do...
Forum: Scripting 01-17-2018, 15:31
Replies: 4
Views: 1,210
Posted By Lolz123
Re: Entities inputs\outputs

Then I'll just change it to use a normal timer and I believe the problem will be solved.
Didn't knew it's better to use an actual timer, but if you say so I doubled the reward.
But what if I create...
Forum: Scripting 01-17-2018, 12:10
Replies: 4
Views: 1,210
Posted By Lolz123
Entities inputs\outputs

HookSingleEntityOutput(entity, "OnUser1", OnGrenadeThink);

SetVariantString("OnUser2 !self:FireUser1::0.5:-1");

AcceptEntityInput(entity, "AddOutput");
AcceptEntityInput(entity, "FireUser2");...
Forum: Scripting 05-26-2017, 03:00
Replies: 1
Views: 805
Posted By Lolz123
Creating a he grenade and detonate it

I'm using this code to spawn a grenade.

int entity = CreateEntityByName("hegrenade_projectile");

SetEntProp(entity, Prop_Data, "m_takedamage", 2);
SetEntProp(entity, Prop_Data, "m_iMaxHealth",...
Forum: Source Servers (SRCDS) 03-17-2017, 15:46
Replies: 4
Views: 1,621
Posted By Lolz123
Re: [CSGO] Server crashes after killing a teammate

It might be one of the plugins, but its gonna be a mess to find which one since they are all connected with natives. If any of you who understands the details that the crash accelerator gives and can...
Forum: Source Servers (SRCDS) 03-17-2017, 08:30
Replies: 4
Views: 1,621
Posted By Lolz123
Forum: Source Servers (SRCDS) 03-16-2017, 08:11
Replies: 4
Views: 1,621
Posted By Lolz123
[CSGO] Server crashes after killing a teammate

Crash ID: QI63-USCZ-HZI6
https://crash.limetech.org/qi63usczhzi6

Meta List:
[01] SourceMod (1.8.0.5976) by AlliedModders LLC
[02] CS Tools (1.8.0.5967) by AlliedModders LLC
[03] SDK...
Forum: Scripting 02-17-2017, 06:29
Replies: 7
Views: 1,950
Posted By Lolz123
Re: Player Load Time

float g_fTime[MAXPLAYERS + 1];

public bool OnClientConnect(int client, char[] rejectmsg, int maxlen)
{
g_fTime[client] = GetGameTime();
}

public void OnClientPutInServer(int client)
{...
Forum: Scripting 01-29-2017, 15:32
Replies: 8
Views: 1,549
Posted By Lolz123
Re: Get random char with more chances to biggest char

Maybe you will understand this example better:

char letters[][] = { "a", "A", "A" };

PrintToChat(client, letters[GetRandomInt(0, sizeof(letters))]);

There is a bigger chance to get 'A' as...
Forum: Scripting 01-29-2017, 12:05
Replies: 1
Views: 1,210
Posted By Lolz123
Modulo a float?

Im trying to do this:

float fTimeLeft = (g_fStartGameTime + 3.0) - GetGameTime();

if(fTimeLeft % 1.0 == 0)
{
// Play a sound
}

PrintToChatAll("%.1f seconds left", fTimeLeft);
Forum: Scripting 01-27-2017, 09:39
Replies: 1
Views: 1,121
Posted By Lolz123
Re: CSGO - Connecnt/Disconnect message Add reason

Use this to hook disconnect with a reason.


public void OnPluginStart()
{
HookEvent("player_disconnect", Event_PlayerDisconnect, EventHookMode_Pre);
}

public Action...
Forum: SourceBans / SourceBans++ 01-03-2017, 04:52
Replies: 4
Views: 1,554
Posted By Lolz123
Re: Sourcebans - Could not connect to server

The server is online, with players playing in it.
Forum: SourceBans / SourceBans++ 01-03-2017, 04:35
Replies: 4
Views: 1,554
Posted By Lolz123
Re: Sourcebans - Could not connect to server

There are no errors\any log related to the sourcebans in the server.
Forum: SourceBans / SourceBans++ 01-02-2017, 14:02
Replies: 4
Views: 1,554
Posted By Lolz123
Sourcebans - Could not connect to server

I have a sourceban web with 12 servers added and everything seems to work fine.
Lately, one of the servers is disconnecting after a few hours.
Instead of showing the server hostname on the website...
Forum: Scripting 11-07-2016, 15:10
Replies: 6
Views: 2,550
Posted By Lolz123
Re: Global KeyValue

Thank you! :)
Forum: Scripting 11-07-2016, 06:59
Replies: 6
Views: 2,550
Posted By Lolz123
Re: Global KeyValue

It goes like that:

#pragma semicolon 1

#include <sourcemod>

#pragma newdecls required

KeyValues g_kvRequests;
Forum: Scripting 11-06-2016, 07:43
Replies: 6
Views: 2,550
Posted By Lolz123
Global KeyValue

I've created a global KeyValue which is being used when a player types a command.

My question is if a few players are typing the command together, does the key value functions will scramble...
Forum: Scripting 08-12-2015, 06:10
Replies: 3
Views: 3,075
Posted By Lolz123
Re: [CSGO] Open the chat box (messagemode)

OK, thanks for answering!
Forum: Scripting 08-12-2015, 05:28
Replies: 3
Views: 3,075
Posted By Lolz123
[CSGO] Open the chat box (messagemode)

Is it possible to open the chat box for a client?

For example:
] bind y
"y" = "messagemode"

im trying to do:
ClientCommand( client, "messagemode" );

also tried
Forum: Off-Topic 07-18-2015, 18:38
Replies: 28
Views: 32,704
Posted By Lolz123
Re: I have open-sourced most of my plugins (including mY.RuN plugins)

I've never commented in this forum, but now i must to!
Thank you very much xPaw!
Lots of respect :)
Forum: Scripting 06-13-2015, 10:54
Replies: 2
Views: 1,674
Posted By Lolz123
Forum: Scripting 06-12-2015, 08:18
Replies: 2
Views: 1,674
Posted By Lolz123
[CSGO] How to set different friction for each player?

How do i set different friction for each player?

already tried
SetEntPropFloat(client, Prop_Send, "m_flFriction", 0.15);
SetEntPropFloat(client, Prop_Data, "m_flFriction", 0.15);

but it's not...
Forum: New Plugin Submissions 03-10-2012, 04:59
Replies: 32
Views: 29,755
Posted By Lolz123
Forum: Scripting Help 03-05-2012, 10:37
Replies: 9
Views: 1,827
Posted By Lolz123
Showing results 1 to 25 of 55

 
Forum Jump

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


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