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-07-21 (original capture). Home · Forum · All archived topics · Downloads

Author Topic: anyone know how to make it work?  (Read 69 times)

^[Psycho]^

  • Level 4 Intermediate
  • Posts: 82
  • <3 WCS :)
anyone know how to make it work?
« on: July 17, 2010, 10:46:12 PM »
Hello, i have some questions,

i want to make some stuff, does someone of you know how to make this work?

Code: [Select]
    es_delayed 1.1 es wcs_restrict server_var(playerid) knife
and this

Code: [Select]
    es_delayed 1.1 es est_setplayercolor server_var(playerid) 255 255 255 255 1
what i have to do to make this work??? or are there any alternatives for that?

[Oddity]TeacherCreature

  • Moderator
  • Level 7 Expert
  • Posts: 1626
Re: anyone know how to make it work?
« Reply #1 on: July 17, 2010, 11:59:51 PM »
instead of playerid

you use wcs_userid

^[Psycho]^

  • Level 4 Intermediate
  • Posts: 82
  • <3 WCS :)
Re: anyone know how to make it work?
« Reply #2 on: July 18, 2010, 12:12:13 AM »
instead of playerid

you use wcs_userid
so it should look like that?

Code: [Select]
    es_delayed 1.1 es est_setplayercolor wcs_userid 255 255 255 255 1
Code: [Select]
    es_delayed 1.1 es wcs_restrict wcs_userid knife

joshtrav

  • Level 7 Expert
  • Posts: 165
  • Country:
Re: anyone know how to make it work?
« Reply #3 on: July 18, 2010, 02:50:35 AM »
instead of playerid

you use wcs_userid
so it should look like that?

Code: [Select]
    es_delayed 1.1 es est_setplayercolor wcs_userid 255 255 255 255 1
Code: [Select]
    es_delayed 1.1 es wcs_restrict wcs_userid knife

Again I suck with ES Shell but I thhought it was server_var(wcs_userid)

Again, I could totally be wrong.

[Oddity]TeacherCreature

  • Moderator
  • Level 7 Expert
  • Posts: 1626
Re: anyone know how to make it work?
« Reply #4 on: July 18, 2010, 03:02:33 AM »
u r correct I said replace playerid not server_var

joshtrav

  • Level 7 Expert
  • Posts: 165
  • Country:
Re: anyone know how to make it work?
« Reply #5 on: July 18, 2010, 03:49:34 AM »
u r correct I said replace playerid not server_var

So do you need server_var anymore?  I know you did back in the day (circa 2-3 years ago) or is that no longer needed in shell?

[Oddity]TeacherCreature

  • Moderator
  • Level 7 Expert
  • Posts: 1626
Re: anyone know how to make it work?
« Reply #6 on: July 18, 2010, 03:58:00 AM »
still is
u were right with ur advice

server_var(wcs_userid) for ultimates
or
event_var(userid) for regular skills

joshtrav

  • Level 7 Expert
  • Posts: 165
  • Country:
Re: anyone know how to make it work?
« Reply #7 on: July 18, 2010, 04:29:32 AM »
Gotcha, thanks for the info!