Raised This Month: $12 Target: $400
 3% 

Showing results 1 to 25 of 60
Search took 0.01 seconds.
Search: Posts Made By: Reiko1231
Forum: General 04-29-2019, 13:56
Replies: 5
Views: 2,866
Posted By Reiko1231
Re: Interactive Menu Builder

cyziek, you can open menu on client connect using addon "Client command after connect" (after you press "generate plugin" button). This command will be executed every time client connects to server....
Forum: General 04-29-2019, 06:09
Replies: 5
Views: 2,866
Posted By Reiko1231
Interactive Menu Builder

Source code generator for menu plugins. Create menus for your server(s) in no time. No knowledge in programming required!

Link: https://alextheregent.github.io/
Source code:...
Forum: General 01-15-2019, 05:44
Replies: 12
Views: 2,365
Posted By Reiko1231
Re: Ban on equipment

This "cheat" is only working on no-steam servers. If you are using steam server you do not need any kind of protection from that "cheat".
Forum: Scripting 05-21-2018, 07:37
Replies: 5
Views: 1,022
Posted By Reiko1231
Re: Client Looping

My mistake, MAXPLAYERS is 65. But because SourceTV is legal fake client, you still have to add +1 to MAXPLAYERS, otherwise last client will be outside of loop.
I don't understand question about...
Forum: Scripting 05-21-2018, 06:28
Replies: 5
Views: 1,022
Posted By Reiko1231
Re: Client Looping

MaxClients is not equal to MAXPLAYERS. MAXPLAYERS is always 64 and MaxClients is equal to server slots count.
When using MAXPLAYERS it is necessary to add +1 because numeration starts from zero, and...
Forum: Scripting 05-17-2018, 05:04
Replies: 1
Views: 729
Posted By Reiko1231
Re: hook zoom and set close of

