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

Showing results 1 to 24 of 24
Search took 0.01 seconds.
Search: Posts Made By: Grzyboo
Forum: Scripting 08-04-2019, 16:06
Replies: 1
Views: 1,586
Posted By Grzyboo
new syntax consts

How do i declare const arrays in the "new" syntax?



new const String:CONST_STRING_1[] = "models/1.mdl"; // compiles
const char[] CONST_STRING_2 = "models/2.mdl"; // error 001:...
Forum: General 07-28-2019, 12:44
Replies: 2
Views: 1,365
Posted By Grzyboo
Re: [SM BUG] Enum struct bugged method that returns bool

Must've had an old compiler version. Using newer compiler fixed the bug.
Thanks.
Forum: General 07-28-2019, 11:16
Replies: 2
Views: 1,365
Posted By Grzyboo
[SM BUG] Enum struct bugged method that returns bool

Game: CS:GO
SM version: 1.10.0.6392
MM version: 1.11.0-dev+1127

So, basically after spending a significant amount of time on finding the bug in code I've realized that a method for enum struct...
Forum: Scripting 07-25-2019, 19:16
Replies: 0
Views: 996
Posted By Grzyboo
Negative min bound height

nvm, solidity mins and maxs are inherited from the model attached to entity. Changing properties m_vecMins and m_vecMaxs don't affect the "real" size.

Use prop_dynamic_override in order to change...
Forum: Scripting 06-23-2019, 11:58
Replies: 1
Views: 1,216
Posted By Grzyboo
Re: Laser curvature?

AFAIK, no way to achieve curvature. However, you can draw beam points in steps and make it look like it's curved.

It was done like this in this plugin...
Forum: Scripting 04-24-2019, 08:23
Replies: 3
Views: 1,644
Posted By Grzyboo
[CS:GO] Entity with gravity

Hey, I want to create an entity with custom model and I need it to be affected by gravity. (bounce on ground impact and vertical velocity change over time).

I've tried prop_dynamic, doesn't seem...
Forum: Snippets and Tutorials 04-14-2019, 08:02
Replies: 6
Views: 3,573
Posted By Grzyboo
Re: [INC] Vector helpers

