Raised This Month: $ Target: $400

Showing results 1 to 11 of 11
Search took 0.00 seconds.
Search: Posts Made By: Tilex
Forum: Scripting 05-30-2020, 10:31
Replies: 4
Views: 432
Posted By Tilex
Re: Check if player is within entity range.

Hey there,

I haven't worked with props before, but I think you shouldn't be creating a prop with a name, if you are looking for a prop that already exists. Not sure, how the function deals with...
Forum: Scripting 05-30-2020, 06:55
Replies: 2
Views: 279
Posted By Tilex
Re: entity_prop_stocks binds

I'd say these are the left and the right ALT keys. Combining them with "&" actually lets you check if both are pressed at the same time. Not sure if that is actually useful in...
Forum: Scripting 05-29-2020, 21:38
Replies: 5
Views: 496
Posted By Tilex
Re: Timers: Wiki misunderstanding

You are working with defines/enums, which are defined in sourcemod\scripting\include\core.inc

* Specifies what to do after a hook completes.
enum Action
Plugin_Continue = 0, ...
Forum: Scripting 05-29-2020, 21:22
Replies: 6
Views: 473
Posted By Tilex
Re: Edit script

I get what you describe there and I'd expect some code, which goes like:

PrintToChat(client, "[%s], your rank has been reset", myinfo.name");

But maybe it's just hardcoded into the chat...
Forum: Scripting 05-29-2020, 21:17
Replies: 6
Views: 653
Posted By Tilex
Re: error 001: expected token: "(", but found "{"

why not simply

float fTest[ 3 ] = { 0.0, 0.0, 0.0 };


float fTest[3];
fTest[0] = 0.0;
fTest[1] = 0.0;
fTest[2] = 0.0;
Forum: Scripting 05-26-2020, 13:16
Replies: 6
Views: 473
Posted By Tilex
Re: Edit script

The plugin has some code like..

public Plugin myinfo =
name = "nameOfMyScript",
description = "My script does this and that.",
Forum: Scripting 05-25-2020, 20:17
Replies: 6
Views: 470
Posted By Tilex
Re: [ISSUE] Not storing all strings

public Action foo
for (int i = 0; i < sizeof(BadWord); i++)

return Plugin_Handled;
Forum: Scripting 05-25-2020, 20:05
Replies: 10
Views: 616
Posted By Tilex
Re: [TF2] mvm_mission_complete event not firing

Maybe you want to check your mvm_complete to match the proper protoype for MsgHook:
Though, I'm not sure which one of the two ist the right...
Forum: Scripting 05-24-2020, 09:11
Replies: 1
Views: 339
Posted By Tilex
Re: Timer for HookEvent

pretty basic one-shot timer:
(see: https://wiki.alliedmods.net/Timers_(SourceMod_Scripting) )

public Action:Event_MissionComplete(Handle:event, const String:mission[], bool:dontBroadcast)
Forum: Scripting 05-24-2020, 08:59
Replies: 2
Views: 275
Posted By Tilex
Re: Equiping weapons and checking player iventory

I just came across this: http://gshbitbucket.mydan.de/projects/GSH/repos/gsh-csgo-duels/browse/addons/sourcemod/scripting/1v1dm/1v1_AWPDuel.sp

Not really answering the whole question, but it...
Forum: Scripting 05-24-2020, 08:04
Replies: 11
Views: 785
Posted By Tilex
Re: fatal error 186: insufficient memory

So, from what I get here, you are working with two scripts. One is creating a Native to be used from the other. The one defining...
Showing results 1 to 11 of 11

Forum Jump

All times are GMT -4. The time now is 05:14.

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