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

Showing results 1 to 25 of 113
Search took 0.01 seconds.
Search: Posts Made By: KamiN
Forum: Scripting Help 06-22-2012, 11:11
Replies: 7
Views: 3,019
Posted By KamiN
Re: Dissapearing packs

But now i'm thinking, how about "public plugin_end()"? Packed are saved there too. So i guess more sensible would be to check if data have been loaded not in PLUGIN_END() or CLIENT_DISSCONECT( id ),...
Forum: Scripting Help 06-22-2012, 10:24
Replies: 7
Views: 3,019
Posted By KamiN
Re: Dissapearing packs

You mean like that?

new bool:SQLLoaded[ 33 ];

public client_disconnect( id )
{
if(SQLLoaded[ id ])
{
SQL_SaveDbTuple( id );
SQLLoaded[ id ] = false;
Forum: Scripting Help 06-21-2012, 15:40
Replies: 7
Views: 3,019
Posted By KamiN
[JailBreak] Dissapearing packs [Free Code For You]

I do have a little bit modified jailbreak shop 3.0
In plugin's version i do have JB Packs are saved in mysql by players IP adress.

Some players complaining that JB Packs they earned by killing...
Forum: HL1 Servers (HLDS) 06-21-2012, 11:46
Replies: 3
Views: 1,266
Posted By KamiN
Re: CS standalone server

I dont even know what is that. But this problem is not always, for example now everythings alright and i'm using same ports 27015 and 27020 (fixed after PC restart). But i can bet this problem will...
Forum: HL1 Servers (HLDS) 06-21-2012, 08:08
Replies: 3
Views: 1,266
Posted By KamiN
CS standalone server

I have created cs standalone server like it says in the guide from steampowered.com. But after a while i have a problem. Somehow active ports 27015 and 27020 stops working like it would be blocked....
Forum: Scripting Help 06-20-2012, 18:50
Replies: 3
Views: 1,390
Posted By KamiN
Invalid player 8

public showStatus(id)
{
if(get_pcvar_num(cvar_playerinfo)) {
if(is_user_alive(id)) {
static name[33], pid
pid = read_data(2)

...
Forum: Scripting Help 06-19-2012, 17:02
Replies: 10
Views: 1,900
Posted By KamiN
Invalid player 4

There is a code

public fw_cmdstart(player,uc_handle,random_seed)
{
if(deagle_duel[player])
{
cs_set_user_bpammo(player, CSW_DEAGLE, 1)
}
}In logs i saw warning
Forum: Scripting Help 06-18-2012, 11:22
Replies: 7
Views: 2,372
Posted By KamiN
Re: Non-player entity -1 out of range

By the way, could you simply tell me what does that "new tempid = str_to_num(Data)" do?

Do i get it right in this situation, when i use ID so i make changes to player with have opened the menu and...
Forum: Scripting Help 06-18-2012, 09:45
Replies: 7
Views: 2,372
Posted By KamiN
Re: Non-player entity -1 out of range

Shouldnt i do same with tempid? Something like that?

new weaponEnt = give_item(id, "weapon_deagle")
new weaponEntTemp = give_item(tempid, "weapon_deagle)
if(weaponEnt > 0) {
...
Forum: Scripting Help 06-17-2012, 16:23
Replies: 7
Views: 2,372
Posted By KamiN
Non-player entity -1 out of range

public sub_choose_enemy(id, menu, item)
{
if( item == MENU_EXIT )
{
menu_destroy(menu)
return PLUGIN_HANDLED
}

new Data[6], Name[64]
new Access,...
Forum: Scripting Help 06-17-2012, 06:44
Replies: 9
Views: 1,717
Posted By KamiN
Re: invalid player

is there someway how to copy code without lately correction? :O Becouse now when i copy and paste this code it writes in 2 lines? :O
http://youtu.be/-76l4v1txqw
Forum: Scripting Help 06-17-2012, 06:15
Replies: 9
Views: 1,717
Posted By KamiN
Re: invalid player

I dont know how to get correct line, but beacon is called in
public sub_choose_enemy switch (get_pcvar_num(cvar_effect))
{
case 0: // glow
{
...
Forum: Scripting Help 06-17-2012, 06:13
Replies: 10
Views: 3,661
Posted By KamiN
Re: true - false

Okay i got it. Now i understand why in jailbreak shop 3.0 is used not ture or false, but 1 & 0. Its becouse he marks that value for an individual player and with boolean it would be impossible.
Forum: Scripting Help 06-17-2012, 06:08
Replies: 2
Views: 738
Posted By KamiN
variable

new oneatround[33]

public blablabla(id)
{
if(is_user_alive(id) && !oneatround[id])

}


If somewhere in the code oneatround[id] gets value 1 so is it correct to mark it's value 0 like...
Forum: Scripting Help 06-16-2012, 20:59
Replies: 9
Views: 1,717
Posted By KamiN
invalid player

public beacon(id)
{

if(cs_get_user_team(id) == CS_TEAM_CT)
{
if(is_user_alive(id))
{
static origin[3]
get_user_origin(id, origin)
...
Forum: Scripting Help 06-16-2012, 14:21
Replies: 10
Views: 3,661
Posted By KamiN
true - false

new test = 1
new test = truenew test2 = 0
new test2 = false1 and true means the same thing like 0 and false, right?

I mean, you can wirte 1 instead of true and 0 instead of false, yes?
Forum: Scripting Help 06-16-2012, 14:14
Replies: 4
Views: 3,661
Posted By KamiN
Re: set_user_footsteps

Is it possible to write like that? :D

if(set_user_footsteps(id, 1))
{
set_user_footsteps(id, 0)
}Or i should do some
new bool:stepsand check it if its true or false?
Forum: Scripting Help 06-14-2012, 07:27
Replies: 7
Views: 1,572
Posted By KamiN
Re: force to use knife

So do you have any alternatives?
Forum: Scripting Help 06-13-2012, 15:57
Replies: 7
Views: 1,572
Posted By KamiN
Re: force to use knife

No its not for warmup round. But its all i needed
engclient_cmd(id, "weapon_knife");
Forum: Scripting Help 06-13-2012, 11:39
Replies: 7
Views: 1,572
Posted By KamiN
force to use knife

How to force all players or some group of them to use only knife and prevent them from changing weapon? Can somebody give me an example of code please :)
Forum: Suggestions / Requests 05-25-2012, 09:33
Replies: 0
Views: 434
Posted By KamiN
radio player

http://forums.alliedmods.net/showthread.php?p=833070

Is there anything simplier (but trustfull) than this?
Forum: Unapproved/Old Plugins 05-24-2012, 11:23
Replies: 899
Views: 529,515
Posted By KamiN
Re: Auto-Mix (Pug) - By: p1Mp

Could somebody give me just "score" part of this plugin?
I would like to place it in Simple ClanWar Manager plugin.
Forum: Suggestions / Requests 05-23-2012, 08:54
Replies: 0
Views: 599
Posted By KamiN
block music

Is there any plugin made to block music witch is played by HLDJ or programs like that?
Forum: Unapproved/Old Plugins 05-18-2012, 09:14
Replies: 899
Views: 529,515
Posted By KamiN
Re: Auto-Mix (Pug) - By: p1Mp

Could somebody give me just "score" part of this plugin please? :)
I would like to place it in Simple ClanWar Manager plugin.
Forum: HL1 Servers (HLDS) 04-22-2012, 09:33
Replies: 1
Views: 1,503
Posted By KamiN
amxbans 5.1b

i'd like to ask one question about prune db, if somebody would be so nice and help me.

In .../prune_db.php it says

i cant find any detailed information how to do...
Showing results 1 to 25 of 113

 
Forum Jump

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


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