Raised This Month: $ Target: $400
 0% 

Spectate


Post New Thread Reply   
 
Thread Tools Display Modes
ian.cammarata
Member
Join Date: May 2007
Location: U.S.
Old 06-21-2007 , 20:35   Re: Spectate
Reply With Quote #11

Quote:
Originally Posted by YamiKaitou View Post
This is because there is sometimes a glitch in the HL engine that causes the player not to be spawned on the first call.
That bug never occurs when a client has just been switched to a team from spectator and then spawned. I've been working around this bug for years with my Climb plugin, so I can say that with 100% certainty. I'm gonna screw with it some more, but I think it might be caused by a certain entity flag.
__________________
ian.cammarata is offline
sr_slayerz_
Member
Join Date: Dec 2006
Old 07-02-2007 , 18:17   Re: Spectate
Reply With Quote #12

was looking for something like this,
gonna test it out now ;)
thanks.
sr_slayerz_ is offline
Old 07-03-2007, 05:45
Angelina
This message has been deleted by Angelina.
danielkza
AMX Mod X Plugin Approver
Join Date: May 2007
Location: São Paulo - Brasil
Old 07-04-2007 , 02:03   Re: Spectate
Reply With Quote #13

Fixed Version:No warning,use correct CsTeam tag,no giant initializing
Attached Files
File Type: sma Get Plugin or Get Source (spectate.sma - 544 views - 1,022 Bytes)

Last edited by danielkza; 07-04-2007 at 02:06.
danielkza is offline
Juba_PornBorn
BANNED
Join Date: Apr 2007
Location: Caracas
Old 07-04-2007 , 05:12   Re: Spectate
Reply With Quote #14

Quote:
Originally Posted by Angelina View Post
been using it on my CSDM server and it works great!!
but, why score -1 and -2 death ???
This fixes your problem

PHP Code:
   new deaths 
    deaths 
cs_get_user_deaths(id
    
cs_set_user_deaths(iddeaths 1
    new 
frags 
    frags 
cs_get_user_frags(id
    
cs_set_user_frags(idfrags 1
Juba_PornBorn is offline
Send a message via MSN to Juba_PornBorn
Old 07-04-2007, 08:26
Angelina
This message has been deleted by Angelina.
Podunk
Senior Member
Join Date: Nov 2005
Location: Florida
Old 07-04-2007 , 14:03   Re: Spectate
Reply With Quote #15

that fix is in the origonal post. download that one...
__________________
Check out my website at http://matthewmiller.info
Podunk is offline
Send a message via MSN to Podunk
Old 07-04-2007, 14:14
Angelina
This message has been deleted by Angelina.
Podunk
Senior Member
Join Date: Nov 2005
Location: Florida
Old 07-05-2007 , 18:12   Re: Spectate
Reply With Quote #16

I assure you the one in the origonal post wont diminish your kills
__________________
Check out my website at http://matthewmiller.info
Podunk is offline
Send a message via MSN to Podunk
sr_slayerz_
Member
Join Date: Dec 2006
Old 07-05-2007 , 23:29   Re: Spectate
Reply With Quote #17

I think theres a bug when I unspec, I lose my knife for a round.
sr_slayerz_ is offline
Old 07-06-2007, 00:25
Angelina
This message has been deleted by Angelina.
Lee
AlliedModders Donor
Join Date: Feb 2006
Old 07-06-2007 , 20:50   Re: Spectate
Reply With Quote #18

I haven't looked whether or not this will fix any sort of problem, but for future reference, you only need a variable if it's value is to be changed or stored for later use.
Code:
    new deaths     deaths = cs_get_user_deaths(id)     cs_set_user_deaths(id, deaths - 1)     new frags     frags = cs_get_user_frags(id)     cs_set_user_frags(id, frags + 1)
Code:
    cs_set_user_deaths(id, cs_get_user_deaths(id) - 1)     cs_set_user_frags(id, cs_get_user_frags(id) + 1)
Lee is offline
Podunk
Senior Member
Join Date: Nov 2005
Location: Florida
Old 07-06-2007 , 22:56   Re: Spectate
Reply With Quote #19

new version, check origonal post
__________________
Check out my website at http://matthewmiller.info
Podunk is offline
Send a message via MSN to Podunk
Old 07-07-2007, 03:02
Angelina
This message has been deleted by Angelina.
Podunk
Senior Member
Join Date: Nov 2005
Location: Florida
Old 07-07-2007 , 15:24   Re: Spectate
Reply With Quote #20

3 inches what?
__________________
Check out my website at http://matthewmiller.info
Podunk is offline
Send a message via MSN to Podunk
Old 07-07-2007, 15:38
Angelina
This message has been deleted by Angelina.
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:54.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode