[Include] Traffic signs (RP) (No custom objects)
#5

Quote:
Originally Posted by Sublime
View Post
Um.. wouldn't that be a logical mistake? Most (if not, all) scripters use #include <streamer> before the custom include in their main script. So, eg I created this include. I added your suggestion, but wups I forgot to notify the players.. From the user's side, I (as the user who downloaded the include) included streamer again (without any knowledge on the include) before the custom include and script shows bonkers!
That's what the "#if !defined STREAMER_TYPE_OBJECT" does! It checks if "STREAMER_TYPE_OBJECT" has been defined, in other words, if streamer has already been included (streamer.inc defines this definition). If it HASN'T been defined (!defined), the include will include it automatically. It's just good practise and nothing too too important.
Reply


Messages In This Thread
Traffic signs (RP) (No custom objects) - by adri1 - 08.02.2014, 08:02
Re: Traffic signs (RP) (No custom objects) - by [FSaF]Jarno - 08.02.2014, 08:13
Re: Traffic signs (RP) (No custom objects) - by Sublime - 08.02.2014, 08:21
Re: Traffic signs (RP) (No custom objects) - by Misiur - 08.02.2014, 08:30
Re: Traffic signs (RP) (No custom objects) - by [FSaF]Jarno - 08.02.2014, 09:03
Respuesta: Traffic signs (RP) (No custom objects) - by OTACON - 08.02.2014, 09:34
Respuesta: Traffic signs (RP) (No custom objects) - by MillerUTL - 08.02.2014, 11:38
Re: Traffic signs (RP) (No custom objects) - by Michael@Belgium - 09.02.2014, 09:50
Respuesta: Re: Traffic signs (RP) (No custom objects) - by adri1 - 09.02.2014, 09:53
Re: Traffic signs (RP) (No custom objects) - by PT - 09.02.2014, 12:41
Re: Traffic signs (RP) (No custom objects) - by Abagail - 09.02.2014, 12:51
Re: Traffic signs (RP) (No custom objects) - by Yves - 10.02.2014, 01:18
Re: Traffic signs (RP) (No custom objects) - by Scenario - 10.02.2014, 01:26
Re: Traffic signs (RP) (No custom objects) - by Ballu Miaa - 10.02.2014, 02:22
Re: Traffic signs (RP) (No custom objects) - by Kirollos - 10.02.2014, 02:27
Re: Traffic signs (RP) (No custom objects) - by DerickClark - 10.02.2014, 02:35
Re: Respuesta: Re: Traffic signs (RP) (No custom objects) - by Michael@Belgium - 10.02.2014, 13:49
Re: Traffic signs (RP) (No custom objects) - by seanny - 11.02.2014, 16:49
Re: Traffic signs (RP) (No custom objects) - by wups - 16.02.2014, 11:19
Re: Traffic signs (RP) (No custom objects) - by dimitri8 - 24.02.2014, 10:55
Re: Traffic signs (RP) (No custom objects) - by skydux123 - 18.03.2014, 06:35
Re: Traffic signs (RP) (No custom objects) - by HackMe - 23.03.2015, 02:45
Respuesta: Re: Traffic signs (RP) (No custom objects) - by adri1 - 26.03.2015, 23:08
Re : Respuesta: Re: Traffic signs (RP) (No custom objects) - by AlexBlack - 26.03.2015, 23:12

Forum Jump:


Users browsing this thread: 1 Guest(s)