User
Pass
2FA
 
 

Eroare VIP Event

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived) -> Fixed issues
Author Message562
JBT3hNoLoGy
[Banned user]


Banned


Status: Offline
(since 01-09-2014 10:21)
Joined: 30 Jun 2014
Posts: 87, Topics: 41
Location: Husi

Reputation: -48.5
Votes: 9

   
Post Posted: 11-07-2014, 18:02:55 | Translate post to: ... (Click for more languages)

Salut am modificat acest plugin
Code:
#include <amxmodx>
#include < amxmisc >

const TASK_ID = 258;

new h;
new task_set = 0;

public plugin_init()
{
      register_plugin("VIP Hour", "1.0", "compaq")
}

public client_putinserver(id)
{
      new o, m, s;
      time(o, m, s)
      if((00 >= 00 && o < 00) | (00 >= 10 && o < 00))
      if((01 >= 00 && o < 00) | (01 >= 10 && o < 00))
      if((02 >= 00 && o < 00) | (02 >= 10 && o < 00))
      if((03 >= 00 && o < 00) | (03 >= 10 && o < 00))
      if((04 >= 00 && o < 00) | (04 >= 10 && o < 00))
      if((05 >= 00 && o < 00) | (05 >= 10 && o < 00))
      if((06 >= 00 && o < 00) | (06 >= 10 && o < 00))
      if((07 >= 00 && o < 00) | (07 >= 10 && o < 00))
      if((08 >= 00 && o < 00) | (08 >= 10 && o < 00))
      if((09 >= 00 && o < 00) | (09 >= 10 && o < 00))
      if((10 >= 00 && o < 00) | (10 >= 10 && o < 00))
      if((11 >= 00 && o < 00) | (11 >= 10 && o < 00))
      if((12 >= 00 && o < 00) | (12 >= 10 && o < 00))
      if((13 >= 00 && o < 00) | (13 >= 10 && o < 00))
      if((14 >= 00 && o < 00) | (14 >= 10 && o < 00))
      if((15 >= 00 && o < 00) | (15 >= 10 && o < 00))
      if((16 >= 00 && o < 00) | (16 >= 10 && o < 00))
      if((17 >= 00 && o < 00) | (17 >= 10 && o < 00))
      if((18 >= 00 && o < 00) | (18 >= 10 && o < 00))
      if((19 >= 00 && o < 00) | (19 >= 10 && o < 00))
      if((20 >= 00 && o < 00) | (20 >= 10 && o < 00))
      if((21 >= 00 && o < 00) | (21 >= 10 && o < 00))
      if((22 >= 00 && o < 00) | (22 >= 10 && o < 00))
      if((23 >= 00 && o < 00) | (23 >= 10 && o < 00))
     

      {
            if( get_user_flags(id) != read_flags("h") || !( get_user_flags( id ) & ADMIN_LEVEL_H ) )
            {
               set_user_flags(id, read_flags("h"))
               set_task(3.0, "-VipEvent-Ai primit VIP! E ora Fixa (10 minute ai)", id)
             }

            if( !task_set )
            {
               set_task( 60.0, "recheck", TASK_ID, _, _, "b" ); // task pus la 1 minut pentru a functiona corect
               task_set = 1;
            }
      }
}

public recheck()
{

   time( h, _, _ );

   if( h >= 08 || h >= 16 )
   {
      new iPlayers[ 32 ], iNum, i;
      get_players( iPlayers, iNum );
     
      for( i = 0; i < iNum; i++ )
      {
         remove_user_flags( iPlayers[ i ] );
      }

      server_cmd( "amx_reloadadmins" );

      remove_task( TASK_ID );
      task_set = 0;
   }
}

public [VipEvent]Ai primit VIP! E ora Fixa [10 minute ai](id)
{
      client_print(id, print_chat, " -VipEvent-Ai primit VIP! E ora Fixa (10 minute ai)")
      client_print(id, print_chat, "JB.*****.NET - ITI UREAZA DISTRACTIE PLACUTA VIPUL ACORDAT!")
      client_print(id, print_chat, "Ai luat VIP doar 10 minute")
      client_print(id, print_chat, "www.*****net")
}


si am pus la orice ora , la fix sa le dea 10 minute sa aiba VIP
si imi da eroarea asta. care nustiu ce inseamna...

Code:
Welcome to the AMX Mod X 1.8.1-300 Compiler.
Copyright (c) 1997-2006 ITB CompuPhase, AMX Mod X Team
Modified for https://www.freakz.ro

viptime.sma(81) : error 001: expected token: "-identifier-", but found "["

1 Error.
Compilarea a esuat!



Nimeni nu-i perfect =]]
--> PGL <---

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
Happy =]]

[I'm in your mind !]



Status: Offline
(since 02-05-2020 11:17)
Joined: 17 Mar 2012
Posts: 10538, Topics: 450
Location: In mintea ta !

Reputation: 553
Votes: 204

         
Post Posted: 11-07-2014, 18:23:14 | Translate post to: ... (Click for more languages)

Descarca

"public [VipEvent]Ai primit VIP! E ora Fixa [10 minute ai](id)"

Nu exista asaceva.






Pentru orice problema PM.
Nu ofer asistenta in privat.

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
JBT3hNoLoGy
[Banned user]


Banned


Status: Offline
(since 01-09-2014 10:21)
Joined: 30 Jun 2014
Posts: 87, Topics: 41
Location: Husi

Reputation: -48.5
Votes: 9

   
Post Posted: 13-07-2014, 08:13:27 | Translate post to: ... (Click for more languages)

nu merge pluginu - =]


Nimeni nu-i perfect =]]
--> PGL <---

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
EDUTz

[HardcoreAmxxScripter]



Status: Offline
(since 15-08-2021 16:34)
Joined: 27 Dec 2010
Posts: 4306, Topics: 244
Location: Jud. Miserupia, sat Bagadanc

Reputation: 4085
Votes: 179

         
Post Posted: 13-07-2014, 10:13:41 | Translate post to: ... (Click for more languages)

uite sma, poate asa e mai clar.

DOWNLOAD




Pentru pluginuri complicate le fac cu $$ pe paypal/psc. PM

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
Happy =]]

[I'm in your mind !]



Status: Offline
(since 02-05-2020 11:17)
Joined: 17 Mar 2012
Posts: 10538, Topics: 450
Location: In mintea ta !

Reputation: 553
Votes: 204

         
Post Posted: 13-07-2014, 10:16:52 | Translate post to: ... (Click for more languages)

Eu ti-am scos partea cu mesajele, daca era bun trebuia sa mearga.





Pentru orice problema PM.
Nu ofer asistenta in privat.

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
JBT3hNoLoGy
[Banned user]


Banned


Status: Offline
(since 01-09-2014 10:21)
Joined: 30 Jun 2014
Posts: 87, Topics: 41
Location: Husi

Reputation: -48.5
Votes: 9

   
Post Posted: 15-07-2014, 05:30:42 | Translate post to: ... (Click for more languages)

- uite ca nu merge infine dai T.C...


Nimeni nu-i perfect =]]
--> PGL <---

0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID

  Topic locked


Topic is closed, you cannot post any messages in it anymore

Locked by edutz, 15 July 2014 04:28



 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived) -> Fixed issues  


The time now is 24-08-2025, 07:43:35
Copyright info

Based on phpBB ro/com
B

 
 
 







I forgot my password


This message appears only once, so
like us now until it's too late ! :D
x