- 0
Problema [FS]
-
Similar Content
-
- 2 answers
- 647 views
-
Problema turf
By Soryn.,
- 3 answers
- 414 views
-
- 0 replies
- 159 views
-
- 2 replies
- 331 views
-
- 1 reply
- 204 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
Slipknot
Salut SA:MP.Ro.Am o problema la un fs ceas cand intru pe server ceasul apare si dispare apare si dispare dc?
[FS]:
[pawn]//=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
#include <a_samp>
forward clock();
#if defined FILTERSCRIPT
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" [FS]Ceas ");
print("--------------------------------------\n");
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
#else
main()
{
print("\n----------------------------------");
print(" [FS]Ceas ");
print("----------------------------------\n");
}
#endif
public OnPlayerConnect(playerid){
clock()
;}
public clock(){
new Text:Clock;
TextDrawDestroy(Clock);
new hour,minute,second;
new string[256];
gettime(hour,minute,second);
if (minute <= 9){format(string,25,"%d:0%d",hour,minute);}
else {format(string,25,"%d:%d",hour,minute);}
TextDrawHideForAll(Clock);
Clock = TextDrawCreate(547.0, 24.0, string);
TextDrawLetterSize(Clock, 0.6, 1.8);
TextDrawFont(Clock, 3);
TextDrawSetOutline(Clock, 2);
TextDrawShowForAll(Clock);
SetTimer("clock",1000,0);
return 1;
}[/pawn]
Vrei ceva? [email protected]
Link to comment
Share on other sites
2 answers to this question
Recommended Posts