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

Showing results 1 to 25 of 68
Search took 0.00 seconds.
Search: Posts Made By: bcKq
Forum: Scripting 02-06-2016, 09:21
Replies: 6
Views: 1,999
Posted By bcKq
Re: [CSGO] GivePlayerItem gives 2 grenades

Ok, so the problem is (I think) using Arena mod. player_spawn from what I read is called when player spawns and when he changes team, and since Arena transfers player to another team it's called...
Forum: Scripting 02-05-2016, 17:01
Replies: 6
Views: 1,999
Posted By bcKq
Re: [CSGO] GivePlayerItem gives 2 grenades

I found the problem, OnPlayerSpawn is called twice... but why?
First spawn is OK after mapchange, but when I spawn again it's calling it 2 times.
Forum: Scripting 02-01-2016, 17:40
Replies: 6
Views: 1,999
Posted By bcKq
Re: [CSGO] GivePlayerItem gives 2 grenades

The only time this function (GiveStuffToPlayer) is called is by CreateTimer (which should be called just once, right?). And it doesn't happen just after joining the game, it happens every round.
Forum: Scripting 02-01-2016, 12:47
Replies: 6
Views: 1,999
Posted By bcKq
[CSGO] GivePlayerItem gives 2 grenades

Hello. I've written a small plugin that should give grenades after PlayerSpawn and it does give, but it gives two of them, and I want it to spawn only one.
CVars are correct...
Forum: Scripting 01-29-2016, 22:21
Replies: 12
Views: 4,260
Posted By bcKq
Re: Scripting in sourcepawn (editor?)

That is exactly what I was looking for. Thank you!
Forum: Scripting 01-29-2016, 20:22
Replies: 12
Views: 4,260
Posted By bcKq
Scripting in sourcepawn (editor?)

Hello. I want to start writing plugins in SourcePawn. I wrote plugins for CS 1.6 (amxx) and I was using Notepad++ AlliedModders edition and looking for something like that. Is there any editor plugin...
Forum: Scripting 04-06-2015, 14:37
Replies: 10
Views: 6,174
Posted By bcKq
Re: [CS GO] EXP Mod

Ok, thanks for your answers.
Will use SQLite probably tho, because the database could get a little too big and laggy for mysql. Or did it change since AMXX queries? I'm talking about 2000 players,...
Forum: Scripting 04-04-2015, 15:59
Replies: 10
Views: 6,174
Posted By bcKq
Re: [CS GO] EXP Mod

Porting CODMod with classes (you can gain exp on them) to CSGO.
So basically, making an engine which loads, saves, handles exp gain, exp manipulation, and then passing gathered data from engine...
Forum: Scripting 04-04-2015, 15:44
Replies: 10
Views: 6,174
Posted By bcKq
Re: [CS GO] EXP Mod

Yes yes it's all the same, but I heard it's IMPOSSIBLE to make an expmod and I want to know if that's true. Currently I'm downloading csgo dedicated from steamcmd and gonna try installing sourcemod...
Forum: Scripting 04-04-2015, 15:24
Replies: 10
Views: 6,174
Posted By bcKq
[CS GO] EXP Mod

Is it possible to make an EXPMod with SourceMode for CSGO? I mean, are there many changes from AMXModX's coding techniques for expmod? I can easily make a big mod that includes gaining exp and...
Forum: Scripting Help 11-28-2013, 11:48
Replies: 8
Views: 1,644
Posted By bcKq
Re: register_event not working

#include <amxmodx>
#include <cstrike>

#define TASK_FUNCTION 640

