Raised This Month: $66 Target: $400
 16% 

Showing results 1 to 25 of 304
Search took 0.06 seconds.
Search: Posts Made By: lugui
Forum: Scripting 11-26-2019, 09:23
Replies: 3
Views: 468
Posted By lugui
Re: downloadfilter message

can't you just put it on a repeating timer?
Forum: Scripting 11-26-2019, 09:21
Replies: 6
Views: 677
Posted By lugui
Re: How to register a kill on a player without killing the player

if the idea is just to make it seem like the player wasn't harmmed, you can get the kill position, respawn the player and teleport him back
Forum: Extensions 11-03-2019, 08:51
Replies: 726
Views: 279,541
Posted By lugui
Re: [ANY] SteamWorks

I'm getting some errors with sourcemod 1.10.
the .inc file didn't compiled and after I fixed the old syntax erros some functions are not working for example Steam_CheckClientSubscription and...
Forum: SteamTools 11-01-2019, 12:39
Replies: 41
Views: 45,067
Posted By lugui
Re: SteamTools has moved!

for the line 270 syntax error in 1.10 here is the fix


typeset HTTPRequestComplete
{
function Action (HTTPRequestHandle HTTPRequest, bool requestSuccessful, HTTPStatusCode statusCode);...
Forum: Plugins 10-18-2019, 08:52
Replies: 5
Views: 937
Posted By lugui
Re: [ANY] Input Hooks - DevTools

very nice, it will be helpful
Forum: Plugins 09-23-2019, 09:48
Replies: 142
Views: 45,476
Posted By lugui
Re: [ANY] Discord/Slack API (CallAdmin, SourceBans, ...)

yes, loaded and the url do have the /slack
Forum: Extensions 09-19-2019, 17:22
Replies: 60
Views: 23,620
Posted By lugui
Re: REST in Pawn - Communicate with JSON REST APIs

Hey. I'm trying to read a json object that has a unknown number of values with the function GetString(). As the .inc file says it is suposed to return false on invalid index but it is causing a...
Forum: Plugins 09-11-2019, 16:07
Replies: 142
Views: 45,476
Posted By lugui
Re: [ANY] Discord/Slack API (CallAdmin, SourceBans, ...)

I'm trying to use the plugin.. but it refuses to work

every config is right. I'm using the discord module and it does not send any message
Forum: Plugins 08-27-2019, 09:48
Replies: 1
Views: 678
Posted By lugui
[TF2] Homing and Bouncy Projectiles

I've always wanted a homing projectile plugin with some custom settings that implements the RTD's homing algorithm. So... I made it.
I also added a bouncy feature.. (why not?)
I plan to add more...
Forum: Scripting 08-27-2019, 09:24
Replies: 6
Views: 1,104
Posted By lugui
Re: Getting random place on map

it sounds like a XY problem
what exactly you want to do?
Forum: Scripting 08-16-2019, 10:30
Replies: 2
Views: 623
Posted By lugui
Re: limit teams

you have to be more specific about what you want
are you looking for help on a plugin you are developing?
you are requesting for a plugin?

you can just set mp_teams_unbalance_limit 1 so the team...
Forum: Scripting 08-16-2019, 10:25
Replies: 2
Views: 773
Posted By lugui
Re: [L4D1]Is it possible to check if client has certain file or not?

you could try to download the file from the clent, and check for FNM_OnFileDenied
https://forums.alliedmods.net/showthread.php?t=233549
Forum: Scripting 08-09-2019, 09:13
Replies: 8
Views: 1,190
Posted By lugui
Re: Passing string to CreateTimer Function

the prototype does not match, the function expects a variable, not a array
Forum: Scripting 08-09-2019, 09:07
Replies: 6
Views: 943
Posted By lugui
Re: How to get Aim position?

try this: https://forums.alliedmods.net/showpost.php?p=1341092&postcount=3
Forum: Scripting 08-09-2019, 09:05
Replies: 6
Views: 781
Posted By lugui
Re: NoClip problem

The function usage seems right, give more contex of the code that is around it
Forum: Scripting 08-08-2019, 08:49
Replies: 3
Views: 1,399
Posted By lugui
Re: Player attack only in air

mybe somethinglike this(untested):

public Action OnPlayerRunCmd(client, &buttons, &impulse, Float:vel[3], Float:angles[3], &weapon)
{
if (buttons & IN_ATTACK)
if...
Forum: Scripting 08-08-2019, 08:39
Replies: 6
Views: 943
Posted By lugui
Re: How to get Aim position?

Can you clarify your question?
Do you want to know how to get the coordinates a player is lloking at?
Do you want to know how to position the beam centred where the player is looking at?
Forum: Plugins 07-06-2019, 12:10
Replies: 10
Views: 1,548
Posted By lugui
Re: Ultimate SteamID Protection - No passwords 1.0 R

If the server fails to conenct to steam, for example when steam goes down (it is not that rare) or when the server has a invalid game token the server will not authenticate SteamIDs, if your...
Forum: Scripting 06-10-2019, 11:16
Replies: 12
Views: 1,363
Posted By lugui
Re: [Not Solved] The help of professional programmers is required.

I added a flag, so it runs only once per key press and not once per server frame that has the key pressed



#include <sourcemod>
#include <sdktools>

int useFlag[MAXPLAYERS +1];

public...
Forum: Scripting 06-10-2019, 09:32
Replies: 3
Views: 800
Posted By lugui
Re: How to limit only 1 timer work for every player?

I'm assuming you are doing something like:

public void OnClientPutInServer(int client){
WelcomeTimers[client] = CreateTimer(15.0, WelcomePlayer, client, TIMER_REPEAT);
}

public Action...
Forum: Plugins 04-09-2019, 09:12
Replies: 8
Views: 1,854
Posted By lugui
Re: [ANY] Void Vision

now, use ths plugin at the same time as: https://forums.alliedmods.net/showthread.php?t=283120
and make your players sick
Forum: Scripting 03-20-2019, 11:28
Replies: 14
Views: 1,309
Posted By lugui
Re: Client index vs user id vs real player index

It will work for as long aa no player disconects from your server.
User the steamID to identify it

UPDATE logs SET(kill = 'blabla') WHERE steamid = STEAMID_HERE
Forum: Scripting 03-20-2019, 10:55
Replies: 14
Views: 1,309
Posted By lugui
Re: Client index vs user id vs real player index

In pratice, the only value that is useful to store is the SteamID. UserID or player index cn change every time the player connects.

if you want the steamid when the client connects, use:
public...
Forum: Scripting 03-19-2019, 11:14
Replies: 3
Views: 752
Posted By lugui
Re: del

I don't think it is possible to get the type of controller, but you can still get the keys the user is pressing at any given moment with OnPlayerRunCmd or at the time you need with: GetClientButtons
Forum: Scripting 03-19-2019, 11:01
Replies: 2
Views: 1,105
Posted By lugui
Re: Help with plugin not using correct time

// Generates GMT Date and compensates for timezones
char GetGmtDate()
{
int timestamp = GetTime();

// Fix timezones
char offsetstr[10];
FormatTime(offsetstr, sizeof(offsetstr), "%z",...
Showing results 1 to 25 of 304

 
Forum Jump

All times are GMT -4. The time now is 13:15.


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