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 2010-02-05 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
February 05, 2010, 06:37:32 PM *
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: Hilfe weger dem shopmenu  (Read 80 times)
Smokey
Level 0 Beginner

Offline Offline

Germany Germany

Posts: 3



« on: August 19, 2009, 01:33:33 PM »

Hallo

Ich habe da ein kleines Problem und zwar wollte ich es so machen das man sich durch das Shopmenu nur noch 1 mal pro runde wieder beleben kann ich habe in der shopmenu db das item respawn so stehen:

  "respawn"
  {
  "name"        "wcs_lng_s_respawn"
  "description" "wcs_lng_s_respawnd"
  "category"    "3"
  "cost"        "3000"
  "level"       "0"
  "dab"         "2"
  "duration"    "1"
  "maxamount"   "1" <<<<<<soweit ich weis bedeutet das das es nur einmal geht
  "itemconfig"  "player_death"
  "cmdbuy"      "if (event_var(es_userdead) = 1) then es_xdelayed 2 est_spawn event_var(userid);if (event_var(es_userdead) = 1) then es_xkeysetvalue WCSuserdata event_var(userid) respawn 0;if (event_var(es_userdead) = 0) then es_xkeysetvalue WCSuserdata event_var(userid) respawn 1"
  "cmdactivate" "es_keygetvalue wcs_respawn WCSuserdata event_var(userid) respawn;if (server_var(wcs_respawn) = 1) then es_xkeysetvalue WCSuserdata event_var(userid) respawn 0;if (server_var(wcs_respawn) = 1) then es_xdelayed 5 est_spawn event_var(userid);wcs_getlanguage wcs_lng wcs_lng_s_respawna;if (server_var(wcs_respawn) = 1) then es_xdelayed 4.5 es_xtell event_var(userid) #multi server_var(wcs_lng)"
  }

aber es geht trotzdem 3 4 mal ich versteh das einfach nicht und es ist schon blöd wenn man sich dauertn wiederbelebt.
Hoffe es weis einer ne lösung MfG
Logged
Killa
Level 3 Trained Apprentice
***
Offline Offline

Germany Germany

Posts: 69



« Reply #1 on: September 26, 2009, 07:32:56 PM »

Kann dir nicht ganz helfen, nur soweit:
"maxamount"   "1" heißt, dass du es einmal kaufen kannst.
Dass es nur einmal funktioniert, musst du irgendetwas am Code ändern.
Z.B. Orcish Horde respawnt nur 1mal, Orcish Lord mehrmals. (Zumindest auf meinem Server xD)...
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 03:56:44 PM
wow there only 780 wcs member...in steam group?
February 04, 2010, 10:14:46 PM
Anyone know the if there is a code where if some kills someone with a knife they get hp and speed?
February 04, 2010, 02:33:47 AM
Sup?
February 04, 2010, 02:33:37 AM
hey Ghost
February 04, 2010, 01:44:10 AM
hey dark
February 02, 2010, 10:43:30 AM
Yap, he mean eventscripter xD
February 02, 2010, 01:03:48 AM
Eventscripter. lol
Recent
[Today at 05:06:11 PM]

[Today at 05:05:45 PM]

[Today at 05:01:28 PM]

[Today at 04:48:09 PM]

[Today at 05:06:36 AM]

[February 04, 2010, 09:26:55 PM]

[February 04, 2010, 06:11:26 PM]

[February 04, 2010, 05:54:42 PM]

[February 04, 2010, 03:16:50 PM]

[February 04, 2010, 12:44:51 AM]
Theme switch

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