Timers
#1

Guys i have a file with Mini Missions
but no count like rcon command restart
each time to get the next map so i wanna add one
I wanna know the code
and how i can add a CLOCK somewhere in the script so each player to see
how much time he have

Thank you +Rep
Reply
#2

I don't understand well the first part, but if you want a clock you can create a textdraw and use this code:

pawn Код:
new hour, minute, second, string[8];
gettime(hour, minute, second);
format(string, 32, "%d:%d:%d", hour, minute, second);
PlayerTextDrawSetString(YourPlayerTD, string);
PlayerTextDrawShow(playerid, YourPlayerTD);
There is a fast code, you can do it better
Reply
#3

Quote:
Originally Posted by JavoDiaz
Посмотреть сообщение
I don't understand well the first part, but if you want a clock you can create a textdraw and use this code:

pawn Код:
new hour, minute, second, string[8];
gettime(hour, minute, second);
format(string, 32, "%d:%d:%d", hour, minute, second);
PlayerTextDrawSetString(YourPlayerTD, string);
PlayerTextDrawShow(playerid, YourPlayerTD);
There is a fast code, you can do it better
I mean that i have Mini Missions Server
so i wanna make a time of 3 minutes
so when these minutes gone i want to make automatically restart
and get next map(without admin )
thats i want
How to put some minutes in each map
Reply
#4

See Kitten's Tutorial Here - https://sampforum.blast.hk/showthread.php?tid=269336

Learn to use "Search" - http://forum.sa-mp.com/search.php
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)