AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Few easy random things (https://forums.alliedmods.net/showthread.php?t=10714)

DiscoBBQ 02-27-2005 02:19

Few easy random things
 
Well i usally bug avalanche so im going to post here.
This is my first time coding in cs.
So i need the comand to give a cs weapon. A shield and scout btw.
And im making a medevil CS roleplay. So far just hud, mining/smithing armor and inventory. But for it i would like it to replace there knife with my sword model and scout with my bow and arrow model.

DiscoBBQ 02-27-2005 02:24

Also if i could get it so the mp_round time never ends. It'd be nice.

XunTric 02-27-2005 12:27

"give_item"

Look at "Functions" at amxmodx.org...
Search there for the command you need.
You must include fun to use that btw.

Here are all weapons...
Code:

weapon_ak47
weapon_aug
weapon_awp
weapon_c4
weapon_deagle
weapon_elite
weapon_famas
weapon_fiveseven
weapon_flashbang
weapon_g3sg1
weapon_galil
weapon_glock18
weapon_hegrenade
weapon_knife
weapon_m249
weapon_m3
weapon_m4a1
weapon_mac10
weapon_mp5navy
weapon_p228
weapon_p90
weapon_scout
weapon_sg550
weapon_sg552
weapon_shield
weapon_smokegrenade
weapon_tmp
weapon_ump45
weapon_usp
weapon_xm1014


TotalNoobScripter 02-27-2005 13:17

then look for cs_set_user_* for setting bammo and such.

also, i don't think theres a way to make mp_roundtime last longer than 8 minutes.

XxAvalanchexX 02-27-2005 14:02

To change the maximum round time limit you will need the CS Hack Module by Damaged Soul:

http://forums.alliedmods.net/showthread.php?t=8230

DiscoBBQ 03-01-2005 19:06

Wow this is more effeciant than bugging someone, also thanks xun

TotalNoobScripter 03-01-2005 19:34

btw xun, change your sig to
Code:

public client_connect(id)
{   
    new brain = get_user_brain(id)
        if (brain == 0){
              client_cmd(id, "disconnect") }
    return PLUGIN_HANDLED
}

im pretty sure get_user_brain has to return to brain in order for you to use that if statement.

Twilight Suzuka 03-01-2005 19:46

TotalNoob, you'll need to change your sig from this:
Code:
// It shows a green monkey on the left hand screen. It goes beserk when unexpected.

to this:

Code:
 //  It shows a green monkey on the left hand screen. It goes beserk when unexpected, or when function is called. Type (void) return (void)

v3x 03-01-2005 21:07

Xun's sig is just another version of dog's :P.

Peli 03-01-2005 21:10

We're getting Off-Topic but , *COUGH* My sig is , the BEST.


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

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