Raised This Month: $ Target: $400
 0% 

Showing results 1 to 25 of 500
Search took 0.02 seconds.
Search: Posts Made By: _Master_
Forum: Scripting Help 01-23-2008, 08:39
Replies: 6
Views: 1,357
Posted By _Master_
Re: Why i can't see the lightning?

Use TE_BEAMPOINTS.
And changenew Float:origin[3]

entity_get_vector(id,EV_VEC_origin,origin)with thisnew origin[3]

get_user_origin(id,origin)Ex: message_begin(MSG_BROADCAST, SVC_TEMPENTITY)...
Forum: Scripting Help 01-22-2008, 23:23
Replies: 5
Views: 1,904
Posted By _Master_
Re: Detect player & damage thru a zone (ent solid)

Use fixed ( known ) values whenever possible. Do not create hooks in the system for some trivial task
Forum: Scripting Help 01-22-2008, 22:57
Replies: 7
Views: 1,585
Posted By _Master_
Re: [Help] Function Problem?

A valid STEAMID is issued upon client_authorized(). Until that time the steamid is undefined ( STEAM_ID_PENDING )
Forum: Scripting Help 01-22-2008, 22:48
Replies: 4
Views: 1,160
Posted By _Master_
Re: = help

That's not exactly how it works kirk...

Simply put the expression is valuated from right to left. "y = 5" valuates to "5". Then "x = <5>" again valuates to "5" which means that the entire...
Forum: Approved Plugins 01-22-2008, 07:26
Replies: 330
Views: 400,727
Posted By _Master_
Re: Ultimate Sounds (The original) 1/20/08

register_cvar("amx_super",VERSION,FCVAR_SERVER|FCVAR_EXTDLL|FCVAR_UNLOGGED|FCVAR_SPONLY)
o_O
Forum: Scripting Help 01-21-2008, 07:14
Replies: 6
Views: 3,280
Posted By _Master_
Re: How to use the TextMsg message?

Just a raw list... It's not by any means complete nor cleaned up ( you may find that the logevent or sendaudio are misplaced ).#C4_Arming_Cancelled
#Bomb_Planted "%s<%i><%s><TERRORIST>"...
Forum: Scripting Help 01-21-2008, 06:52
Replies: 5
Views: 1,291
Posted By _Master_
Re: plugin crashes after some while

I figure there's more to this plugin than listed. If that's true then you should also consider switching to the new file natives. If that's the entire plugin ( ie. the plugin is used just for logging...
Forum: Scripting Help 01-19-2008, 14:13
Replies: 39
Views: 6,404
Posted By _Master_
Re: how to execute?

It's either engclient_cmd() or client_cmd(), depending on what you want
Forum: Scripting Help 01-19-2008, 12:16
Replies: 5
Views: 3,204
Posted By _Master_
Re: sleep in amxmodx

I think he wants more lines printed than the kick cmd supports...
Forum: Scripting Help 01-19-2008, 12:11
Replies: 9
Views: 2,179
Posted By _Master_
Re: buymenu - buy speed

It would be. Yet it adds unnecessary tests for the purpose of this plugin.

@Watt: Be sure to set a "valid" speed ( a lower speed would render the player still and a higher speed will be ceiled by...
Forum: Scripting Help 01-19-2008, 11:49
Replies: 5
Views: 3,204
Posted By _Master_
Re: sleep in amxmodx

1. print the message
2. make a task for kicking

"sleep" ( as in "delay" ) is implemented as a task.
"sleep" ( as in "global wait" ) can't be implemented in amxx for obvious reasons.
Forum: Scripting Help 01-19-2008, 11:33
Replies: 10
Views: 1,879
Posted By _Master_
Re: sizeof

Yes. sizeof valuates to an integer at compile time.
Forum: Scripting Help 01-19-2008, 11:25
Replies: 2
Views: 1,320
Posted By _Master_
Re: Plugin returns error

Try this. Just added some basic tests. Not sure about overall functionality
Forum: Scripting Help 01-19-2008, 11:10
Replies: 39
Views: 6,404
Posted By _Master_
Re: how to execute?

MyFunc( ... )
{
new i, MaxPlayers = get_maxplayers( );

for( i = 1; i <= MaxPlayers; i++ )
{
if( !is_user_connected( i ) ) continue;

//engclient_cmd( i, "<cmd>", "<arg1>", "<arg2>" );...
Forum: General 01-19-2008, 10:09
Replies: 4
Views: 1,478
Posted By _Master_
Re: getting a user's FPS_MAX

fps_max is NOT included by default in userinfo values. It's a client cvar.
Having said this you can't get fps_max via get_user_info() but query_client_cvar().

Also this isn't really related to...
Forum: General 01-19-2008, 09:58
Replies: 8
Views: 1,944
Posted By _Master_
Re: Having problems with Few Plugins :X

You get those errors because the plugin calls natives on a player that's not connected to the server. There is also a line in the debug trace. Use it to get the exact context of the error and add an...
Forum: Scripting Help 01-18-2008, 15:24
Replies: 10
Views: 2,548
Posted By _Master_
Re: Time compare

It's just a code overhead
Forum: Scripting Help 01-18-2008, 15:10
Replies: 5
Views: 1,102
Posted By _Master_
Re: VexdUM -> fakemeta , index_to_pointer(index) and pointer_to_index

Can't be done in std. AMXX
Also I can't immagine what you could do with that pointer in amxx.

Closest thing to this is pev_valid( ent )
Forum: Scripting Help 01-18-2008, 15:01
Replies: 9
Views: 1,714
Posted By _Master_
Re: Help with first plugin

See this (http://forums.alliedmods.net/showthread.php?t=12518)
Also the Code Snippets/Tutorials board is a good place to look into.
And so is this...
Forum: Scripting Help 01-18-2008, 14:50
Replies: 9
Views: 2,179
Posted By _Master_
Re: buymenu - buy speed

public plugin_init( )
{
// ...
register_event( "CurWeapon", "Event_Change_Weapon", "be", "1=1" )
// ...
}

public Event_Change_Weapon( id )
{
// ...
Forum: Scripting Help 01-18-2008, 14:38
Replies: 2
Views: 998
Posted By _Master_
Re: Question with register_Xcmd()

1) ADMIN_ADMIN implies that any admin can use it. ADMIN_RCON test will never fail if cmd_access() is used.
2) FCVAR_SPONLY cvars can only be changed via set_(p)cvar_*() natives so I don't get the...
Forum: Scripting Help 01-18-2008, 14:23
Replies: 10
Views: 2,548
Posted By _Master_
Re: Time compare

Unless you use those entries for another purpose you should store the ban lenght in seconds and when a user connects just test the entry against current time.

Use get_systime()

It's easier to...
Forum: Scripting Help 01-17-2008, 10:25
Replies: 14
Views: 3,379
Posted By _Master_
Re: How to attach model/sprite to a player

new Float:RenderColor[3]

RenderColor[0] = float(red)
RenderColor[1] = float(green)
RenderColor[2] = float(blue)

set_pev( ent, pev_rendercolor, RenderColor )
Forum: Scripting Help 01-17-2008, 10:17
Replies: 1
Views: 689
Posted By _Master_
Re: Help [index out of bounds]

Post this in Ultra Hide and Seek thread.
Forum: General 01-16-2008, 09:10
Replies: 14
Views: 2,910
Posted By _Master_
Re: How do you disable amx_map command?

If your're using amxx 1.8 you could edit cmdaccess.ini and set a new flag there... No need to edit the .sma
Showing results 1 to 25 of 500

 
Forum Jump

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


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