![]() |
|
[HELP]Disabling commands when in dm and race - Printable Version +- Las Venturas Playground (https://forum.sa-mp.nl) +-- Forum: Miscellaneous (https://forum.sa-mp.nl/forum-4.html) +--- Forum: Gaming (https://forum.sa-mp.nl/forum-27.html) +--- Thread: [HELP]Disabling commands when in dm and race (/thread-20355.html) |
[HELP]Disabling commands when in dm and race - LasTRace - 09-03-2009 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? Re: [HELP]Disabling commands when in dm and race - Matthias - 09-03-2009 Erm, I suggest you put the FS into your GM Re: [HELP]Disabling commands when in dm and race - LasTRace - 09-03-2009 tried it, but there were a lot of errors. also tried it on inc as: Code: new indm[MAX_PLAYERS];couldnt use it on race fs, but on gamemode(dm) could
Re: [HELP]Disabling commands when in dm and race - Matthias - 09-03-2009 Shouldn't be too hard to put it in though Re: [HELP]Disabling commands when in dm and race - LasTRace - 09-03-2009 (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
Re: [HELP]Disabling commands when in dm and race - Matthias - 09-04-2009 Pm me both scripts (GM & FS), if I have time I'll do it for you. Re: [HELP]Disabling commands when in dm and race - LasTRace - 09-04-2009 (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 |