new x = 0
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_logevent("roundstart", 2,...
Forum: Scripting Help 11-28-2013, 11:42
Replies: 15
Views: 3,278
Posted By bcKq
Re: Problem plugin t_win/ct_win

precache_sound works with .mp3 too, so no need to use precache_generic.
Try typing in console:
mp3 play sound/misc/tt1.mp3

and see if it plays sound.

Also, type in console: "developer 1"...
Forum: Code Snippets/Tutorials 11-21-2013, 17:25
Replies: 83
Views: 99,322
Posted By bcKq
Re: FVault - A new vault system!

change fvalut to fvault
Forum: Scripting Help 11-21-2013, 17:18
Replies: 3
Views: 824
Posted By bcKq
Re: controling variables with menu

// option1
new szText[24];
formatex(szText, charsmax(szText), "%s", option1 ? "OPTION1 [ON]" : "OPTION1 [OFF]");
menu_additem(menu, szText);
// option2
formatex(szText, charsmax(szText), "%s",...
Forum: Scripting Help 11-14-2013, 15:00
Replies: 1
Views: 635
Posted By bcKq
Re: How i add nvault to sql ?

Nvault to SQL? What do you mean?
Forum: Module Coding 11-14-2013, 06:57
Replies: 11
Views: 2,567
Posted By bcKq
Re: [SOLVED] Resourse

As you said you have all the files... now you need to setup VS properly and compile.
Forum: Module Coding 11-10-2013, 11:35
Replies: 27
Views: 10,137
Posted By bcKq
Re: [SQL] MySQL Connector :: Remote Database (+Natives)

I think that my MySQL version is 5.1.39. Unfortunately, I can't change that because I only rent this server.
Forum: Scripting Help 11-08-2013, 07:51
Replies: 5
Views: 1,024
Posted By bcKq
Re: Traceline problem

Ah, I used traceline for a bool that I later used in TakeDamage. I didn't know you can get hitzone from takedamage. That will be useful, thank you :)
Forum: Module Coding 11-07-2013, 13:21
Replies: 27
Views: 10,137
Posted By bcKq
Re: [SQL] MySQL Connector :: Remote Database (+Natives)

failed to load: Module/Library "remote_database" required for plugin. Check modules.ini.

Modules.ini
mysql
;sqlite
fun
engine
fakemeta
;geoip
;sockets
Forum: Scripting Help 11-07-2013, 11:58
Replies: 5
Views: 1,024
Posted By bcKq
Traceline problem

Hey, I've got this code
public TraceLine(Float:vecStart[3], Float:vecEnd[3], ignoreM, id, trace)
{
if( !is_user_connected(id) )
{
return;
}

new trafienie = get_tr2(trace,...
Forum: Scripting Help 11-06-2013, 06:42
Replies: 6
Views: 1,489
Posted By bcKq
Re: Better save system than nvault

Save player data (on nvault) is done on client_disconnect, load is done on client_connect.
I use SQL queries each 0.1 second (they are small ones, just one select, but I will change it so it will be...
Forum: Scripting Help 11-05-2013, 18:05
Replies: 8
Views: 1,154
Posted By bcKq
Re: Native for change stats

Try this after set_user_frags
message_begin(MSG_BROADCAST,get_user_msgid("ScoreInfo"));
write_byte(id);
write_short(get_user_frags(id));
write_short(cs_get_user_deaths(id));
write_short(0);...
Forum: Scripting Help 11-05-2013, 16:05
Replies: 14
Views: 3,049
Posted By bcKq
Re: Mysql update AUTO_INCREMENT id.

First you have to do
SELECT id FROM table_name WHERE 1=1 ORDER BY id DESC LIMIT 0,1
this will give u the max id (latest player added), get that id from that query,
id++
then
UPDATE 'blabla' SET...
Forum: Scripting Help 11-05-2013, 15:36
Replies: 6
Views: 1,489
Posted By bcKq
Re: Better save system than nvault

Buli&Soldat \y(SuperVIP)&cod#9834110#300#0#0#248#0
First is nick, second is class. There are X number of player data entries where X stands for number of class (about 30). The remaining data are...
Forum: Scripting Help 10-30-2013, 15:41
Replies: 6
Views: 1,489
Posted By bcKq
Better save system than nvault

Hello, does anyone know a better save system than nvault?
I have a problem with nVault that the bigger the db is the more lags are on my server, and after a week from server start (4k players...
Showing results 1 to 25 of 68

 
Forum Jump

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


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