Goodkidz
Level 0 Beginner
Offline
 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]
|
 |
« 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 
|
|
|
|
|
Logged
|
|
|
|
(.:(»Ŧмú«):.)๖ۜAñgêløک
Level 2 Apprentice

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. es_give event_var(userid) weapon_knife
|
|
|
|
|
Logged
|
|
|
|
|
[Oddity]TeacherCreature
|
 |
« 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
|
 |
« Reply #4 on: April 29, 2009, 06:41:43 PM » |
|
did you restricted it?
|
|
|
|
|
Logged
|
Learning Eventscripts and WCS lover *-* I love WCS 
|
|
|
Goodkidz
Level 0 Beginner
Offline
 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. es_give event_var(userid) weapon_knife Where is player_spwncmd
|
|
|
|
|
Logged
|
|
|
|
|
WCA | Berettonawak [FR]
|
 |
« 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
|
 |
« 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 
|
|
|
|
Dark Phoenix
|
 |
« 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. 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
|
 |
« 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 
|
|
|
|
|
(.:(»Ŧмú«):.)๖ۜAñgêløک
Level 2 Apprentice

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]
|
 |
« Reply #12 on: April 30, 2009, 01:10:02 PM » |
|
A delay can only make bug  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
|
 |
« 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]
|
 |
« 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
|
|
|
|
|