[ INCLUDE ] FS & GM ( Un & Re ) Loader - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [ INCLUDE ] FS & GM ( Un & Re ) Loader (
/showthread.php?tid=83791)
[ INCLUDE ] FS & GM ( Un & Re ) Loader -
illay - 27.06.2009
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
Re: [ INCLUDE ] FS & GM ( Un & Re ) Loader -
Weirdosport - 27.06.2009
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..
Re: [ INCLUDE ] FS & GM ( Un & Re ) Loader -
illay - 27.06.2009
Max file name len 255
Re: [ INCLUDE ] FS & GM ( Un & Re ) Loader -
Ignas1337 - 27.06.2009
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...
Re: [ INCLUDE ] FS & GM ( Un & Re ) Loader -
Ignas1337 - 27.06.2009
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.."
Re: [ INCLUDE ] FS & GM ( Un & Re ) Loader -
Sayaron - 27.06.2009
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!