Author Topic: Auto-kick Failed to login  (Read 10573 times)

0 Members and 1 Guest are viewing this topic.

szostol

  • Guest
Auto-kick Failed to login
« on: July 30, 2008, 11:50:55 pm »
Hi guys. I've started to adding new stuffs to my script. I noticed that it should have auto-kick if some is registered spawned but not logged in.

Quote
on *:SIGNAL:vcmp.spawn:{
  var %name = $1
  var %id = $vcmp.getid($1)

 if (($vcmp.setting.spawn == On) && if ($vcmp.pass(%id) != $null) && if ($vcmp.lin(%id) != 1)) vcmp.kick %id Auto-kick Filed to login   

But it isn't working... what's wrong?

Offline Youpi!

  • Street Thug
  • *
  • Posts: 10
    • View Profile
Re: Auto-kick Failed to login
« Reply #1 on: July 31, 2008, 12:04:51 am »
Script ?

szostol

  • Guest
Re: Auto-kick Failed to login
« Reply #2 on: July 31, 2008, 12:36:26 am »
Based on gus

Offline TanaX01

  • Made Man
  • ***
  • Posts: 214
  • BlackList! <3
    • View Profile
Re: Auto-kick Failed to login
« Reply #3 on: July 31, 2008, 01:49:20 am »
Script ?

nah. script ? WTF!!! LOOK IN TOPIC !! SCRIPTING!  :P

Offline Nemesis2500

  • Wiseguy
  • **
  • Posts: 63
  • The Joker
    • View Profile
    • Grand VCMP Server
Re: Auto-kick Failed to login
« Reply #4 on: July 31, 2008, 02:33:17 am »
is this sansan  ???


Offline TanaX01

  • Made Man
  • ***
  • Posts: 214
  • BlackList! <3
    • View Profile
Re: Auto-kick Failed to login
« Reply #5 on: July 31, 2008, 02:35:43 am »

Offline Nemesis2500

  • Wiseguy
  • **
  • Posts: 63
  • The Joker
    • View Profile
    • Grand VCMP Server
Re: Auto-kick Failed to login
« Reply #6 on: July 31, 2008, 02:18:45 pm »
wtf  :-\


Offline thijn

  • LU testers
  • VC:MP Veteran
  • *
  • Posts: 667
  • Im proud to be pro.
    • View Profile
    • Vice Underdogs
Re: Auto-kick Failed to login
« Reply #7 on: July 31, 2008, 05:39:20 pm »
Try this:
Code: [Select]
on *:SIGNAL:vcmp.spawn:{
  var %name = $1
  var %id = $vcmp.getid($1)

 if (($vcmp.setting.spawn == On) && ($vcmp.pass(%id) != $null) && ($vcmp.lin(%id) != 1)) vcmp.kick %id Auto-kick Filed to login   [/quote]

szostol

  • Guest
Re: Auto-kick Failed to login
« Reply #8 on: July 31, 2008, 06:27:56 pm »
Doesn't work

Offline thijn

  • LU testers
  • VC:MP Veteran
  • *
  • Posts: 667
  • Im proud to be pro.
    • View Profile
    • Vice Underdogs
Re: Auto-kick Failed to login
« Reply #9 on: July 31, 2008, 06:54:17 pm »
sorry need to be:
Code: [Select]
on *:SIGNAL:vcmp.spawn:{
  var %name = $1
  var %id = $vcmp.getid($1)

 if ($vcmp.setting.spawn == On) && ($vcmp.pass(%id) != $null) && ($vcmp.lin(%id) != 1) vcmp.kick %id Auto-kick Filed to login

szostol

  • Guest
Re: Auto-kick Failed to login
« Reply #10 on: July 31, 2008, 07:15:35 pm »
Doesn't work

Offline thijn

  • LU testers
  • VC:MP Veteran
  • *
  • Posts: 667
  • Im proud to be pro.
    • View Profile
    • Vice Underdogs
Re: Auto-kick Failed to login
« Reply #11 on: August 01, 2008, 12:55:01 pm »
try this:
Code: [Select]
on *:SIGNAL:vcmp.spawn:{
  var %name = $1
  var %id = $vcmp.getid($1)

 if ($vcmp.pass(%id) != $null) && ($vcmp.lin(%id) != 1) vcmp.kick %id Auto-kick Filed to login

Offline TanaX01

  • Made Man
  • ***
  • Posts: 214
  • BlackList! <3
    • View Profile
Re: Auto-kick Failed to login
« Reply #12 on: August 02, 2008, 10:52:28 pm »

Offline Youpi!

  • Street Thug
  • *
  • Posts: 10
    • View Profile
Re: Auto-kick Failed to login
« Reply #13 on: August 04, 2008, 04:45:08 am »
Script ?

nah. script ? WTF!!! LOOK IN TOPIC !! SCRIPTING!  :P
Answer
is this sansan  ???
Try this:
Code: [Select]
on *:SIGNAL:vcmp.spawn:{
  var %name = $1
  var %id = $vcmp.getid($1)

 if (($vcmp.setting.spawn == On) && ($vcmp.pass(%id) != $null) && ($vcmp.lin(%id) != 1)) vcmp.kick %id Auto-kick Filed to login   [/quote]
Dude that is Sansan scripting and it doesn't work on gus
gus is completly different

Offline Tommis

  • VC:MP Beta Tester (inactive)
  • Wiseguy
  • *
  • Posts: 56
    • View Profile
Re: Auto-kick Failed to login
« Reply #14 on: August 04, 2008, 05:28:29 am »
Hey,

Yes, make sure you do not get the scripts mixed up. As for my GUS scripts, I really recommend using VRockers new admin system for scripting off of for now.

I might be releasing my new scripts that are based off of VRockers new admin system, but am not sure. The new version I am making is totally recoded and differnet; made to be as simple as possible to understand, as organized as possible and with the best script-player sync. So far things have been going great.

Regards,
Tommis