Buna ziua .
As dori si eu un plugin care isi da restart din ora in ora . Sper sa ma puteti ajuta va multumesc !
[rezolvat] Cerere plugin Auto restart
Moderators: Moderatori ajutatori, Moderatori, Echipa eXtreamCS.com
Forum rules
Accesează link-ul pentru a putea vedea regulile forumului
Daca doriti sa vi se modifice un plugin, va rugam postati aici .
Accesează link-ul pentru a putea vedea regulile forumului
Daca doriti sa vi se modifice un plugin, va rugam postati aici .
- Gabriel963
- Fost moderator
- Posts: 1658
- Joined: 03 Feb 2013, 13:03
- Detinator Steam: Da
- CS Status: Retried
- Reputatie: Membru Club eXtreamCS (1 luna)
Fost Moderator - Location: Bucharest, Romania.
- Has thanked: 20 times
- Been thanked: 85 times
-
- Membru eXtream
- Posts: 3193
- Joined: 30 Aug 2012, 22:16
- Detinator Steam: Da
- CS Status: Fost scripter
- Detinator server CS: Nu
- SteamID: -
- Reputatie: Fost super moderator
Restrictie schimbare nume
Nume anterior: falseq, cruyff - Location: Bucuresti
- Has thanked: 342 times
- Been thanked: 571 times
- Contact:
Code: Select all
#include < amxmodx >
#define PLUGIN "restart"
#define VERSION "0.1"
public plugin_init( )
{
register_plugin( PLUGIN, VERSION, "falseq" );
set_task( 3600.0, "restart", _, _, _, "b", _ );
}
public restart( )
{
server_cmd( "sv_restart 1" );
}
Retras
- DaNe
- Membru, skill 0
- Posts: 71
- Joined: 22 Sep 2013, 18:29
- Detinator Steam: Nu
- CS Status: Citesc forumul eXtreamCS.com...!
- Has thanked: 7 times
- Been thanked: 2 times
- Contact:
set_task( 3600.0BuGs17 wrote:falseq daca se poate din ora in ora :) , adica la ora 12:00 , 13:00 etc .... sper ca intelegi
3600.0 sunt secundele !
3600 de secunde = o ora ! :-j
- FaTzZu
- Fost moderator
- Posts: 1206
- Joined: 22 Dec 2012, 18:37
- Detinator Steam: Da
- Reputatie: Fost moderator ajutator
- Has thanked: 114 times
- Been thanked: 168 times
El se refera la ore fixe adica sa se dea restart la acea ora
A fool's brain digests philosophy into folly, science into superstition, and art into pedantry.
#RETIRED.
#RETIRED.
-
- Membru, skill 0
- Posts: 38
- Joined: 18 Oct 2013, 08:36
- Detinator Steam: Nu
- CS Status: Citesc forumul eXtreamCS.com...!
- Has thanked: 4 times
- Contact:
nai ma cu cine astia nu inteleg ..... dane nu te mai baga aiurea adv ... veziti de treb ta ... nu mai fa +1....... Mersi
Altcineva poate sa ma ajute ?
Altcineva poate sa ma ajute ?
Last edited by munir on 27 Oct 2013, 10:56, edited 1 time in total.
Reason: Eu nu inteleg ce zici tu acolo.. :|
Reason: Eu nu inteleg ce zici tu acolo.. :|
-
- Membru eXtream
- Posts: 3193
- Joined: 30 Aug 2012, 22:16
- Detinator Steam: Da
- CS Status: Fost scripter
- Detinator server CS: Nu
- SteamID: -
- Reputatie: Fost super moderator
Restrictie schimbare nume
Nume anterior: falseq, cruyff - Location: Bucuresti
- Has thanked: 342 times
- Been thanked: 571 times
- Contact:
-
- Membru eXtream
- Posts: 3193
- Joined: 30 Aug 2012, 22:16
- Detinator Steam: Da
- CS Status: Fost scripter
- Detinator server CS: Nu
- SteamID: -
- Reputatie: Fost super moderator
Restrictie schimbare nume
Nume anterior: falseq, cruyff - Location: Bucuresti
- Has thanked: 342 times
- Been thanked: 571 times
- Contact:
ModificiBuGs17 wrote:falseq .... nu sa se dea din ora in ora ... sa se dea automat la ora 16:00 la ora 17:00 asta vreau
Code: Select all
set_task( 3600.0, "checktime", _, _, _, "b", _ );
Code: Select all
set_task( 60.0, "checktime", _, _, _, "b", _ );
Retras