Raised This Month: $32 Target: $400
 8% 

Showing results 1 to 25 of 500
Search took 0.03 seconds.
Search: Posts Made By: Batman/Gorlag
Forum: Scripting Help 09-16-2006, 04:21
Replies: 8
Views: 2,287
Posted By Batman/Gorlag
Re: How can a coder find out if the user has other heroes ?

In your poison ivy code you first have to set a user's info using set_user_info, like in this code in your hero_init:

//if the person has poison ivy's power
set_user_info(id, "POISON", "1")
...
Forum: Off-Topic / General Chat 05-23-2006, 20:46
Replies: 10
Views: 2,988
Posted By Batman/Gorlag
Oh wow, he comes back just to reply to this...

Oh wow, he comes back just to reply to this thread :lol:

Anyways here's a cake just for you:

http://sports.ngenres.com/screens/none/Cake%201.jpg

Hope you enjoy it :) .
Forum: Suggestions / Requests 05-20-2006, 17:48
Replies: 41
Views: 10,225
Posted By Batman/Gorlag
Or even every 1/10th of a second. (Heroes using...

Or even every 1/10th of a second. (Heroes using think functions).
Forum: Scripting Help 05-17-2006, 00:54
Replies: 1
Views: 932
Posted By Batman/Gorlag
If something[id] is in the include, and both...

If something[id] is in the include, and both plugins share the include, then yes.
Forum: Off-Topic / General Chat 05-15-2006, 03:40
Replies: 12
Views: 2,595
Posted By Batman/Gorlag
Good to see you again.

Good to see you again.
Forum: Scripting Help 05-15-2006, 03:35
Replies: 1
Views: 1,001
Posted By Batman/Gorlag
//------------------------------------------------...

//---------------------------------------------------------------------------------------------
public awp_weapons(id)
{
if ( is_user_alive(id) && shModActive() ) {
...
Forum: Off-Topic / General Chat 05-07-2006, 02:29
Replies: 10
Views: 2,523
Posted By Batman/Gorlag
Yes, happy birthday vittu :D . Here's a cake...

Yes, happy birthday vittu :D . Here's a cake for you:

http://www.perfect-petals.co.uk/Old%20Fashioned%20Peach%20Rose%20Cake%20Large.jpg

Oh wait, sorry that's a wedding cake, here's a birthday...
Forum: Scripting Help 05-06-2006, 11:54
Replies: 2
Views: 1,183
Posted By Batman/Gorlag
AMMOX_FLASHBANG should be 11, and...

AMMOX_FLASHBANG should be 11, and AMMOX_SMOKEGRENADE should be 13.
Forum: Off-Topic / General Chat 05-05-2006, 16:30
Replies: 27
Views: 6,699
Posted By Batman/Gorlag
Yeah, we (my friends and I) all go out and have...

Yeah, we (my friends and I) all go out and have fun. Does that mean that just because we play runescape we're on the comp 24/7? No
Yeah we earn money with part-time jobs, like working in the...
Forum: Off-Topic / General Chat 05-05-2006, 03:29
Replies: 27
Views: 6,699
Posted By Batman/Gorlag
What would classify as exciting to you?

What would classify as exciting to you?
Forum: Off-Topic / General Chat 05-04-2006, 18:38
Replies: 27
Views: 6,699
Posted By Batman/Gorlag
Alot of people of varying age played runescape,...

Alot of people of varying age played runescape, why, just the other day, I saw a guy who looked in his 40s playing the game in the library. Plus some of my friends (19-21) play it as well and...
Forum: Scripting Help 05-03-2006, 06:20
Replies: 3
Views: 1,386
Posted By Batman/Gorlag
Do as jtp10181 says. Change this: ...

Do as jtp10181 says.

Change this:

public plugin_precache()
{
precache_model("models/player/JetStream/sh_jetstream.mdl")
}
Forum: Scripting Help 05-03-2006, 05:13
Replies: 6
Views: 1,739
Posted By Batman/Gorlag
Never knew that, thought it would just take any...

Never knew that, thought it would just take any folder name. Thanks for the info.
Forum: Scripting Help 05-02-2006, 15:03
Replies: 6
Views: 1,739
Posted By Batman/Gorlag
#if defined AMXX_VERSION ...

#if defined AMXX_VERSION
cs_set_user_model(id, "sh_jetstream")
#else
CS_SetModel(id, "sh_jetstream")
#endif


Try JetStream instead of sh_jetstream.

cs_set_user_model...
Forum: Off-Topic / General Chat 05-02-2006, 07:00
Replies: 78
Views: 28,709
Posted By Batman/Gorlag
Well, in case you guys forgot about what was...

Well, in case you guys forgot about what was causing the sh_set_user_lvl bug, I'll point it out here:

In sheroapi.cpp, this:
//Set user LVL
void SheroAPI::setLVL(int iPlayer, int LVL)
{...
Forum: Scripting Help 05-01-2006, 23:29
Replies: 10
Views: 2,511
Posted By Batman/Gorlag
register_event("ResetHUD", "yourfunction", "be") ...

register_event("ResetHUD", "yourfunction", "be")
//calls a function, yourfunction, whenever you respawn

Use that.
Forum: Scripting Help 05-01-2006, 03:19
Replies: 9
Views: 2,324
Posted By Batman/Gorlag
Well, I had a chat with BAIL, and this is how to...

Well, I had a chat with BAIL, and this is how to create a named entity:

new classname = engfunc(EngFunc_AllocString, "beam")
new beam = engfunc(EngFunc_CreateNamedEntity, classname)

If you...
Forum: Scripting Help 04-30-2006, 20:31
Replies: 3
Views: 1,496
Posted By Batman/Gorlag
register_message(get_user_msgid("DeathMsg"),...

register_message(get_user_msgid("DeathMsg"), "death_check")

public death_check(msg_id, msg_dest, msg_entity)
{
new killer = get_msg_arg_int(1)
new victim = get_msg_arg_int(2)
if(killer ==...
Forum: Scripting Help 04-30-2006, 15:21
Replies: 3
Views: 1,496
Posted By Batman/Gorlag
For blocking the death message: ...

For blocking the death message:

register_message(get_user_msgid("DeathMsg"), "death_check")

public death_check(msg_id, msg_dest, msg_entity)
{
if(get_msg_arg_int(1) == 0) //first argument...
Forum: Scripting Help 04-29-2006, 21:13
Replies: 11
Views: 3,705
Posted By Batman/Gorlag
if (wpnid == CSW_M4A1) { // Weapon...

if (wpnid == CSW_M4A1) {
// Weapon Model change thanks to [CCC]Taz-Devil
Entvars_Set_String(id, EV_SZ_viewmodel, "models/shmod/gundam_m4a1.mdl")
}


You were missing an...
Forum: Off-Topic / General Chat 04-29-2006, 00:36
Replies: 2
Views: 1,116
Posted By Batman/Gorlag
You can use notepad or wordpad to open it.

You can use notepad or wordpad to open it.
Forum: Approved Plugins 04-28-2006, 18:45
Replies: 20
Views: 30,522
Posted By Batman/Gorlag
Using get_pcvar_num is much faster than...

Using get_pcvar_num is much faster than get_cvar_num. That's the difference.
Forum: Scripting Help 04-28-2006, 18:18
Replies: 14
Views: 2,692
Posted By Batman/Gorlag
Just to let you know it should be ...

Just to let you know it should be

set_user_maxspeed(id, 1000.0)

not 1000. Otherwise you'll get a tag mismatch warning.
Forum: Scripting Help 04-28-2006, 18:05
Replies: 26
Views: 6,639
Posted By Batman/Gorlag
public death_event() { new killer =...

public death_event()
{
new killer = read_data(1) //Gets the attacker
new victim = read_data(2) //gets u the person that dies ID.

//This line will get called if the victim is connected and...
Forum: Scripting Help 04-28-2006, 17:46
Replies: 11
Views: 3,705
Posted By Batman/Gorlag
//in plugins_init() //Gets called when...

//in plugins_init()

//Gets called when you're using a weapon.
register_event("CurWeapon", "changeWeapon", "be". "1=1")

public changeWeapon(id)
{
switchmodel(id)
}
Showing results 1 to 25 of 500

 
Forum Jump

All times are GMT -4. The time now is 23:31.


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