Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Drake

#256
Snippet Showroom / Re: Team System Revised.
Oct 29, 2014, 05:12 PM
"This paste has been removed".
Re- paste S.L.C.
#257
Snippet Showroom / Re: Team System v1.0.2
Oct 29, 2014, 03:51 PM
GetTok and NumTok are fine enough to work.....No need to change that

My problem also Fixed..... I had constants problem nothing else and now its working fine...Thanx Fjose....I will be waiting for another Snippet made by you..:D

#258
Snippet Showroom / Re: Team System v1.0.1
Oct 29, 2014, 02:33 AM
Why the fuck doesn't it works for me!!!!!!!

Now Developers can only Fix the Problem......
#259
Snippet Showroom / Re: Team System
Oct 28, 2014, 04:31 PM
Quote from: sseebbyy on Oct 28, 2014, 04:26 PMWell, I know it is a very weird idea... but maybe there is something wrong with the VPS's PC time.
If I am not wrong, time() function returns the time of the pc that runs the server, so maybe something is blocking it. ???

Did you test the script on your server ? If not, give it a try and see the results. ;)


I tried both on PC and VPS....... Same error
#260
Snippet Showroom / Re: Team System
Oct 28, 2014, 04:06 PM
Quote from: Fjose on Oct 28, 2014, 03:45 PMsurely you are missing something...

anyway about your question, these are my modules used: Windows (x86) Plugins Pack
+ server: Windows Server (x86)

Getting the Same Fucking Error ..
ahhhh   
#261
Snippet Showroom / Re: Team System
Oct 28, 2014, 03:36 PM
Same Error after replacing all the plugins and the server .. :(



#262
Snippet Showroom / Re: Team System
Oct 28, 2014, 01:38 AM
I think my plugins are not correct....please give the plugins you have..
#263
Snippet Showroom / Re: Team System
Oct 27, 2014, 06:25 PM
Which plugins contains time(). Function?
#264
Snippet Showroom / Re: Team System
Oct 27, 2014, 08:49 AM
Ok then see the Error yourself....   

When I type "/team kra  [Player's Name]   or   0  [Player's ID]





Line 921 is :

if ( status[ player.ID ].TimeRequest < time() )

Full Code of team is

else if ( cmd == "team" )
    {
  local plr = FindPlr( GetTok( text, " ", 1 ) );
  if ( status[ player.ID ].Team == true ) PrivMessage( player, "[Error] You already are in team." );
  else if ( !text ) PrivMessage( player, "Syntax: /team <player name or id>" );
  else if ( !plr ) PrivMessage( player, "[Error] Unknown player." );
  else if ( status[ plr.ID ].Team == true ) PrivMessage( player, "[Error] " + plr.Name + " is already in team." );
  else if ( status[ player.ID ].Request == true ) PrivMessage( player, "[Error] You already have a request." );
  else if ( status[ plr.ID ].Request == true ) PrivMessage( player, "[Error] " + plr.Name + " already have a request." );
  else
  {
   if ( status[ player.ID ].TimeRequest < time() )
   {
    status[ player.ID ].Request = false; status[ player.ID ].Partner = null;  status[ player.ID ].TimeRequest = 0;
    status[ plr.ID ].Request = false; status[ plr.ID ].Partner = null; status[ plr.ID ].TimeRequest = 0;
   }
   
   PrivMessage( plr, "[!] " + player.Name + " would like to team up with you." );
   PrivMessage( player, "Request submitted." );
   status[ player.ID ].Partner = plr.ID;
   status[ plr.ID ].Partner = player.ID;
   status[ player.ID ].TimeRequest = time() + 30;
   status[ plr.ID ].TimeRequest = time() + 30;
  }
 }

#265
Snippet Showroom / Re: Team System
Oct 26, 2014, 06:11 PM
I told the Specific Line already -_-

#266
Snippet Showroom / Re: Team System
Oct 26, 2014, 04:09 PM
Listen I get error in this line:

else if ( pinfo[ player.ID ].TimeRequest < time() ) { PrivMessage( player, "[Error] Time ended." ); pinfo[ player.ID ].Request = false; pinfo[ player.ID ].Partner = null; pinfo[ plr.ID ].Request = false; pinfo[ plr.ID ].Partner = null; }

Error : attempt to call 'integer'


Thats all I get...
#267
Snippet Showroom / Re: Team System
Oct 26, 2014, 03:31 PM
Quote from: KraTO$ on Oct 26, 2014, 02:57 PMThat only gives me Error...IDK Why!!!!

-_-...I am Not Nobb....


yes i am using all the things you said!!!!

I think like if we use date().hour;    etc
There is something time().    ??
#268
Snippet Showroom / Re: Team System
Oct 26, 2014, 02:57 PM
That only gives me Error...IDK Why!!!!
#269
Snippet Showroom / Re: Team System
Oct 26, 2014, 02:47 PM
Brother ..
time() gets an error (attempt to call 'integer')
#270
Snippet Showroom / Re: Team System
Oct 26, 2014, 01:00 PM
Not Working for me!!!!