View Single Post
jaaaalot
Senior Member
Join Date: Oct 2008
Old 11-16-2008 , 11:22   Re: [TUT/INFO] Condition operator aka ? and :
Reply With Quote #24

PHP Code:
new bm str_to_num(arg)
 
 if(
bm == 0)
 {
  if(
get_pcvar_num(quiet) == 2)
  {
  
unpause("ac","hnk_bannedmaps.amxx")
  } 
  else
  {
   new 
name[32]
   
get_user_name(id,name,31)
   
unpause("ac""hnk_bannedmaps.amxx")
   
ColorChat(0,RED,"^x04[hnk]^x03 %s :^x01 enabled bannedmaps",get_pcvar_num(quiet) == name "ADMIN")
  }
 } 
work like this too?
jaaaalot is offline