[ INCLUDE ] FS & GM ( Un & Re ) Loader
#1

FS & GM ( Un & Re ) Loader by David
pawn Код:
//------------------------------------------------------------------------------
//
// Description: Gamemode restarter, Filterscript (un)loader
//
// Functions:
//     RestartGameMode( );
//     RestartGameModeEx( hour,minute );
//     LoadFilterScript( FsName[ ] );
//     ReLoadFilterScript( FsName[ ] );
//     UnLoadFilterScript( FsName[ ] );
//
// Changelog:
//     27/06/09: Version 0.1 Done, released
//
// Author: David.
//
// All rights reserved, © 2009 David.
//------------------------------------------------------------------------------
Download:


Category: Easy
Reply
#2

This is a pretty simple script, and your use of strings is a little unnecessary.

Quote:
pawn Код:
new
      string1[ 255 ];
      string2[ 255 ];
You could use a single, much shorter, string to do the job..
Reply
#3

Max file name len 255
Reply
#4

whether you realise it or not no person would make a file that long if he wants to understand what he just done. i have not seen a fs/gm name longer than 24 symbols...
Reply
#5

I hate the edit button... anyway

"... and your way of identifying the length is so outdated. haven't you read the topic about 256 length... Oh well, if this is for the future computers I have no objections.."
Reply
#6

LOL, why download this FS when you can use rcon?
If you look at the rcon commands, you will see that you can do this via rcon!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)