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

[Solved]First Event Called


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
#8 SickneSS
BANNED
Join Date: Sep 2008
Location: Here
Old 01-28-2011 , 03:31   [Solved]First Event Called
Reply With Quote #1

Which is the first event called when map starts?
#8 SickneSS is offline
Send a message via MSN to #8 SickneSS Send a message via Skype™ to #8 SickneSS
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 01-28-2011 , 04:02   Re: First Event Called
Reply With Quote #2

plugin_precache().
It is called before entities are even created in the map (like spawns and lights).
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
#8 SickneSS
BANNED
Join Date: Sep 2008
Location: Here
Old 01-28-2011 , 04:05   Re: First Event Called
Reply With Quote #3

Quote:
Originally Posted by Exolent[jNr] View Post
plugin_precache().
It is called before entities are even created in the map (like spawns and lights).
But I can use this to set a boolean to true?...I want this because I need to check the first blood in free for all.

-Solved-
I just use debug in a client_print and I get the solution ^_x

Thanks Exolent^_x

Last edited by #8 SickneSS; 01-28-2011 at 04:31.
#8 SickneSS is offline
Send a message via MSN to #8 SickneSS Send a message via Skype™ to #8 SickneSS
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-28-2011 , 18:40   Re: [Solved]First Event Called
Reply With Quote #4

You can set it in plugin_precache(), plugin_init(), plugin_natives() all of which happen before players are even on the server.
__________________
fysiks is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 01-28-2011 , 18:43   Re: [Solved]First Event Called
Reply With Quote #5

new bool:BoleanVar = true
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-28-2011 , 18:50   Re: [Solved]First Event Called
Reply With Quote #6

Quote:
Originally Posted by ConnorMcLeod View Post
new bool:BoleanVar = true
lol, can't believe that I didn't think of the simplest answer! Oh well.
__________________
fysiks is offline
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 01-28-2011 , 20:08   Re: [Solved]First Event Called
Reply With Quote #7

Quote:
Originally Posted by ConnorMcLeod View Post
new bool:BoleanVar = true
Also:

PHP Code:
new bool:BooleanArray[33] = { true, ... } 
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross
meTaLiCroSS is offline
#8 SickneSS
BANNED
Join Date: Sep 2008
Location: Here
Old 01-29-2011 , 11:00   Re: [Solved]First Event Called
Reply With Quote #8

Quote:
Originally Posted by ConnorMcLeod View Post
new bool:BoleanVar = true
Quote:
Originally Posted by fysiks View Post
lol, can't believe that I didn't think of the simplest answer! Oh well.
Quote:
Originally Posted by meTaLiCroSS View Post
Also:

PHP Code:
new bool:BooleanArray[33] = { true, ... } 
Haha,thanks to all,how fysiks said,I can't believe this :p
#8 SickneSS is offline
Send a message via MSN to #8 SickneSS Send a message via Skype™ to #8 SickneSS
Reply


Thread Tools
Display Modes

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 18:03.


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