Rules
FAQ
Members List
Search
Register
Login
Raised This Month: $51
Target: $400
12%
Search Forums
Show Threads
Show Posts
Advanced Search
Go to Page...
Page 1 of 2
1
2
>
Showing results 1 to 25 of 40
Search took
0.00
seconds.
Search:
Posts Made By:
jok
Forum:
Scripting Help
05-10-2014, 07:13
Replies:
7
Player walk distance
Views:
1,664
Posted By
jok
Re: Player walk distance
What do you mean player walk distance?
Distance from one origin to another?
If so you can use get_distance for integers or get_distance_f for float.
Forum:
Scripting Help
05-06-2014, 18:37
Replies:
7
[help] i can set models with chance to the players
Views:
811
Posted By
jok
Re: [help] i can set models with chance to the players
There's no need for random_num here, though it could be used aswell.
Also, you have a slight mistake in your example. MODEL_VARIADOS's elements go from 0 to 3.
You did random_num( 0, 4 ) which can...
Forum:
Scripting Help
05-01-2014, 20:02
Replies:
7
[help] i can set models with chance to the players
Views:
811
Posted By
jok
Re: [help] i can set models with chance to the players
If I got you right, you want random models. So use this:
cs_set_user_model( i, MODEL_VARIADOS[ random( 4 ) ] );
Forum:
Scripting Help
04-29-2014, 08:31
Replies:
4
Unlock System for knifes errors.
Views:
1,090
Posted By
jok
Re: Unlock System for knifes errors.
enum _:Knife_Shop
{
Dual_Katana
Dragon_Sword
Beam_Sword
Balrog_9
}
->
Forum:
Scripting Help
04-13-2014, 20:04
Replies:
13
Looping
Views:
1,508
Posted By
jok
Re: Looping
whoops, fixed.
Forum:
Scripting Help
04-13-2014, 18:41
Replies:
13
Looping
Views:
1,508
Posted By
jok
Re: Looping
He said he's a starter, I didn't want to confuse him with anything, and yet I did say at the bottom that he can set a variable with the value of the max players in the server, and use that instead of...
Forum:
Scripting Help
04-13-2014, 16:26
Replies:
13
Looping
Views:
1,508
Posted By
jok
Re: Looping
Your while loop will not work AFAIK.
It doesn't work like a for loop where you're allowed to set the variable within the while's parenthesis.
You're gonna have to declare variable i above the loop.
Forum:
Scripting Help
04-13-2014, 15:39
Replies:
13
Looping
Views:
1,508
Posted By
jok
Re: Looping
No since:
give_item( index,weaponString ) doesn't give everyone a weapon when you put 0 as index like other functions ( for example show_hudmessage ), putting 0 as index will actually try giving the...
Forum:
Scripting Help
04-13-2014, 15:18
Replies:
13
Looping
Views:
1,508
Posted By
jok
Re: Looping
I'll show you looping through players, that'll give you the main idea and the way to loop through players.
Players are entities. ( If you don't know what entities are, you can read at some entity...
Forum:
Scripting Help
04-11-2014, 17:41
Replies:
2
set_es color
Views:
495
Posted By
jok
Re: set_es color
I just need specific players to be able to watch themselves. I don't need others to see the glow too, therefore I don't use set_user_rendering for this.
Forum:
Scripting Help
04-11-2014, 15:32
Replies:
2
set_es color
Views:
495
Posted By
jok
set_es color
My current code has this within the addtofullpack function:
set_es( State, ES_RenderFx, kRenderFxGlowShell );
set_es( State, ES_RenderColor, { 255, 0 , 0 } );
set_es( State, ES_RenderMode,...
Forum:
Scripting Help
04-08-2014, 14:47
Replies:
3
move ent
Views:
733
Posted By
jok
Re: move ent
What?..
This code just displays a HUD message and returns 1. Nothing else.
Forum:
Scripting Help
04-07-2014, 17:29
Replies:
13
Compilation error
Views:
6,074
Posted By
jok
Re: Compilation error
Not sure if this is a windows 8 related problem but you might want to try running with compatibility mode for windows 7 and as an administrator.
Forum:
Scripting Help
04-07-2014, 10:57
Replies:
10
error 035: argument type mismatch (argument 1)
Views:
3,504
Posted By
jok
Re: error 035: argument type mismatch (argument 1)
It's not necessary to check for ADMIN_KICK here since you're already doing it in the function
register_concmd("say /am", "adm_menu", ADMIN_KICK)
register_concmd("say_team /am", "adm_menu",...
Forum:
Scripting Help
04-07-2014, 09:48
Replies:
10
error 035: argument type mismatch (argument 1)
Views:
3,504
Posted By
jok
Re: error 035: argument type mismatch (argument 1)
I think I understood what you're saying, not sure though:
case 4: if(get_user_flags(id) & ADMIN_KICK)
{
client_cmd( id, "say .gg" )
server_cmd( "exec gg.cfg" )
}
If you meant...
Forum:
Scripting Help
04-07-2014, 09:43
Replies:
2
[CS/CZ] SOLVED : What is the significance of "joinclass 6" ?
Views:
756
Posted By
jok
Re: [CS/CZ] What is the significance of "joinclass 6" ?
You can only use that command when you're dead, it transfers you to the spectators' team.
So I guess it also said the same when you were a spectator, since its reduntant to jointeam 6 when you're a...
Forum:
Scripting Help
04-05-2014, 03:26
Replies:
18
Hepl me in my new plugin
Views:
3,227
Posted By
jok
Re: Hepl me in my new plugin
https://forums.alliedmods.net/showthread.php?t=40164
Forum:
Scripting Help
03-31-2014, 15:56
Replies:
3
[HELP] What wrong here?
Views:
768
Posted By
jok
Re: [HELP] What wrong here?
// global variable:
new g_iMsgId_ScreenFade;
in public plugin_init( ):
g_iMsgId_ScreenFade = get_user_msgid( "ScreenFade" );
in public RoundEnd( ):
message_begin(MSG_ALL,...
Forum:
Scripting Help
03-29-2014, 20:39
Replies:
9
"Unregister" or block command?
Views:
2,250
Posted By
jok
Re: "Unregister" or block command?
if I got you right:
disassemble the plugin (can only be done if it was compiled before latest amxmodx version) and read the strings for possible commands.
Forum:
Scripting Help
03-29-2014, 20:38
Replies:
2
(Not)solid player
Views:
513
Posted By
jok
Re: (Not)solid player
Basically you're saying that if player X tries to pass through player Y, he'll manage to do that, but if player Y tries to pass through player Z, he can't?
I might be mistaken but I think you need...
Forum:
Scripting Help
03-11-2014, 17:44
Replies:
11
Entity affected by gravity
Views:
2,336
Posted By
jok
Re: Entity affected by gravity
use entity_set_float( iEnt, EV_FL_gravity, 1.0 );
Forum:
Scripting Help
03-11-2014, 10:27
Replies:
4
set_es question
Views:
1,196
Posted By
jok
Re: set_es question
No because I need just two players to be able to see themselves glowing.
AFAIK set_user_rendering would let any player see their glow.
Forum:
Scripting Help
03-10-2014, 14:27
Replies:
4
set_es question
Views:
1,196
Posted By
jok
set_es question
Is it possible to set both the player transparent, and have a glowing shell? I made it to work thogether but, the player's glow was fading in and out every moment.
I used this for transparecy:...
Forum:
Scripting Help
02-28-2014, 09:41
Replies:
6
Formatex copyback
Views:
925
Posted By
jok
Formatex copyback
I wonder, why does formatex sometimes have copyback problems ( happened to me a long in a for loop that repeats itself about 20 or 30 times while trying to use formatex to add items to a menu, fixed...
Forum:
Scripting Help
12-26-2013, 09:03
Replies:
3
Difference between events and forwards
Views:
862
Posted By
jok
Re: Difference between events and forwards
Thanks.
so for instance:
RegisterHam(Ham_Spawn, "player", "funcSpawn" )
if i got it right, then this means the event is player spawn, and the forward is funcSpawn.
is that correct?
Showing results 1 to 25 of 40
Page 1 of 2
1
2
>
Forum Jump
User Control Panel
Private Messages
Subscriptions
Who's Online
Search Forums
Forums Home
Server Discussion
Source Servers (SRCDS)
HL1 Servers (HLDS)
AMX Mod X
News
Bug Reports
General
Off-Topic
Plugins
Suggestions / Requests
Approved Plugins
New Plugin Submissions
Unapproved/Old Plugins
Translation Request
High-Traffic Plugins
GunGame
UAIO (Ultimate All-In-One Plugin)
xREDIRECT
CSDM
AMX Super
RuneMod
Zombie Plague Mod
SuperHero Mod
News
Tech Support
Scripting Help
Off-Topic / General Chat
Heroes
Suggestions / Requests
Approved Heroes
New Submissions
Unapproved/Old Heroes
Module Heroes
SuperHero Mod Stats - By 123
(OLD) Bug Reports
Scripting
Scripting Help
Code Snippets/Tutorials
Module Coding
Donor Access
SourceMod
News
General
Plugins
Plugins
Unapproved Plugins
Plugin/Gameplay Ideas and Requests
High-Traffic Plugins
SourceMod Anti-Cheat
Zombie:Reloaded
SourceBans / SourceBans++
VSH / Freak Fortress
Store
SM_Hosties
HLstatsX:CE
Scripting
Extensions
Snippets and Tutorials
Donor Access
Metamod: Source
Metamod:Source Plugins
Metamod:Source Questions
Coding MM:S Plugins & SM Extensions
Hosted Stuff
Asherkin's Plugins
TFDodgeball
TF2Items
SteamTools
Bail's Plugins
CSDM
CS:S DM
Off-Topic & Trash
Off-Topic
Trash
All times are GMT -4. The time now is
18:01
.
DMCA
-
Archive
-
Top
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode