Archived copy of warcraft-source.com, the Warcraft: Source (WCS) forum (2007–2011), rebuilt from the Internet Archive by wc3mods.net. This page was captured on 2009-05-01 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
May 01, 2009, 05:35:28 AM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Hall of Fame
Must Visit it
Google  
  Home   Forum   Help Search Login Register   *
Pages: [1]   Go Down
  Print  
Author Topic: Knife dropping  (Read 67 times)
Goodkidz
Level 0 Beginner

Offline Offline

United States United States

Posts: 6



« on: April 29, 2009, 01:43:21 AM »

My knife race always drop their knife when they spawn. Is there a way to avoid this ?
Logged
WCA | Berettonawak [FR]
Watchdogs
Level 7 Master
*****
Offline Offline

France France

Posts: 2026


Big Berettonawak is watching you...


WWW
Bifkids

myServer 81.93.251.44:27015
(Warning: click connects through Steam)
« Reply #1 on: April 29, 2009, 01:02:13 PM »

Even with Flame Pred?
If properly coded, it should drop knife, and then re-give one Smiley
Logged

(.:(»Ŧмú«):.)๖ۜAñgêløک
Level 2 Apprentice
**
Offline Offline

United Kingdom

Posts: 55




skeav94
« Reply #2 on: April 29, 2009, 05:03:26 PM »

put this in player_spwncmd  mean every time a player will spawn with a knife.

Code:
es_give event_var(userid) weapon_knife
Logged
[Oddity]TeacherCreature
Co-Administrator
Level 7 Master
*****
Offline Offline

United States United States

Posts: 1213



WWW
bonggged

myServer 208.167.227.103:27015
(Warning: click connects through Steam)
« Reply #3 on: April 29, 2009, 05:25:35 PM »

Many people want to make a knife race and restrict all weapons and it makes the player drop them.

Instead before you put restrict all try est_removeweapon so that you wont get a pike of knives on the floor lol.
Logged

Ðioguinhu :D
Level 6 Experienced
******
Offline Offline

Brazil Brazil

Posts: 215



WWW
doug_tiozao

myServer 200.219.246.21:27040 ZM +WCS;200.219.246.54:27047 SURF + WCS
(Warning: click connects through Steam)
« Reply #4 on: April 29, 2009, 06:41:43 PM »

did you restricted it?
Logged

Learning Eventscripts and WCS lover *-*
I love WCS Grin
Goodkidz
Level 0 Beginner

Offline Offline

United States United States

Posts: 6



« Reply #5 on: April 29, 2009, 08:11:56 PM »

put this in player_spwncmd  mean every time a player will spawn with a knife.

Code:
es_give event_var(userid) weapon_knife

Where is player_spwncmd Huh
Logged
WCA | Berettonawak [FR]
Watchdogs
Level 7 Master
*****
Offline Offline

France France

Posts: 2026


Big Berettonawak is watching you...


WWW
Bifkids

myServer 81.93.251.44:27015
(Warning: click connects through Steam)
« Reply #6 on: April 29, 2009, 08:14:26 PM »

player_spawn_cmd in the race's code (es_WCSraces_db.txt)
Logged

Ðioguinhu :D
Level 6 Experienced
******
Offline Offline

Brazil Brazil

Posts: 215



WWW
doug_tiozao

myServer 200.219.246.21:27040 ZM +WCS;200.219.246.54:27047 SURF + WCS
(Warning: click connects through Steam)
« Reply #7 on: April 29, 2009, 11:33:15 PM »

its a line on races, it serves to add comands that you execute when you spawn, like ammo, skins and etc
Logged

Learning Eventscripts and WCS lover *-*
I love WCS Grin
Dark Phoenix
Level 4 Intermediate
****
Offline Offline

Canada Canada

Posts: 99




shadephoenix
« Reply #8 on: April 29, 2009, 11:35:14 PM »

put this in player_spwncmd  mean every time a player will spawn with a knife.

Code:
es_give event_var(userid) weapon_knife

u need to add a delay dude
Logged

Three days grace is the best band ever and if you disagree u got a screw loose in your head.So put that screw back in and listen to some three days grace!

___________________________________________________

95% of teens would cry if they saw the Jonas Brothers at the top of a skyscraper about to jump. Copy and paste this EVERYWHERE if you are in the 5% that would shout 'Jump' .
Ðioguinhu :D
Level 6 Experienced
******
Offline Offline

Brazil Brazil

Posts: 215



WWW
doug_tiozao

