Raised This Month: $ Target: $400
 0% 

Showing results 1 to 18 of 18
Search took 0.00 seconds.
Search: Posts Made By: WhOoKie93
Forum: Scripting 04-30-2018, 17:56
Replies: 3
Views: 1,409
Posted By WhOoKie93
Re: [CS:GO] KvGotoFirstSubKey not working?

I want to get all the keys first, and later get the value of the key. But thanks, that helps!
Forum: Scripting 04-30-2018, 17:44
Replies: 3
Views: 1,409
Posted By WhOoKie93
[CS:GO] KvGotoFirstSubKey not working?

I have the config file:

"levels"
{
//"identifier" "name"
"0" "Some name"
"1" "Some other name"
}
Forum: Scripting 03-28-2018, 12:27
Replies: 1
Views: 998
Posted By WhOoKie93
Documentation for all SDKHooks?

So from what I've heard, different mods have different arguments in the SDKHook callbacks.
Like, from what I've heard, in CS:GO the &inflictor doesnt contain the weapon in SDKHook_TraceAttack, but...
Forum: Scripting 03-17-2018, 13:41
Replies: 12
Views: 5,365
Posted By WhOoKie93
Re: Sound not being Precache

So what did you do in the end?
What made it work?
Just 'cos I have the same issue right now and can't get it fixed in CSGO.
Forum: Scripting 03-09-2018, 06:13
Replies: 1
Views: 683
Posted By WhOoKie93
[CSGO] Make the weapons you have on you invisible

How do I make the weapons a player is carrying with him invisible?
I came across this thread: https://forums.alliedmods.net/archive/index.php/t-92335.html
but after trying it it only makes the...
Forum: Scripting 03-09-2018, 01:41
Replies: 6
Views: 1,402
Posted By WhOoKie93
Re: [CSGO] Get the coordinates of the point a player is aiming at

Yea, it was a fault on my side. Didnt read the Ex at the end.
Also I think it should be RayType_EndPoint to get the end coordinates, right?

EDIT:
Nevermind, I found it out. Appearently it...
Forum: Scripting 03-08-2018, 00:56
Replies: 6
Views: 1,402
Posted By WhOoKie93
Re: [CSGO] Get the coordinates of the point a player is aiming at

stock bool TraceRayFilter(int entity, int mask, any client) {
if (0 < entity && entity <= MaxClients) {
return false;
}
return true;
}


I used the filter mentioned above with a...
Forum: Scripting 03-07-2018, 15:55
Replies: 6
Views: 1,402
Posted By WhOoKie93
Re: [CSGO] Get the coordinates of the point a player is aiming at

How come this line throws a tag mismatch?
Handle hTrace = TR_TraceRayFilter(pos, dir, MASK_SOLID, RayType_Infinite, TraceRayFilter);
Is it because it takes const float[3] and I pass in float[3]?
...
Forum: Scripting 03-07-2018, 12:43
Replies: 6
Views: 1,402
Posted By WhOoKie93
[CSGO] Get the coordinates of the point a player is aiming at

I need to get the coordinates of the point a player is aiming at.
I found the function GetClientAimTarget() but that seems to only retrieve the entity index.
But I need to get precise coordinates...
Forum: Scripting 09-11-2017, 13:00
Replies: 8
Views: 1,574
Posted By WhOoKie93
Re: [CS:GO] Change players cash

And on a round_end event I can set the money awarded?
Forum: Scripting 09-11-2017, 12:50
Replies: 8
Views: 1,574
Posted By WhOoKie93
Re: [CS:GO] Change players cash

As you might see from the sourcecode, I am trying to add money on a CS_TerminateRound call.
I want to give the winning team $800 and the losing team $3000 (iBUYPOWER?) but without allowing the round...
Forum: Scripting 09-11-2017, 12:42
Replies: 8
Views: 1,574
Posted By WhOoKie93
Re: [CS:GO] Change players cash

This is my whole sourcecode.
Its in a very early stage, so CVars, settings and all that will be added later.
Its not very well documented, but I hope you can still read it.
I left most...
Forum: Scripting 09-11-2017, 12:30
Replies: 8
Views: 1,574
Posted By WhOoKie93
Re: [CS:GO] Change players cash

I did look at that plugin, didnt help me that much.
Thats what I mean, CSGO doesnt have some enities or functions needed in that script.
For example the function FindSendPropOffs("CSGOPlayer",...
Forum: Scripting 09-11-2017, 11:48
Replies: 8
Views: 1,574
Posted By WhOoKie93
[CS:GO] Change players cash

I am developing a plugin, that changes the amount of money a player recieves based on another plugins action.

But how do I get which client has how much money, and how do I assign money to it or...
Forum: Scripting Help 09-08-2017, 18:57
Replies: 7
Views: 1,149
Posted By WhOoKie93
Re: [CS:GO] Best way to store a specific Client Index globally

Well, that helped.
And that new syntax actually made it way easier.
Thanks!
Forum: Scripting Help 09-08-2017, 18:14
Replies: 7
Views: 1,149
Posted By WhOoKie93
Re: [CS:GO] Best way to store a specific Client Index globally

Sorry, I didn''t know there were different forum types.



What exactly do you mean by that?
So like, I got by now that "new-style declaration" has nothing to do with the keyword "new".
But...
Forum: Scripting Help 09-08-2017, 17:52
Replies: 7
Views: 1,149
Posted By WhOoKie93
Re: [CS:GO] Best way to store a specific Client Index globally

I have tried:


new CTT; // Fails with Error 147: new-style declarations are required
public new CTT; // Fails with Error 122: expected type expression
const new CTT; // Fails with Error 122:...
Forum: Scripting Help 09-08-2017, 15:12
Replies: 7
Views: 1,149
Posted By WhOoKie93
[CS:GO] Best way to store a specific Client Index globally

I am trying to store the client index of 2 specific clients, one from CT, one from T.
I need those two variables to be accessable globally, so I can access them if different events occur.
I was...
Showing results 1 to 18 of 18

 
Forum Jump

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


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