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

Showing results 1 to 25 of 183
Search took 0.01 seconds.
Search: Posts Made By: Dr7sTyLe
Forum: Scripting Help 07-01-2012, 07:57
Replies: 5
Views: 2,347
Posted By Dr7sTyLe
Re: Host error : backwards mins/maxs

#include <amxmodx>
#include <fakemeta>

public plugin_init()
{
register_clcmd( "cmd", "create_wall" );
}

public cmd( id )
{
Forum: Scripting Help 07-01-2012, 05:37
Replies: 5
Views: 2,347
Posted By Dr7sTyLe
Re: Host error : backwards mins/maxs

Didn't work, always getting this error.
I saw another post about this problem, and exolent commented and said it was because the mins value was bigger then the maxs value for another person, but in...
Forum: Scripting Help 06-30-2012, 10:52
Replies: 5
Views: 2,347
Posted By Dr7sTyLe
Host error : backwards mins/maxs

i have an entity with this
mins -17.734497 maxs 17.734497
mins 0.000000 maxs 0.000000
mins -124.598808 maxs 124.598808
and it gives the error in the topic why ?
Forum: Scripting Help 06-30-2012, 09:49
Replies: 0
Views: 482
Posted By Dr7sTyLe
Creating An Entity

http://i50.tinypic.com/2euon45.png
Reffering to the picture as an example.^^
blue point = origin
red point = origin
green point = origin of the center of the blue and the red.

if i want to...
Forum: Scripting Help 02-02-2012, 11:27
Replies: 9
Views: 1,460
Posted By Dr7sTyLe
Re: what is wrong ?

ok that was the problem.
but now when i use "a" it writes the string into the current line so all the string are stuck for example it should be:
a
b
c

it is abc and its annoying
Forum: Scripting Help 02-02-2012, 11:15
Replies: 9
Views: 1,460
Posted By Dr7sTyLe
Re: what is wrong ?

it should write it at the end of the file
new const gszFile[] = "addons/amxmodx/configs/freekill.ini";
yes it should read only the first arg.
Forum: Scripting Help 02-02-2012, 11:11
Replies: 9
Views: 1,460
Posted By Dr7sTyLe
Re: what is wrong ?

for example in console:
cmd_xx "XXX"
it will write "XXX" in the file
Forum: Scripting Help 02-02-2012, 11:04
Replies: 9
Views: 1,460
Posted By Dr7sTyLe
what is wrong ?

new szArg[256];
read_argv( 1, szArg, charsmax( szArg ) );
new iFile = fopen( gszFile, "wt" );
fputs( iFile, szArg );
fclose( iFile );
RefreshList();
return PLUGIN_HANDLED;
whats wrong...
Forum: Scripting Help 01-28-2012, 08:06
Replies: 2
Views: 897
Posted By Dr7sTyLe
Re: UserInfoChanged

i just want it to print the new user name instead of the X CHANGED NAME TO XX
Forum: Scripting Help 01-28-2012, 08:00
Replies: 2
Views: 897
Posted By Dr7sTyLe
UserInfoChanged

#include <amxmodx>
#include <fakemeta>
#include <engine>

public plugin_init()
{
register_forward( FM_ClientUserInfoChanged, "fwdClientUserInfoChanged", 1 );
}

public...
Forum: Unapproved/Old Plugins 01-27-2012, 15:47
Replies: 7
Views: 2,556
Posted By Dr7sTyLe
Re: Extra Round Time ( Higher Than 9 Minutes )

Did one of you even bothered trying it ? i guess not.
I tested it in my server before posting im not that stupid.
The time was 25:00 minutes waited untill it reaches 0:00 and then a new round...
Forum: Unapproved/Old Plugins 01-27-2012, 15:42
Replies: 7
Views: 2,556
Posted By Dr7sTyLe
Re: Extra Round Time ( Higher Than 9 Minutes )

in fact it does.
i set the cvar to "900" which means 15 minutes.
i waited 15 minutes on the server watching the timer goes down, and when the timer reaches zero i got the message Target Saved or...
Forum: Unapproved/Old Plugins 01-27-2012, 15:36
Replies: 7
Views: 2,556
Posted By Dr7sTyLe
Extra Round Time ( Higher Than 9 Minutes )

Extra Round Time:

Description:
Gives you the possibility to increase the round time more than the max 9 minutes

Cvars:
- extra_round_time < 0 / 1 > | default : 1
( Plugin Enabled Or Disabled...
Forum: Scripting Help 01-25-2012, 13:48
Replies: 4
Views: 991
Posted By Dr7sTyLe
Re: register_event - flags

how do i use it ?
Forum: Scripting Help 01-25-2012, 13:36
Replies: 4
Views: 991
Posted By Dr7sTyLe
Re: register_event - flags

but if one of these is supposed to be in there too:
"c" - Send only once when repeated to other players
"d" - Only if sent to a dead player
"e" - Only if sent to an alive player
and another...
Forum: Scripting Help 01-25-2012, 13:27
Replies: 4
Views: 991
Posted By Dr7sTyLe
register_event - flags

http://wiki.alliedmods.net/Half-Life_1_Game_Events

when i register an event, how should i know what flags are good for this event ?
I dont know if its a global or a player specific event.
Forum: Scripting Help 01-24-2012, 08:38
Replies: 5
Views: 1,166
Posted By Dr7sTyLe
What Wrong In This Line ?

if( { g_flOrigin[ iTarget ][ 0 ], g_flOrigin[ iTarget ][ 1 ], g_flOrigin[ iTarget ][ 2 ] } == { fl_Origin[ 0 ], fl_Origin[ 1 ], fl_Origin[ 2 ] } )
Forum: Scripting Help 01-18-2012, 11:44
Replies: 1
Views: 713
Posted By Dr7sTyLe
Can change weapon model

set_pev( iPlayer, pev_viewmodel2, "models/knife.mdl" );

precache_generic( "models/knife.mdl" );

why its not working ?
Forum: Scripting Help 01-18-2012, 06:58
Replies: 2
Views: 638
Posted By Dr7sTyLe
Re: Whats wrong in this code

LOL.
That was in my first code, but it didn't work because i forgot to put .ini in the file path, so i removed it :O now i see i shouldnt done that ty.
Forum: Scripting Help 01-18-2012, 06:19
Replies: 2
Views: 638
Posted By Dr7sTyLe
Whats wrong in this code

for( new i = 0; i < file_size( szPath ) ; ++i )
{
ArrayGetString( g_aArray, i, szFullOrigin, sizeof( szFullOrigin ) - 1 );
parse( szFullOrigin, szOrigin, sizeof( szOrigin ) - 1, szOrigin2,...
Forum: Scripting Help 01-14-2012, 13:33
Replies: 2
Views: 580
Posted By Dr7sTyLe
Help Enumerations

I tried doing something with enums but i get a tag mismatch warning
enum PlayerType
{
PLAYER_FIRST,
PLAYER_SECOND,
PLAYER_THIRD
}

new PlayerType:g_iPlayerType[33] = PLAYER_FIRST;
Forum: Scripting Help 12-19-2011, 10:26
Replies: 2
Views: 741
Posted By Dr7sTyLe
Array crashing my server

My first time using arrays and the server is crashed when loading
#include < amxmodx >

new Array:aArray;

public plugin_cfg( )
{
aArray = ArrayCreate( 32 );
new iFile = fopen(...
Forum: Scripting Help 11-28-2011, 09:12
Replies: 1
Views: 656
Posted By Dr7sTyLe
Re: Change Chars

i think russian can be supported with MLs
Forum: Scripting Help 11-28-2011, 08:45
Replies: 6
Views: 1,134
Posted By Dr7sTyLe
Re: a stock

Both stocks skipping some chars
Forum: Scripting Help 11-26-2011, 06:30
Replies: 6
Views: 1,134
Posted By Dr7sTyLe
a stock

can someone give me a stock that takes a string e.g "my name is" and turn it into "si eman ym" it is possible i saw it on some servers.
Showing results 1 to 25 of 183

 
Forum Jump

All times are GMT -4. The time now is 10:34.


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