Raised This Month: $18 Target: $400
 4% 

Showing results 1 to 8 of 8
Search took 0.00 seconds.
Search: Posts Made By: Icon315
Forum: Scripting 12-27-2015, 00:11
Replies: 12
Views: 152,876
Posted By Icon315
Re: [Basic] !hide

Here you go
Just needed to add IsPlayerAlive to line 57
if (g_bHide[client] && entity != client && equipo[client] == equipo[entity] && IsPlayerAlive(client))
Forum: Scripting 12-26-2015, 17:14
Replies: 9
Views: 639
Posted By Icon315
Re: Namechecking, beginner question

Actually no, it's >= 0. So if the string starts with the substring then it will return 0 (which it would see as false).

Do you have any text in your error logs?
Forum: Scripting 12-26-2015, 16:17
Replies: 9
Views: 639
Posted By Icon315
Re: Namechecking, beginner question

StrContains() doesn't return true/false, i think i remember it used to, it returns the position in the string where the substring is located or -1 if it didn't find it.
So
...
Forum: General 08-26-2015, 04:28
Replies: 2
Views: 1,649
Posted By Icon315
Re: SM Notepad++ Syntax Highlighter

This is my current one.
Forum: Scripting 08-20-2015, 02:23
Replies: 9
Views: 1,406
Posted By Icon315
Re: [CSGO] Block Player Reload Command

This should work, I used it for a paintball game I made. It will still run the reload animation for the client, since that part is client side, but it will not reload their weapon.

#include...
Forum: Scripting 08-15-2015, 05:01
Replies: 2
Views: 363
Posted By Icon315
Re: Adding multiple nobuild functions?

If i understood correctly you can just add arguments to your stock function
#pragma semicolon 1
#include <sourcemod>
#include <sdktools>
#define PLUGIN_VERSION "1.0"

new...
Forum: Scripting 08-15-2015, 04:49
Replies: 14
Views: 1,027
Posted By Icon315
Re: [Solved] Timer Target Variable Problem

Yeah my bad, I got lazy and copy pasted that part. Updated my post to show the proper way.
Forum: Scripting 08-13-2015, 01:58
Replies: 14
Views: 1,027
Posted By Icon315
Re: Timer Target Variable Problem

Well since you are trying to send both the client and the target, you might try using a DataPacks.
https://wiki.alliedmods.net/Timers_(SourceMod_Scripting)#Data_Packs

Here's an example:

public...
Showing results 1 to 8 of 8

 
Forum Jump

All times are GMT -4. The time now is 22:47.


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