SA-MP Forums Archive
[FilterScript] [FS]APP Converter time 1.0 Beta - 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: [FilterScript] [FS]APP Converter time 1.0 Beta (/showthread.php?tid=143278)



[FS]APP Converter time 1.0 Beta - Phoenix_Br - 22.04.2010

Well today had nothing to do, so I made a simple fs that may be useful.

it converts minutes to milliseconds and hours to minutes.

Compile, open serv.
Код:
/*
Simple Converter Time Beta 1.0
By Phoenix
*/
#include <a_samp>

#define hours 5 // you set hours to convert to minutes
#define minutes 10// you set to convert minutes to milliseconds

public OnFilterScriptInit()
{
print("\n--------------------------------------");
printf(" %d minutes has %d miliseconds ||%d Hours has %d minutes\n", minutes ,minutes * 60 * 1000,hours, hours * 60);
print("\n--------------------------------------");
return 1;
}

public OnFilterScriptExit()
{
	return 1;
}



Re: [FS]APP Converter time 1.0 Beta - Kyosaur - 22.04.2010

This is more of a snippet, not a fs.


"[FS]APP Converter time 1.0 Beta"

also not an APP lol.



Re: [FS]APP Converter time 1.0 Beta - j500 - 22.04.2010

does this do anything beside define>>> print>>> exit?
can others on server see it looks like u made a note to self


Re: [FS]APP Converter time 1.0 Beta - white_energy - 23.04.2010

Lol, this is random..