myServer 200.219.246.21:27040 ZM +WCS;200.219.246.54:27047 SURF + WCS
(Warning: click connects through Steam)
« Reply #9 on: April 29, 2009, 11:40:08 PM »

es es_xdelayed 2.0 est_give server_var(wcs_userid) weapon_knife
Logged

Learning Eventscripts and WCS lover *-*
I love WCS Grin
WCA | Berettonawak [FR]
Watchdogs
Level 7 Master
*****
Offline Offline

France France

Posts: 2026


Big Berettonawak is watching you...


WWW
Bifkids

myServer 81.93.251.44:27015
(Warning: click connects through Steam)
« Reply #10 on: April 30, 2009, 06:16:18 AM »

u need to add a delay dude
why that?
Logged

(.:(»Ŧмú«):.)๖ۜAñgêløک
Level 2 Apprentice
**
Offline Offline

United Kingdom

Posts: 55




skeav94
« Reply #11 on: April 30, 2009, 07:44:00 AM »

es es_xdelayed 2.0 est_give server_var(wcs_userid) weapon_knife

i said that but u just put a delay in front which doesn't need to there every round they will get a knife even if its got a stupid delay
Logged
WCA | Berettonawak [FR]
Watchdogs
Level 7 Master
*****
Offline Offline

France France

Posts: 2026


Big Berettonawak is watching you...


WWW
Bifkids

myServer 81.93.251.44:27015
(Warning: click connects through Steam)
« Reply #12 on: April 30, 2009, 01:10:02 PM »

A delay can only make bug Sad

With ES max delay number is limited to 100... so when you have 30 players having each 5 delays on spawn ---> bug
Logged

[Oddity]TeacherCreature
Co-Administrator
Level 7 Master
*****
Offline Offline

United States United States

Posts: 1213



WWW
bonggged

myServer 208.167.227.103:27015
(Warning: click connects through Steam)
« Reply #13 on: April 30, 2009, 01:38:59 PM »

WOW WTF add remove weapon

es est_removeweapon event_var(userid) 3
Do that first and noe knife to the floor.
Logged

WCA | Berettonawak [FR]
Watchdogs
Level 7 Master
*****
Offline Offline

France France

Posts: 2026


Big Berettonawak is watching you...


WWW
Bifkids

myServer 81.93.251.44:27015
(Warning: click connects through Steam)
« Reply #14 on: April 30, 2009, 01:58:07 PM »

WOW WTF add remove weapon

es est_removeweapon event_var(userid) 3
Do that first and noe knife to the floor.

Weren't we saying that the race had no knife?
Or that he threw a knife before getting another one?
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
April 30, 2009, 11:47:31 PM
i don't like that, but you can get cracked css for free, so why 5 dollars?
now please stop
April 30, 2009, 11:34:36 PM
lol berretton you cant do math 5 dollars is not the same as 20 dollars....by the way you know what kind hack does pietro want for $5..that's what you told chuck and what it do....
April 30, 2009, 10:58:12 PM
Pietro is not giving a bad reputation to WCA, although he's a bit quick to get nerved by noobs.
Ramon, yes he bought such a hack, it's called "buy new css for 20 dollars"
April 30, 2009, 10:14:25 PM
you said we didn't quit you noob? lol didn't you wrote in topic that i quit this site because berreton did than samuri did....don't lie pietro....oh yeah didn you sell model from chuck so he can pay you 5 bucks so you can buy a hack that you can't get vac ban?Huh
April 30, 2009, 06:56:56 PM
Tongue WCA sorry for the spam from me and the kid pietro
April 30, 2009, 06:40:01 PM
I would add more names to that list but I don't need anymore drama in my life let alone my thread Tongue
April 30, 2009, 06:32:07 PM
Yea im being a kid to but realy Pietro is giving WCA a bad reputation
Recent
[Today at 05:29:23 AM]

[Today at 04:42:31 AM]

[Today at 02:47:18 AM]

[Today at 02:43:52 AM]

[Today at 01:02:47 AM]

[Today at 12:56:20 AM]

[Today at 12:35:09 AM]

[Today at 12:04:29 AM]

[April 30, 2009, 11:55:07 PM]

[April 30, 2009, 11:37:23 PM]
Theme switch

Powered by MySQL Powered by PHP Powered by SMF 1.1.4 | SMF © 2006-2007, Simple Machines LLC
TinyPortal v0.9.8 © Bloc
Valid XHTML 1.0! Valid CSS!
Page created in 0.055 seconds with 26 queries.