Raised This Month: $ Target: $400
 0% 

Showing results 1 to 15 of 15
Search took 0.01 seconds.
Search: Posts Made By: kuuichi
Forum: Snippets and Tutorials 11-25-2016, 03:52
Replies: 2
Views: 2,005
Posted By kuuichi
Re: Hacker gamemode

CPS_RemoveSkin(client);
CPS_SetSkin(client, model, CPS_RENDER);
int skin = CPS_GetSkin(client);

So all of that was redundant and could've been one line?

I made this a little while ago so I'm...
Forum: Snippets and Tutorials 11-24-2016, 19:42
Replies: 2
Views: 2,005
Posted By kuuichi
Hacker gamemode

Hey guys! I tried to make a new gamemode at one point and I figured I would post the source here if anyone wants to play with the code - it kind of works I think? (not really)

This was from last...
Forum: Scripting 06-28-2016, 18:36
Replies: 10
Views: 1,879
Posted By kuuichi
Re: Problem with starting Bartime

Oh man I'm retarded...

Yeah I called it the copy operator because I didn't know what it was called but I knew it copied the bits that are on both sides. :lol:

idk what an ampersand is
Forum: Scripting 06-28-2016, 16:15
Replies: 10
Views: 1,879
Posted By kuuichi
Re: Problem with starting Bartime

Ahh I see, thanks for clarifying! You can accomplish this with ArrayLists (https://sm.alliedmods.net/new-api/adt_array/ArrayList) - they are basically dynamically sized arrays that you can store...
Forum: Scripting 06-28-2016, 15:55
Replies: 7
Views: 4,705
Posted By kuuichi
Re: Push ArrayList in ArrayList

I'm great!

In your LoadMessages() function, I don't think (not sure though) you need GoToFirstSubKey(), I think it's implicit that calling GotoNextKey() for the first time will send you to the...
Forum: Scripting 06-28-2016, 14:40
Replies: 10
Views: 1,879
Posted By kuuichi
Re: Problem with starting Bartime

I just realized what you were trying to do in your original response, I couldn't understand what you were trying to accomplish at first but now I understand.

Right now what your code does is send...
Forum: Scripting 06-28-2016, 14:07
Replies: 10
Views: 1,879
Posted By kuuichi
Re: Problem with starting Bartime

I had a typo in my response - I accidentally wrote GetEntityMoveType instead of GetEntityMoveType(client)
Forum: Scripting 06-28-2016, 13:43
Replies: 10
Views: 1,879
Posted By kuuichi
Re: Problem with starting Bartime

if (!(GetEntityMoveType(client) & MOVETYPE_WALK))

& is the *edit* and bitwise operator - you need to have some sort of conditional in the if statement for the code block to be executed. Right now...
Forum: Scripting 06-28-2016, 12:21
Replies: 7
Views: 4,705
Posted By kuuichi
Re: Push ArrayList in ArrayList

What is iMessageCount? If you're just using iMessageCount to count the number of indices in aMessagesList, why not use just the aMessagesList.Length property?

I'm also confused relationally where...
Forum: Scripting 06-27-2016, 19:29
Replies: 1
Views: 535
Posted By kuuichi
Re: [Help] Setting Engineer Limit

Instead of this:
if(ClientCount >= 5)
EngiLimit = 1;
if(ClientCount >= 10)
EngiLimit = 2;
if(ClientCount >= 15)
EngiLimit = 3;
if(ClientCount >= 20) ...
Forum: Scripting 06-27-2016, 12:22
Replies: 0
Views: 402
Posted By kuuichi
[CSGO] How to block game messages?

I'm talking specifically about the game messages that spam
" >> Game will start when warmup has ended. "

I've tried hooking into game_message as well as server_message but setting the "text"...
Forum: Scripting 06-26-2016, 20:15
Replies: 1
Views: 533
Posted By kuuichi
Is r_drawothermodels an existing ConVar?

ConVar cv_drawOtherModels = FindConVar("r_drawothermodels");
cv_drawOtherModels.ReplicateToClient(client, "2");

The above is just pseudo code but whenever I try to apply this cvar to a player it...
Forum: Scripting 05-30-2016, 14:30
Replies: 1
Views: 765
Posted By kuuichi
How to apply specific cvars to clients

I'm trying to apply cheat cvars to specific clients

I've looked at the ReplicateToClient() method but I'm not sure how to use it. It takes two params, client ID and a String value. Should I be...
Forum: Scripting 05-26-2016, 21:25
Replies: 3
Views: 1,209
Posted By kuuichi
Re: Skype help for a noob? (asking for general help)

Added you! Thanks a lot



Ahh I see, makes sense. I used my own variable names in the method declaration which explains why SourceMod wasn't picking it up. Thanks!
Forum: Scripting 05-26-2016, 17:46
Replies: 3
Views: 1,209
Posted By kuuichi
Skype help for a noob? (asking for general help)

Hey guys! I'm new to SourcePawn and CS:GO scripting but I do have some, albeit little knowledge of programming. I was just wondering if there was anyone willing to maybe have a Skype chat (I prefer...
Showing results 1 to 15 of 15

 
Forum Jump

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


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