Few questions!
#1

I have few questions what i wonna ask for long time ago but i have no idea what i havent did it so lets get started

1.did the // or /* code */(comment) lines are read and take resource of the script

2.Can include detect if player is admin in gamememode

example : lets say on gamemode player is already defined as admin and on include only check if player is admin to prosses the command , like IfPlayerIsAdmin (i have my own this is just for explain) and include to check from gamemode if player is admin and can use this command

3.Its possible if script is too big(2k atm) to make issue to other thing like timers,...(wich correctly im expiring and trying to fix it ) and you know show when you have large script like over 20k lines

Please follow the format like:

1.anser
2.anser

Thanks to everyone who really help!
Reply
#2

1. Comments are ignored by the compiler.

2. As long as the variables are in scope of the include (defined before including the include)

3. Well duh, 20k lines is actually small compared to the trillions of other sloppy RP scripts with 80k+ lines. Read up on optimization if you're really that concerned.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)