Posts: 236
Threads: 58
Joined: Apr 2012
Reputation:
0
Still the same.
when i type stock , it doesnt appear like the blue light color , but it appears black
Posts: 10,066
Threads: 38
Joined: Sep 2007
Reputation:
0
The syntax highlighting on the forum is not a 100% correct. It is supposed to be black. Nevertheless, stock is just a modifier that hides the function/variable from the compiler if it is not used. It should not in any way interfere with the inner workings of the function.
The problem is most likely in the wrong usage of pre-processor directives, notoriously #if defined FILTERSCRIPT.
Posts: 236
Threads: 58
Joined: Apr 2012
Reputation:
0
Ehm.. thats a home made script using my pc
Also i didnt use any filterscripts , and i tried opening the grandlrc script that comes with the server package and tried to use stock but still the same problem..
Posts: 125
Threads: 8
Joined: May 2012
Reputation:
0
Make sure all your braces are matched. Also, make sure that your stock definition isn't inside another function.
If you still can't get it to work, PM me on the FMJ forum or hit me up ingame.