Raised This Month: $ Target: $400
 0% 

Showing results 1 to 25 of 61
Search took 0.01 seconds.
Search: Posts Made By: Blue Snake.
Forum: Scripting Help 08-30-2014, 07:21
Replies: 3
Views: 666
Posted By Blue Snake.
Re: Set ammo to 1 when reloading

Thank you. worked with

RegisterHam(Ham_Weapon_PrimaryAttack,"weapon_m3","m3Attack")

public m3Attack(weaponIndex)
{
new id = get_pdata_cbase(weaponIndex, m_pPlayer, XO_WEAPON) ...
Forum: Scripting Help 08-26-2014, 06:20
Replies: 3
Views: 666
Posted By Blue Snake.
Set ammo to 1 when reloading

Hi, i have a problem with this plugin https://forums.alliedmods.net/showthread.php?t=120991

It has a duel feature when there's only 1 last prisoner using these weapons

new const _Duel[][_duel]...
Forum: Scripting Help 12-16-2013, 08:22
Replies: 1
Views: 1,258
Posted By Blue Snake.
Forum: Scripting Help 12-01-2013, 09:58
Replies: 1
Views: 1,258
Posted By Blue Snake.
Snowball

I have a problem with a snowball plugin. I edited the snowball_war plugin as in, when i hit someone with the ball, it slaps the player. The problem is, i get crash on the server after 15-20 minutes...
Forum: Off-Topic 08-30-2012, 15:48
Replies: 3
Views: 1,221
Posted By Blue Snake.
Re: Pistol ammo

Yes, i know it's amxx help but on alliedmods there's no forum for my question. Thanks for answer. You can lock the topic / delete it.
Forum: Off-Topic 08-29-2012, 13:25
Replies: 3
Views: 1,221
Posted By Blue Snake.
Pistol ammo

Hi, I'm not sure if this is the right forum for my question but...

I want to do in my userconfig file a bind to buy my pistol's ammo like this:

if(pistol == glock18)
while(ammo < 70) buyammo2;...
Forum: Unapproved/Old Plugins 04-25-2012, 12:34
Replies: 17
Views: 8,496
Posted By Blue Snake.
Re: Equation Quest

You mean i should not hook say_team, only say?
Forum: Unapproved/Old Plugins 04-25-2012, 07:08
Replies: 17
Views: 8,496
Posted By Blue Snake.
Re: Equation Quest

I'll do integer division in the next version, thanks.

About team info, it's not my function, i've copied it from colorchat.inc because it's not on the amxmodx compiler.
Forum: Unapproved/Old Plugins 04-17-2012, 13:51
Replies: 17
Views: 8,496
Posted By Blue Snake.
Re: Equation Quest

I will add a cvar for money and health

Edit: done
Forum: Scripting Help 04-16-2012, 08:45
Replies: 14
Views: 2,572
Posted By Blue Snake.
Re: (KREEDZ) Make CP on ladder

A player is on the ground if his vertical speed is 0. So, you can cp on the ladder and maybe in water [no checked]
Forum: Unapproved/Old Plugins 04-16-2012, 05:39
Replies: 17
Views: 8,496
Posted By Blue Snake.
Re: Equation Quest

Actually no use, I don't have enough imagination, can you suggest something?
Forum: Unapproved/Old Plugins 04-15-2012, 20:19
Replies: 17
Views: 8,496
Posted By Blue Snake.
Equation Quest

Equation Quest
By Andrei

Description
This plugin will generate 2 random numbers and a type of equation (+ - * /). The first to answer correctly will receive points.


Client Commands...
Forum: Scripting Help 11-08-2011, 11:43
Replies: 3
Views: 1,207
Posted By Blue Snake.
Re: run time eror

if ( !is_user_connected(attacker) )
return PLUGIN_HANDLED
Forum: Trash 11-08-2011, 11:38
Replies: 2
Views: 1,289
Posted By Blue Snake.
Re: help ! i need autobinds with colors pleas

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

This?
Forum: Scripting Help 11-08-2011, 11:35
Replies: 9
Views: 3,304
Posted By Blue Snake.
Re: set_user_flags

So, after he change the name you can check if(is_user_admin(id)) and then, if he's not admin, remove the flag z with remove_user_flags(id, ADMIN_USER) and then set the new flags. If his new name is...
Forum: Scripting Help 11-08-2011, 11:27
Replies: 5
Views: 1,809
Posted By Blue Snake.
Re: HE Bonus Plugin

get_user_weapon(read_data(1))
Bonus(read_data(1))But i think you'll need read_data(4, weapon, 31) (with new weapon[32] before) instead of get_user_weapon, but i don't know what name it will return...
Forum: Scripting Help 11-08-2011, 11:18
Replies: 9
Views: 3,304
Posted By Blue Snake.
Re: set_user_flags

If you want to set "abcdefghijklmnopqrstu" access to anyone, you should only set the cvar amx_default_access from amxx.cfg to "abcdefghijklmnopqrstu"
Forum: Scripting Help 10-31-2011, 16:07
Replies: 8
Views: 1,590
Posted By Blue Snake.
Re: [HELP] NAME OF THE DAY!!!!

eskemo, you can't check g_Days == 8, it's an array.

You need to add g_FFADays++ after that...or you should add here

player_hudmessage(0, 5, HUD_DELAY + 1.0, {0, 0, 255}, "%L", LANG_SERVER,...
Forum: Scripting Help 10-31-2011, 12:18
Replies: 6
Views: 2,030
Posted By Blue Snake.
Re: Hook changelevel

I know this but there's a bug which give to the new terrorist an USP. More then, my plugin check dead CTs first and if no dead ct, it move to alive.

I've tested this version and it works. Thank...
Forum: Scripting Help 10-31-2011, 08:39
Replies: 6
Views: 2,030
Posted By Blue Snake.
Re: Hook changelevel

Something like this? Ok, I'll try.

#include <amxmodx>
#include <amxmisc>
#include <fakemeta>
#include <colorchat>
#include <cstrike>
#include <fun>
#include <hamsandwich>
Forum: Scripting Help 10-30-2011, 18:26
Replies: 6
Views: 2,030
Posted By Blue Snake.
Re: Hook changelevel

I have this for a deathrun server, but when the map change, all players disconnect and if the terrorist disconnect before CTs, the server crash (the plugin will find a CT, but he will be disconnected...
Forum: Scripting Help 10-30-2011, 17:38
Replies: 6
Views: 2,030
Posted By Blue Snake.
Hook changelevel

Can I hook srvcmd changelevel? Something like:


register_srvcmd("changelevel", "func")
...


public func()
{
asd=true
Forum: Scripting Help 10-27-2011, 08:23
Replies: 5
Views: 1,213
Posted By Blue Snake.
Re: Team limiting + round limiting.

#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <amxmisc>
#include <fakemeta>
#include <fun>

#define MAXPLAYERS 33

#define PLUGIN "Poison + Bazooka"
Forum: Scripting Help 10-27-2011, 08:08
Replies: 6
Views: 1,407
Posted By Blue Snake.
Re: [Plugin] client_cmd won't play sound

shouldn't it be sound/announce/first_blood.wav?

And why your array is [3][], you have only 1 element?
Forum: Scripting Help 10-21-2011, 06:55
Replies: 9
Views: 1,493
Posted By Blue Snake.
Re: Pls fix my plugin ;)

Not tested, but you can try this

#include <amxmodx>

#define PLUGIN "Music At Round Start"
#define VERSION "0.3"
#define AUTHOR "Mix97"

new i
Showing results 1 to 25 of 61

 
Forum Jump

All times are GMT -4. The time now is 02:45.


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