stock void VectorRotate(float vec[3], const float matrix[3][3])
{
vec[0] = GetVectorDotProduct(vec, matrix[0]);
vec[1] = GetVectorDotProduct(vec, matrix[1]);
vec[2] = GetVectorDotProduct(vec,...
Forum: Source Servers (SRCDS) 01-12-2017, 08:36
Replies: 50
Views: 31,519
Posted By Grzyboo
[CS:GO] Host_Error: CL_ReadPreserveEnt: u.m_nNewEntity == MAX_EDICTS

Host_Error: CL_ReadPreserveEnt: u.m_nNewEntity == MAX_EDICTS
This message is haunting me.

It kicks me from my own dedicated server. It started happening after some of the updates, because I...
Forum: Scripting 01-12-2017, 08:23
Replies: 2
Views: 867
Posted By Grzyboo
Put player on the ground

Game is CS:GO

I need to drop player to the ground. Any function that would calculate the distance between player and the floor?
Forum: Scripting 12-21-2016, 16:19
Replies: 5
Views: 1,274
Posted By Grzyboo
Re: Getting a string from user

Okay, so maybe other words. An user clicks something in the menu. Let's say menu looks like this:

What is the capital city of USA?
1. Answer
2. Another question

If user clicks 1 it should...
Forum: Scripting 12-21-2016, 15:59
Replies: 5
Views: 1,274
Posted By Grzyboo
Re: Getting a string from user

I don't really know what you are talking about. The game is Counter-Strike:Global Offensive. Guess that's not the kind of game you mentioned.
Forum: Scripting 12-21-2016, 14:08
Replies: 5
Views: 1,274
Posted By Grzyboo
Getting a string from user

Hi, I want to get String from user. How to do it in SourceMod? What I'm interested in is when user clicks something in a menu some kind of textbox appears where user can write anything he/she wants....
Forum: Scripting 09-26-2016, 13:39
Replies: 4
Views: 1,605
Posted By Grzyboo
Methodmaps - what's that?

Hello, I'm new to SourcePawn and I'm quite confused with methodmaps. So basically, if you compare it to "real" programming, are they interfaces with implementation (Only methods) or classes (Can...
Forum: General 09-25-2016, 15:33
Replies: 7
Views: 5,631
Posted By Grzyboo
Re: [CS:GO] Installing SM on local server

I was clicking some different things and changing some things and it finally worked. Thanks for encouraging me to try dedicated server once more :)
These warnings in console still exist and i think...
Forum: General 09-24-2016, 20:51
Replies: 7
Views: 5,631
Posted By Grzyboo
Re: [CS:GO] Installing SM on local server

srcds -game csgo -console -usercon +game_type 0 +game_mode 1 +map de_dust2 +sv_setsteamaccount <My GSLT> -net_port_try 1

I didn't mention it, because I read that there were some problems with my...
Forum: General 09-24-2016, 19:46
Replies: 7
Views: 5,631
Posted By Grzyboo
Re: [CS:GO] Installing SM on local server

Shouldn't be hard. I agree. Shouldn't is a keyword here. I followed both tutorials:
https://developer.valvesoftware.com/wiki/Counter-Strike:_Global_Offensive_Dedicated_Servers...
Forum: General 09-24-2016, 09:32
Replies: 7
Views: 5,631
Posted By Grzyboo
[CS:GO] Installing SM on local server

https://wiki.alliedmods.net/Installing_SourceMod_(simple)
So, it's written here:

Does by default and not recommended mean that somehow I can install SM on CS:GO listen server?

I need it to...
Forum: Unapproved/Old Plugins 02-21-2015, 12:00
Replies: 9
Views: 10,483
Posted By Grzyboo
Short Nade - Right click throw like in CS:GO

Some time ago I wrote this plugin. Haven't found anything like that.

Description
Basically, people who play CS:GO should know what I mean.
If you have a grenade in your hand and throw it with...
Forum: Trash 01-07-2014, 14:15
Replies: 0
Views: 515
Posted By Grzyboo
delete please

Bad subforum, please delete
Forum: Scripting Help 12-25-2013, 17:41
Replies: 10
Views: 1,667
Posted By Grzyboo
Re: top player index

public top()
{
new TopFrags;
new TopId;

for(new i=1; i<=get_maxplayers(); ++i)
{
if(!is_user_connected(i)) continue;

new Frags = get_user_frags(i);
Forum: Scripting Help 12-25-2013, 07:50
Replies: 1
Views: 724
Posted By Grzyboo
Circular motion

Hello, i need to make kind of circular motion. I just want to keep the distance between 2 entities and change one's origins. I have no idea how to do such thing.

Are there any functions that could...
Forum: Scripting Help 12-14-2013, 05:34
Replies: 3
Views: 876
Posted By Grzyboo
Re: [HELP] Problem with origin?

Hmm, i'm not sure what you're asking for, but you found a good thing.
Origin[2] is player's vertical position. It's a float, so you have to use
Origin[2] += 300.0;
before
entity_set_origin(Ent,...
Forum: Scripting Help 12-14-2013, 05:24
Replies: 2
Views: 1,285
Posted By Grzyboo
Re: SOLID_TRIGGER to SOLID_BBOX

Hey, it's all about it!
The point is that i have to resize entity every time i change it's solidity. It isn't like this if you use SOLID_NOT. Really, thanks for suggestion.
Forum: Scripting Help 12-13-2013, 16:50
Replies: 2
Views: 1,285
Posted By Grzyboo
SOLID_TRIGGER to SOLID_BBOX

Hello, I have a huge problem connected with changing entity solidity. I can convert an entity from BBOX to TRIGGER, but not conversely.
Even such code makes entity SOLID_TRIGGER:

...
Showing results 1 to 24 of 24

 
Forum Jump

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


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