Raised This Month: $120 Target: $400
 30% 

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: jimaway
Forum: Scripting Help 11-25-2021, 06:56
Replies: 4
Views: 239
Posted By jimaway
Re: How to hook menu display events

why?


https://wiki.alliedmods.net/Half-life_1_game_events#ShowMenu not sure if this works with client side menus, you'll have to test.
Forum: Scripting Help 10-24-2021, 12:58
Replies: 7
Views: 451
Posted By jimaway
Re: prevent using admin command after x seconds passed

try this if (get_systime() - roundStartTime > 15 && roundStartTime)
Forum: Scripting Help 10-24-2021, 12:35
Replies: 7
Views: 451
Posted By jimaway
Re: prevent using admin command after x seconds passed

store get_systime() (http://www.amxmodx.org/api/amxmodx/get_systime) in a global variable at Round Start hook (https://forums.alliedmods.net/showthread.php?t=42159) and check if 15 seconds is passed...
Forum: Scripting Help 10-17-2021, 10:08
Replies: 1
Views: 330
Posted By jimaway
Re: TFC Stopwatch Plugin

third parameter in set_task is the task id. in your case the id in "tickupdate" is always 0 - that's the reason you get 0:00.0 in "stoptimer"

also instead of formatting "0%d" with if's and else's...
Forum: Scripting Help 10-11-2021, 15:08
Replies: 13
Views: 975
Posted By jimaway
Re: Can we modify the players scoreboard?

client side mods to change the scoreboard are possible. it's just not possible with amxmodx
Forum: Scripting Help 10-10-2021, 13:00
Replies: 7
Views: 594
Posted By jimaway
Re: Confusion With Array

arrayset(Array, 0, sizeof(Array))
Forum: Scripting Help 09-27-2021, 16:05
Replies: 13
Views: 975
Posted By jimaway
Forum: Scripting Help 09-24-2021, 18:18
Replies: 4
Views: 411
Posted By jimaway
Re: How does cs handle player jumping, landing and moving

https://github.com/FWGS/hlsdk-xash3d/blob/master/pm_shared/pm_shared.c
Forum: Scripting Help 09-05-2021, 16:57
Replies: 2
Views: 448
Posted By jimaway
Re: File getting line and then use parse

array size for 3 char string should be 4 not 3
Forum: Scripting Help 08-06-2021, 10:39
Replies: 6
Views: 867
Posted By jimaway
Re: Help about client_cmd

Dude,

register_clcmd registers a console command for client
register_concmd registers a console command for client AND server

i'd say a server wont use the chooseteam console command to open a...
Forum: Scripting Help 07-19-2021, 13:44
Replies: 7
Views: 699
Posted By jimaway
Re: End round display damage done.

logevent round start = when freezetime ends

you're resetting your arrays 5 seconds into the actual round
Forum: Scripting Help 07-13-2021, 16:59
Replies: 6
Solved title
Views: 875
Posted By jimaway
Re: title

-- is just -1.
if it's as a prefix the equation will be handled before the code, suffix will be handled after the code

new i = 1
// i is now 0
somebool[--i] = true

new y = 1
somebool[y--]...
Forum: Scripting Help 07-06-2021, 12:13
Replies: 7
Views: 546
Posted By jimaway
Re: Hide a player from another player

http://www.amxmodx.org/api/fun/set_user_rendering

set_user_rendering(id,kRenderFxNone ,0,0,0,kRenderTransAlpha,0)
Forum: Scripting Help 07-02-2021, 18:36
Replies: 8
Views: 744
Posted By jimaway
Re: Cmds taking wrong executor's id

it works with bhop command but not with bh?
anyway stop using the inner player id as a command argument. the players have no way to find this information, use something that the players have access...
Forum: Scripting Help 06-30-2021, 18:06
Replies: 8
Views: 744
Posted By jimaway
Forum: Scripting Help 06-16-2021, 16:07
Replies: 2
Views: 309
Posted By jimaway
Re: Menu page check

http://www.amxmodx.org/api/newmenus/player_menu_info
Forum: Scripting Help 06-14-2021, 18:40
Replies: 7
Views: 292
Posted By jimaway
Re: html

show_motd(playerid, "http://yourmotdwebsite.com", "header")
Forum: Scripting Help 06-14-2021, 17:07
Replies: 7
Views: 292
Posted By jimaway
Re: html

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

you'll have to host a website if you want to get past this limitation and show more characters in the motd window
Forum: Scripting Help 06-11-2021, 10:57
Replies: 9
Views: 669
Posted By jimaway
Re: give grenade to player

i think a small delay would be an easy fix for this
Forum: Scripting Help 06-06-2021, 08:38
Replies: 1
Views: 292
Posted By jimaway
Forum: Scripting Help 06-01-2021, 18:08
Replies: 25
Views: 6,488
Posted By jimaway
Re: Host_Error: UserMsg: Not Present on Client #

that really bothered you past 8 years huh
Forum: Scripting Help 05-28-2021, 16:29
Replies: 5
Views: 458
Posted By jimaway
Re: AddToFullPack hide entity from specific player

well probably could do it with orpheu then, if you still want to use fm you'll have to change rendering to make an entity invisible. or you could use groupinfo - that will also make addtofullpack...
Forum: Scripting Help 05-28-2021, 13:42
Replies: 6
Views: 635
Posted By jimaway
Forum: Scripting Help 05-28-2021, 13:36
Replies: 5
Views: 458
Posted By jimaway
Re: AddToFullPack hide entity from specific player

you can't block anything after it is already happened

Return 1 if the entity state has been filled in for the ent and the entity will be propagated to the client, 0 otherwise
state is the server...
Forum: Scripting Help 05-28-2021, 10:31
Replies: 3
Views: 343
Posted By jimaway
Re: How do I use client_cmd(spk) properly?

client_cmd(target, "spk %s", g_SnapSounds[random(sizeof(g_SnapSounds)-1)])

no idea why you're using formatex to copy the string in the first place
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 20:28.


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