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-01-03 (original capture). Home · Forum · All archived topics · Downloads
Warcraft-Source.com - WCS mod for CSS
January 03, 2010, 03:36:55 PM *
Welcome, Guest. Please login or register.
Login with username, password and session length
News: Please obey the rules, to achieve a pleasent order in our community.
Google  
  Home   Forum   Help Search Login Register   *
Pages: 1 [2]   Go Down
  Print  
This topic has not yet been rated! You have not rated this topic. Select a rating:
Author Topic: :D Requesting another custom skill!  (Read 161 times)
Zawmbee
Guest
« Reply #15 on: November 29, 2009, 07:50:13 PM »

Yes zawmbee it can be very simplified, i think he wants to restrict everyting?

He wants whatever gun that person was using to be restricted...
Logged
gimik
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 187



« Reply #16 on: November 29, 2009, 08:40:58 PM »




Heh, it can be a whole lot more simple with only 1 set of coding... Lookee here:
Code:
event player_attacker
{
if (server_var(dice) <= 20) do
{
es_xset weapon_type event_var(weapon)
es es_delayed .1 est_stripplayer event_var(userid)
es es_delayed .2 est_restrict event_var(userid) server_var(weapon_type)
}
}

This code will restrict the weapon that the person is using?

Logged




DanMister
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 204


no autographs, please.



Danthescam
danmi5ter
« Reply #17 on: November 29, 2009, 09:22:13 PM »

but i wasn't critizing you either. remember we talked and i said it was just confusing to me not 'messy'. but w/e...
Logged

Quote
theres a thing called copy and paste. I think someone named Bill Gates made it…. -DanMister

Quote
"Genius may have its limitations, but stupidity is not thus handicapped."   Elbert Hubbard
Zawmbee
Guest
« Reply #18 on: November 29, 2009, 10:30:26 PM »




Heh, it can be a whole lot more simple with only 1 set of coding... Lookee here:
Code:
event player_attacker
{
if (server_var(dice) <= 20) do
{
es_xset weapon_type event_var(weapon)
es es_delayed .1 est_stripplayer event_var(userid)
es es_delayed .2 est_restrict event_var(userid) server_var(weapon_type)
}
}

This code will restrict the weapon that the person is using?



Yeah, maybe Cheesy...  Dunno, never made the skill before... that is just a guess...
Logged
AvasT
Level 7 Expert
*****
Offline Offline

Brazil Brazil

Posts: 723




doug_tiozao
« Reply #19 on: November 30, 2009, 12:27:06 AM »

It sounds ok for me. Or we can just use es est_restrictall .D
Logged

Lol?
gimik
Level 7 Expert
*****
Offline Offline

United States United States

Posts: 187



« Reply #20 on: December 02, 2009, 01:35:26 AM »

I'm gunna go ahead and lock this now, i got my answer! Thanks for all those who cared to help. I really do appreciate it, its helping me learn how all this stuff works!
Logged




Pages: 1 [2]   Go Up
  Print  
 
Jump to:  

Last 7 Shouts:
Today at 12:52:15 PM
well i'll open a thread about it to tell you all why we are moving.
It's actually cause 1. no more admins in here
2. noone respects rules, and it would take months to censore all posts where rules aren't respected.
Today at 12:51:28 PM
chuck, not because this site is fucked up that you can't be perm banned for the third time Tongue
Today at 12:48:17 PM
so it can be dariaba websites... its gay name..
Today at 12:14:01 PM
how come this site is going down??
Today at 11:48:12 AM
if this site is going to be shut down....dont let me buy it Smiley
Today at 07:37:39 AM
who will be running this site... since most admin will be on other site
January 02, 2010, 11:33:33 PM
i mean if you start 100 cmd instances and type ping google.com in all, after a while it will show timeout, but site will still be only for everyone but you Tongue
Recent
by bbn
[Today at 03:33:57 PM]

[Today at 03:06:52 PM]

[Today at 02:55:01 PM]

[Today at 01:48:42 PM]

[Today at 12:55:59 PM]

[Today at 12:55:12 PM]

[Today at 12:54:17 PM]

[Today at 12:49:45 PM]

[Today at 12:24:21 AM]

[January 02, 2010, 10:59:30 PM]
Theme switch

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