Hello There, Guest! Login or Register


[HELP]Disabling commands when in dm and race
#1
yo all,

well, i have a problem on my scripting for a week.
I made "disabling commands" scripting on my GM(new indm[MAX_PLAYERS]; bla bla ...), its done for DMs, but i have a race fs.
I want to disable commands when the player in race too, but it wants an include(i think).
How can i use "new indm[MAX_PLAYERS]" on my both of mods?
(GM + FS) any diea?
Reply
#2
Erm, I suggest you put the FS into your GM
Reply
#3
tried it, but there were a lot of errors. also tried it on inc as:

Code:
new indm[MAX_PLAYERS];
#pragma unused indm

couldnt use it on race fs, but on gamemode(dm) could :S
Reply
#4
Shouldn't be too hard to put it in though
Reply
#5
(09-03-2009, 06:47 PM)Matthias link Wrote: Shouldn't be too hard to put it in though

it gives lost of one like that "array sizes bla bla(forgot xD)" when i try to put it
then i tried to increase variables, complie said ok, but commands didnt work in-game aswell :S
Reply
#6
Pm me both scripts (GM & FS), if I have time I'll do it for you.
Reply
#7
(09-04-2009, 06:18 AM)Matthias link Wrote: Pm me both scripts (GM & FS), if I have time I'll do it for you.

k pmin' now
Reply