Yes it's possible.
To hook zoom you have to hook weapon_zoom (https://wiki.alliedmods.net/Counter-Strike:_Global_Offensive_Events#weapon_zoom) event.
To wait specified time you should use...
Forum: Scripting 04-30-2018, 12:05
Replies: 3
Views: 1,020
Posted By Reiko1231
Re: Mysql Problem Crash on Map end

Use threaded query via SQL_TQuery (https://sm.alliedmods.net/new-api/dbi/SQL_TQuery). Non-threaded query forces server to wait for responce, and one query can take significant time to execute (more...
Forum: Scripting 04-17-2018, 14:59
Replies: 1
Views: 655
Posted By Reiko1231
Re: SQL Help

Send "SELECT" query to database using Database.Query Method (https://sm.alliedmods.net/new-api/dbi/Database/Query). Then if DBResultSet.FetchRow Method...
Forum: Scripting 04-16-2018, 17:54
Replies: 18
Views: 4,242
Posted By Reiko1231
Re: [CS:GO] Remove X key from KeyValue after X time(2 weeks, 1 month)

My compiler doesn't give me tag mismatch if UsedTokens is integer array and MostActive_GetPlayTimeTotalExceptSpec() returns integer.
Try to split your expression into smaller ones and find where...
Forum: Scripting 04-16-2018, 17:51
Replies: 3
Views: 1,066
Posted By Reiko1231
Re: Best Method for when a player connects...

Try "player_connect" event.
Forum: Scripting 04-15-2018, 08:26
Replies: 18
Views: 4,242
Posted By Reiko1231
Re: [CS:GO] Remove X key from KeyValue after X time(2 weeks, 1 month)

There might be error in int rounding. If you divide int on int, you will get integer as result. Try to forcing float:
((MostActive_GetPlayTimeTotalExceptSpec(client) / 3600.0) / 35) -...
Forum: Scripting 04-13-2018, 10:40
Replies: 18
Views: 4,242
Posted By Reiko1231
Re: [CS:GO] Remove X key from KeyValue after X time(2 weeks, 1 month)

Still do not understand your problem.
By the way, do you really want to add tokens to client on remove command:
UsedTokens[target] += whattoremove;
or to substract tokens on add command?...
Forum: Scripting 04-11-2018, 14:49
Replies: 18
Views: 4,242
Posted By Reiko1231
Forum: Scripting 04-10-2018, 07:41
Replies: 18
Views: 4,242
Posted By Reiko1231
Re: [CS:GO] Remove X key from KeyValue after X time(2 weeks, 1 month)

Do you have folder minigames? If not, saving KeyValues will not work. This function doesn't create missing folders.
Moreover, you did one crucial mistake:

BuildPath(Path_SM,...
Forum: Scripting 04-09-2018, 07:18
Replies: 18
Views: 4,242
Posted By Reiko1231
Forum: Scripting 04-09-2018, 05:48
Replies: 18
Views: 4,242
Posted By Reiko1231
Re: [CS:GO] Remove X key from KeyValue after X time(2 weeks, 1 month)

Timestamp is time in seconds passed from unix epoch start (January 1st, 1970 at UTC). You can get current timestamp using GetTime (https://sm.alliedmods.net/new-api/sourcemod/GetTime) function....
Forum: Scripting 03-20-2018, 12:41
Replies: 4
Views: 1,910
Posted By Reiko1231
Re: [CS:GO] add database mysql this plugin !!

Provide your source code with your code and problems/compilation errors. If you can't write scripts at all, hire someone who can do it.
As arne1288...
Forum: Scripting 03-18-2018, 05:53
Replies: 4
Views: 1,910
Posted By Reiko1231
Re: [CS:GO] add database mysql this plugin !!

Use database interface (https://sm.alliedmods.net/new-api/dbi). Detailed information on how to is in wiki (https://wiki.alliedmods.net/SQL_(SourceMod_Scripting)).
Forum: Scripting 03-16-2018, 13:09
Replies: 4
Views: 1,012
Posted By Reiko1231
Re: Simple Noob Question

I'm not sure but enumeration is a way to write numeric constant as symbolic. These errors are probably because WMI_CSIndex is converted to -1 resulting into g_iWeaponSlot[client][slot][-1]. And -1...
Forum: Scripting 03-16-2018, 12:36
Replies: 4
Views: 1,044
Posted By Reiko1231
Re: MySQL Simple Plugin

For points only you can use clientprefs (https://sm.alliedmods.net/new-api/clientprefs). It is much simplier and similar to trie. And you don't have to work with databases at all. Everything is done...
Forum: Scripting 03-05-2018, 16:41
Replies: 3
Views: 941
Posted By Reiko1231
Re: SQL storing multiple result rows

Use Format (https://sm.alliedmods.net/new-api/string/Format) function to concatenate all nicknames
Forum: Scripting 02-24-2018, 07:55
Replies: 3
Views: 886
Posted By Reiko1231
Re: Inverse StringMaps?

No.
But you can use IntToString() function to convert your integer into string.
Forum: Scripting 02-08-2018, 12:49
Replies: 11
Views: 2,124
Posted By Reiko1231
Re: [ H3LP ] RandomNum never repeat

You can generate array of numbers and shuffle them during OnPluginStart and use it later.
Or specify why you needed random numbers without duplicates because this question have many different...
Forum: Scripting 02-01-2018, 04:54
Replies: 3
Views: 1,018
Posted By Reiko1231
Re: CSGO Why CSGO_ShowMOTDPanel always open save web?

Because browser cache pages.
You have to download and setup VGUI URL Cache Buster (https://forums.alliedmods.net/showthread.php?t=302530) on your server, as it stated in plugin instuctions.
Forum: Scripting 01-29-2018, 10:56
Replies: 2
Views: 659
Posted By Reiko1231
Re: Something like SplitString

You can try ExplodeString (https://sm.alliedmods.net/new-api/string/ExplodeString)
Showing results 1 to 25 of 60

 
Forum Jump

All times are GMT -4. The time now is 04:43.


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