Raised This Month: $32 Target: $400
 8% 

Showing results 1 to 25 of 120
Search took 0.01 seconds.
Search: Posts Made By: neverminde
Forum: Scripting Help 06-01-2017, 22:19
Replies: 1
Views: 600
Posted By neverminde
Extra info about custom spray

We can get some info about player's spray from this event

register_event("23", "newspray", "a", "1=112") // SVC_TEMPENTITY (TE_PLAYERDECAL)



write_byte(TE_PLAYERDECAL)...
Forum: Scripting Help 10-07-2014, 22:14
Replies: 1
Views: 856
Posted By neverminde
Re: Hook death in half-life deathmatch

Maybe this
register_event("DeathMsg", "hook_death", "a", "1>0")


public hook_death()
{

Killer = read_data(1)
Victim = read_data(2)
Forum: Scripting Help 10-05-2014, 15:23
Replies: 14
Views: 3,003
Posted By neverminde
Re: get_players & cs_get_user_team is inaccurate

yeah its yours, but with right ^x placing without using team color.
Forum: Scripting Help 10-05-2014, 10:54
Replies: 14
Views: 3,003
Posted By neverminde
Re: get_players & cs_get_user_team is inaccurate

Look through how it works on test server ( not what you want, but can help to understand )

case CS_TEAM_T:
{
...
Forum: Scripting Help 10-05-2014, 10:30
Replies: 14
Views: 3,003
Posted By neverminde
Re: get_players & cs_get_user_team is inaccurate

Just look at Admin chat colors plugin method

https://forums.alliedmods.net/showthread.php?t=63610


changeTeamInfo (player, color) // Changes user's team according to color choosen

public...
Forum: Scripting Help 10-05-2014, 09:58
Replies: 14
Views: 3,003
Posted By neverminde
Re: get_players & cs_get_user_team is inaccurate

You need to send RED color if admin is T, not team color
team color for T is red
team color for CT is blue

you send !teamcolor name: !normal chat message
Forum: Scripting Help 10-05-2014, 09:37
Replies: 14
Views: 3,003
Posted By neverminde
Re: get_players & cs_get_user_team is inaccurate

^x03
because this one use USER team color ?

so admin is CT. chatting: Hello
CTs see blue name: "Hello"
Ts see red name: "Hello"

Yup ?
Forum: Scripting Help 10-04-2014, 01:30
Replies: 6
Views: 2,232
Posted By neverminde
Re: Blocking or replacing weapon sounds

You cant do it with other weapons except knife.
There are some methods for block animation and all weapon sounds at the same time. ( not cool )
Also you can create new weapon with same animation,...
Forum: Scripting Help 10-04-2014, 00:08
Replies: 2
Views: 1,102
Posted By neverminde
block rocket sound explosion(HL1)

Hi, i want to block sound of rocket explosion (half-life rocketluancher)

"weapons/explode3.wav",
"weapons/explode4.wav",
"weapons/explode5.wav"


I tried this forward
...
Forum: Approved Plugins 09-23-2014, 11:55
Replies: 42
Views: 41,752
Posted By neverminde
Re: ScoreBoard Title

any news? I look forward to solution :bee:
Forum: Scripting Help 12-28-2013, 15:34
Replies: 6
Views: 1,257
Posted By neverminde
Re: strip with exception

my bad. Thought this stuff just strip all
Forum: Scripting Help 12-28-2013, 15:31
Replies: 8
Views: 1,237
Posted By neverminde
Re: Print Message

never seen before this qualifier. seems this stuff dont work in pawn.
Look at this c++ code

#include <stdio.h>
int main(void)
{
int count;
printf ("this%n is a test\n", &count);
printf...
Forum: Scripting Help 12-28-2013, 14:37
Replies: 6
Views: 1,257
Posted By neverminde
Re: strip with exception

i cannot do this. in hl mod game deahtmatchclassic stripping weapons means strip ability to use weapon, so give_item("weapon_...") dont work after strip. Thats why i search some way to strip weap...
Forum: Scripting Help 12-27-2013, 22:28
Replies: 6
Views: 1,257
Posted By neverminde
strip with exception

hi, found this post
https://forums.alliedmods.net/showpost.php?p=561998&postcount=5
, i wonder is it possible to add an exception on knife ? I know there are many functions for stripping, but i...
Forum: Scripting Help 12-24-2013, 17:54
Replies: 3
Views: 1,215
Posted By neverminde
Re: Array Size

thought 50000 is enough
In 1st time plugin compiled with error. dont remember why.
but now it compiles with any value. Think it has no limit at all.

new szSample[131072][128]

but size of...
Forum: Scripting Help 12-24-2013, 16:28
Replies: 3
Views: 1,215
Posted By neverminde
Array Size

Hi, i am interested, what size of array is maximum size? X Y any limit ?
new szSample[X][Y]
Forum: Scripting Help 12-21-2013, 20:07
Replies: 10
Views: 2,249
Posted By neverminde
Forum: Scripting Help 12-21-2013, 20:02
Replies: 10
Views: 2,249
Posted By neverminde
Re: block Damage

noticed in post#3 Deahtmatch сlassic

#include <amxmodx>
#include <hamsandwich>

#define VERSION "1.0"

public plugin_init()
{
register_plugin("PLUGIN", VERSION, "AUTHOR")
Forum: Scripting Help 12-21-2013, 20:00
Replies: 10
Views: 2,249
Posted By neverminde
Re: block Damage

doesn't matter post or pre. In post i can set previous hp for example. Main problem of mod is Ham Register kills plugin.
Forum: Scripting Help 12-21-2013, 09:30
Replies: 10
Views: 2,249
Posted By neverminde
Re: block Damage

i dont know plugin wont start at all. Without RegisterHam func plugin runs ok. i heard ham is incompatible with some hl mods
Forum: Scripting Help 12-21-2013, 09:21
Replies: 10
Views: 2,249
Posted By neverminde
Re: block Damage

cause when i try to use
RegisterHam(Ham_TakeDamage, "player", "fw_TakeDamage", 1)
plugin going bad load.
(server dmc)
Forum: Scripting Help 12-21-2013, 09:05
Replies: 10
Views: 2,249
Posted By neverminde
block Damage

how to block self damage without ham. Maybe with fakemeta ?
Forum: Scripting Help 04-27-2013, 16:20
Replies: 1
Views: 2,029
Posted By neverminde
Menu on command chooseteam

I've tried make server menu on command chooseteam like in ZP with possibilty to changeteam though this menu, but using return PLUGIN_CONTINUE block class choosing.
I know there are exist solutions,...
Forum: Scripting Help 03-30-2013, 13:58
Replies: 1
Views: 586
Posted By neverminde
Re: String Array

Sorry! must be
server_print("tmp[ind] = %s", tmp[ind])
and its ok
Forum: Scripting Help 03-30-2013, 13:46
Replies: 1
Views: 586
Posted By neverminde
String Array

How i can add string to array of stings?

i am trying this
tmp[ind][0] = 0;
format( tmp[ind], 64, "%s", str);

but when typing

server_print("tmp[ind] = %s, tmp[ind]")
Showing results 1 to 25 of 120

 
Forum Jump

All times are GMT -4. The time now is 12:22.


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