Raised This Month: $51 Target: $400
 12% 

Ghost Respawning 1.1


Post New Thread Reply   
 
Thread Tools Display Modes
mateo10
Veteran Member
Join Date: Jan 2006
Old 04-19-2007 , 02:47   Re: Ghost Respawning 1.04
Reply With Quote #21

I don't know. Can you send me a list of flags in events? I've never learned them.
mateo10 is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 04-19-2007 , 02:56   Re: Ghost Respawning 1.04
Reply With Quote #22

See includes or functions reference and after that you should figure out what i was talking about.

Last edited by VEN; 04-19-2007 at 03:18.
VEN is offline
mateo10
Veteran Member
Join Date: Jan 2006
Old 04-19-2007 , 03:15   Re: Ghost Respawning 1.04
Reply With Quote #23

This is good right?
Code:
register_event("HLTV", "event_new_round", "be", "1=0", "2=0");
It gets called to a single player if that player is alive.
mateo10 is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 04-19-2007 , 07:19   Re: Ghost Respawning 1.04
Reply With Quote #24

"HLTV" is a global event so "a" flag was correct. What is the difference of global and specified event and how it is applied to a hooked function header? How would differ function header of global and specified event hooks?
VEN is offline
mateo10
Veteran Member
Join Date: Jan 2006
Old 04-19-2007 , 07:30   Re: Ghost Respawning 1.04
Reply With Quote #25

is (id) wrong then?
mateo10 is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 04-19-2007 , 10:31   Re: Ghost Respawning 1.04
Reply With Quote #26

Yes, id isn't passed to function of global event hook. The reason is because global events isn't sent to a specific client.
VEN is offline
liolemas
Junior Member
Join Date: Jan 2007
Location: Lithuanian
Old 04-22-2007 , 06:38   Re: Ghost Respawning 1.05
Reply With Quote #27

any screenshots?
liolemas is offline
Send a message via MSN to liolemas Send a message via Yahoo to liolemas Send a message via Skype™ to liolemas
mateo10
Veteran Member
Join Date: Jan 2006
Old 04-22-2007 , 06:40   Re: Ghost Respawning 1.05
Reply With Quote #28

I can't take any screenshots because I test every plugin i make with bots. But if you can take screenshots I will put them in the main thread and credit you immediately
mateo10 is offline
mateo10
Veteran Member
Join Date: Jan 2006
Old 04-22-2007 , 09:39   Re: Ghost Respawning 1.05
Reply With Quote #29

Thanks for the approval VEN!
mateo10 is offline
U S
New Member
Join Date: Mar 2008
Old 03-24-2008 , 13:40   Re: Ghost Respawning 1.05
Reply With Quote #30

Very nice plugin! But I still have a question.
I installed this on a server and it didn't seem to work.
After some debugging it seems everything is working well, except the call from "say /buystone".
When I call the function directly it works well but it doesn't seem to respond to "say /buystone". Somebody knows whats happening? Because it dont seem to happen to others.
Thanks.

// Edit //

I did even add some functions like sell stone and give stone but i can't seem to get that problem fixed. I'm now using a HandleSay function.
Maybe just because I got totally no knownledge of this language (did everything with my knownledge of php, js, cpp and such).

Btw: also found some typo's: "succefully" has to be "successfully" and I would prefer "a respawn stone" instead of "the respawn stone" in the not-enough-money-error.
Attached Files
File Type: sma Get Plugin or Get Source (ghost.sma - 626 views - 4.6 KB)

Last edited by U S; 03-25-2008 at 10:08. Reason: attached my version of the source, I think I just messed it up
U S is offline
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 00:00.


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