Raised This Month: $ Target: $400
 0% 

Showing results 1 to 20 of 20
Search took 0.01 seconds.
Search: Posts Made By: BFK_GoNER
Forum: Scripting Help 05-31-2009, 11:11
Replies: 4
Views: 1,398
Posted By BFK_GoNER
Re: ENUM :O

For instance, you want to define a set of constants belonging to the same group. You could do it this way:


// Weapon constants:
#define WEAPON_KNIFE 10
#define WEAPON_DEAGLE 20
#define...
Forum: Scripting Help 05-31-2009, 10:19
Replies: 6
Views: 1,756
Posted By BFK_GoNER
Re: PainSounds

If you want the sound to be heard by one player, use "spk":


// precache the sound first
public plugin_precache()
{
precache_sound ("player/pl_pain2.wav")

return PLUGIN_CONTINUE
}
Forum: Scripting Help 02-20-2009, 06:08
Replies: 10
Views: 5,593
Posted By BFK_GoNER
Re: Help with Color Chat plz.

nope



Check this (http://forums.alliedmods.net/showthread.php?t=63610&highlight=colored+text)and this (http://forums.alliedmods.net/showthread.php?t=45753&highlight=color+chat)
Forum: Scripting Help 02-20-2009, 02:34
Replies: 10
Views: 5,593
Posted By BFK_GoNER
Re: Help with Color Chat plz.

What's wrong with getting http links?
Forum: Scripting Help 02-19-2009, 13:19
Replies: 10
Views: 5,593
Posted By BFK_GoNER
Re: Help with Color Chat plz.

link plz?

is it this one (https://forums.alliedmods.net/showthread.php?t=42159) by any chance?
Forum: Scripting Help 02-19-2009, 07:14
Replies: 13
Views: 2,442
Posted By BFK_GoNER
Re: Crowbar and pistol after respawn

Oh yeah, I solved the crowbar/handgun issue by deleting the weapon entities every time the player respawns:

public DestroyCrowbars()
{
new ent = 32 // entity IDs from 1 to 32 are occupied...
Forum: Scripting Help 02-19-2009, 04:19
Replies: 13
Views: 2,442
Posted By BFK_GoNER
Re: Crowbar and pistol after respawn

The last one is solved as well. For those who are interested check this thread (http://cs.rin.ru/forum/viewtopic.php?f=10&t=51505&start=0). Good luck!
Forum: Scripting Help 02-19-2009, 03:16
Replies: 13
Views: 2,442
Posted By BFK_GoNER
Re: Crowbar and pistol after respawn

Problem solved. Thanks, arkshine. I tried adding the key to liblist.gam, tried running command line with -num_edicts, tried patching the server to the latest version, tried setting up a...
Forum: Scripting Help 02-18-2009, 05:48
Replies: 13
Views: 2,442
Posted By BFK_GoNER
Re: Crowbar and pistol after respawn

Yeah I did tried that too. Still no effect.
I was thinking since metamod throws the error maybe it's metamod-related or game mod-related. I wish I could test it on cstrike server but I can't.
Any...
Forum: Scripting Help 02-18-2009, 05:39
Replies: 3
Views: 1,653
Posted By BFK_GoNER
Re: Replace spawns?

Alternatively, you could change the map entities directly using ripent. It extracts the entities list and parameters from .bsp, which you can change easily and import back into the map. The clients...
Forum: Scripting Help 02-17-2009, 12:17
Replies: 13
Views: 2,442
Posted By BFK_GoNER
Re: Crowbar and pistol after respawn

Whatever I do with the value the maximum number of entities stays the same: 1365 (when there are 32 player slots).

I get this value with global_get() command. Maybe I'm doing something wrong?
Forum: Scripting Help 02-17-2009, 10:31
Replies: 13
Views: 2,442
Posted By BFK_GoNER
Re: Crowbar and pistol after respawn

-- inside the .bat file: --

start hlds -console +map crossfire +maxplayers 32 -num_edicts 2047
Forum: Scripting Help 02-17-2009, 06:45
Replies: 13
Views: 2,442
Posted By BFK_GoNER
Re: Crowbar and pistol after respawn

2) Did not work. Setting the key in liblist.gam gave this:

Host_Error: Couldn't get DLL API from .\valve\addons\metamod\dlls\metamod.dll -num_edicts 2047! Screen...
Forum: Scripting Help 02-17-2009, 03:35
Replies: 13
Views: 2,442
Posted By BFK_GoNER
Re: Crowbar and pistol after respawn

1) Well, not really. Unless a player hits the mouse button he can be in "ghost" state for as long as he wants. By the way, any idea how to disable it?

2) Awesome, I'll try that
Forum: Scripting Help 02-17-2009, 02:25
Replies: 13
Views: 2,442
Posted By BFK_GoNER
Crowbar and pistol after respawn

Hi everybody,

1) I'm trying to code an instant player respawn plugin but I'm running into weird problems already. After intensive web/forum-searching I decided to use the spawn() function, however...
Forum: Scripting Help 02-14-2009, 12:56
Replies: 7
Views: 2,419
Posted By BFK_GoNER
Re: Unknown command: jointeam [HLDM]

Ok, let's rephrase the question. In HLDM, to spectate you have to type "spectate" in console. My question is: what do you type to go back into the game??

Some people already told me that I just...
Forum: Scripting Help 02-12-2009, 18:47
Replies: 7
Views: 2,419
Posted By BFK_GoNER
Re: strip_user_weapons works selectively [HLDM]

Strangely enough, mine does :| Here's the code. Type me_spectate or me_play:

#include <amxmodx>

new PLUGIN[]="spectate and back"
new AUTHOR[]="me"
new VERSION[]="1.00"

public plugin_init()...
Forum: Scripting Help 02-12-2009, 16:28
Replies: 7
Views: 2,419
Posted By BFK_GoNER
Re: strip_user_weapons works selectively [HLDM]

Yes, the client console gives this error: Unknown command: jointeam
Forum: Scripting Help 02-12-2009, 15:02
Replies: 7
Views: 2,419
Posted By BFK_GoNER
Re: strip_user_weapons works selectively [HLDM]

Thanks a lot! I've got another question.

I want my plugin to be able to switch players to spect mode and back. The first part is easy, I just execute the client command "spectate", but how do I...
Forum: Scripting Help 02-12-2009, 01:14
Replies: 7
Views: 2,419
Posted By BFK_GoNER
Unknown command: jointeam [HLDM]

Hey everybody,

I am trying to strip the players of all weapons whenever they pick up one. I use the following code. However, it does not seem to work with grenades, bugs and satchels. It's really...
Showing results 1 to 20 of 20

 
Forum Jump

All times are GMT -4. The time now is 13:49.


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