Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lista jucatorilor!
#10
//GLOBAL VARS
new players = 0
new bool:more_than_20 = false
new bool:playing_5v5 = false
public plugin_init() {
//Register the commands
register_clcmd("amx_55", "set_5v5", "Facem 5v5 0-yes 1-no")
}

public set_5v5(){
new cmd[1]
read_argv(0, cmd, 1)
if(cmd = "1"){
playing_5v5 = true
}else{
playing_5v5 = false
ZUZUK WILL GO OUT!!! bye bye!
return PLUGIN_HANDLED
}
return PLUGIN_CONTINUE
}

public client_putinserver(id) {
if(playing_5v5)
{
players++
if ( players >= 19 ){
more_than_20 = true
ZUZUK JOINS!!! HAHA!
}
return PLUGIN_CONTINUE
}else{
return PLUGIN_HANDLED
}
}

public client_disconnect(id){
players--
if ( players < 19 ){
more_than_20 = false
ZUZUK WILL GO OUT!!! bye bye!
}
}

=)))))


Messages In This Thread
Lista jucatorilor! - by Amphetamine - 01-14-2012, 09:37 PM
Re: Lista jucatorilor! - by leVel - 01-15-2012, 12:43 AM
Re: Lista jucatorilor! - by Gestapo.HD - 01-15-2012, 01:02 AM
Re: Lista jucatorilor! - by leVel - 01-16-2012, 12:55 PM
Re: Lista jucatorilor! - by Amphetamine - 01-16-2012, 01:32 PM
Re: Lista jucatorilor! - by [anu]cLa - 01-16-2012, 03:08 PM
Re: Lista jucatorilor! - by nDy - 01-16-2012, 03:08 PM
Re: Lista jucatorilor! - by kento - 01-16-2012, 03:32 PM
Re: Lista jucatorilor! - by sss - 01-16-2012, 04:40 PM
Re: Lista jucatorilor! - by ZuZuk - 01-16-2012, 05:00 PM
Re: Lista jucatorilor! - by verde - 01-16-2012, 05:13 PM
Re: Lista jucatorilor! - by leVel - 01-16-2012, 08:50 PM
Re: Lista jucatorilor! - by sss - 01-16-2012, 10:01 PM
Re: Lista jucatorilor! - by costi - 01-16-2012, 10:17 PM
Re: Lista jucatorilor! - by verde - 01-16-2012, 11:15 PM
Re: Lista jucatorilor! - by Multicolor - 01-17-2012, 12:36 AM
Re: Lista jucatorilor! - by Darkclan#B.u.T. - 01-17-2012, 01:07 AM
Re: Lista jucatorilor! - by abalala - 01-18-2012, 09:14 PM
Re: Lista jucatorilor! - by sss - 01-19-2012, 01:29 PM
Re: Lista jucatorilor! - by Rotwayller - 01-19-2012, 02:19 PM

Forum Jump:


Users browsing this thread: 6 Guest(s)