[HELP] Case scripting
#5

Thanks, i will try it now out, but getting the following warning, on the
SendRconCommand("loadfs map1");
Line

C:\Users\FeniX\Desktop\SAMP Server\gamemodes\test.pwn(111) : warning 217: loose indentation
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


1 Warning.


PS, i added you on skype can you teach me from there?



Edit: i tried ur script but it didnt work it stays on map 2, after that i tried another code like this




Код:
        switch(Maps)
        {
        	case 0: // map1
            {
            	SetPlayerInterior(i,0);
                SendRconCommand("loadfs map1");
				Minutes =0;  // 0:40 min
				Seconds =40;  // 0:40 min
    			Maps = 1;
			}
            case 1: // map2
            {
            	SetPlayerInterior(i,0);
                SendRconCommand("unloadfs map1");
                SendRconCommand("loadfs map2");
				Minutes =0;  // 0:40 min
				Seconds =40;  // 0:40 min
                Maps = 2;
			}
            case 2:
            {
                SendRconCommand("unloadfs map2");
                Maps = 0;
			}
		}
	}
Still no effect, stays on map2

any idea?
Reply


Messages In This Thread
[HELP] Case scripting - by FeniX70 - 30.03.2015, 01:57
Re: [HELP] Case scripting - by Threshold - 30.03.2015, 03:11
Re: [HELP] Case scripting - by FeniX70 - 30.03.2015, 03:18
Re: [HELP] Case scripting - by Threshold - 30.03.2015, 03:21
Re: [HELP] Case scripting - by FeniX70 - 30.03.2015, 03:29
Re: [HELP] Case scripting - by Threshold - 30.03.2015, 03:43
Re: [HELP] Case scripting - by FeniX70 - 30.03.2015, 03:50
Re: [HELP] Case scripting - by Threshold - 30.03.2015, 03:58
Re: [HELP] Case scripting - by FeniX70 - 30.03.2015, 04:06
Re: [HELP] Case scripting - by [ABK]Antonio - 30.03.2015, 04:16

Forum Jump:


Users browsing this thread: 1 Guest(s)