Raised This Month: $ Target: $400
 0% 

Facility CFGs v2.0


Post New Thread Reply   
 
Thread Tools Display Modes
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 02-21-2009 , 22:08   Re: Facility CFGs
Reply With Quote #11

I recommend to use server_exec() that force server to exec that cfg.

and add cvar to change the name of the cfgs.

PHP Code:
  client_print(idprint_chat"[AMXX] All  Players Transfer To SPEC.")
  
set_hudmessage(1702551270.040.6806.012.0)
  
show_hudmessage(id"| All Players SPEC | "
-->

PHP Code:
  client_print(0print_chat"[AMXX] All  Players Transfer To SPEC.")
  
set_hudmessage(1702551270.040.6806.012.0)
  
show_hudmessage(0"| All Players SPEC | "
/-------------------------------------------------------------------/

PHP Code:
  new name[32]
  
get_user_team(idname32
Any use

/----------------------------------------------------------------/

PHP Code:
  client_print(idprint_chat"[AMXX] Server Restart.")
  
set_hudmessage(1702551270.040.6806.012.0)
  
show_hudmessage(id"| Restart |"
-->

PHP Code:
  client_print(0print_chat"[AMXX] Server Restart.")
  
set_hudmessage(1702551270.040.6806.012.0)
  
show_hudmessage(0"| Restart |"
/-------------------------------------------------------------/

PHP Code:
server_cmd("sv_restart 1"
-->

PHP Code:
 
new p_cvar
 
 
public plugin_init()
{
       
p_cvar get_cvar_pointer("sv_restart")
}
 
[..]
 
   
set_pcvar_float(p_cvar1.0
__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
Starsailor
horrible hahah
Join Date: Aug 2008
Location: Buenos Aires
Old 02-21-2009 , 22:17   Re: Facility CFGs
Reply With Quote #12

change cfg names, or make a Cvar for changing the names of CFGS.

and post all in english, is per the rules

PHP Code:
  /* Facility CFGs Menu
    * 1: All Players SPEC
    * 2: CFG Cerrado + Vale
    * 3: CFG Publico
    * 4: Restart*/ 
to

PHP Code:
  /* Facility CFGs Menu
    * 1: All Players SPEC
    * 2: Closed CFG  + Live
    * 3: Public CFG
    * 4: Restart*/ 
Code:
In consola facilitycfgs or cfgs
to
Code:
In console facilitycfgs or cfgs

and


are you lawer ?

PHP Code:
#define AUTHOR "Lawer" 
__________________
Find my plugins here..

Ex - Spanish Moderator.

Last edited by Starsailor; 02-21-2009 at 22:23.
Starsailor is offline
Enipy
BANNED
Join Date: Jan 2009
Old 02-21-2009 , 23:41   Re: Facility CFGs
Reply With Quote #13

@Starsailor

Yes, I am Lawer, sorry for my inglish on having translated spanish for inglish.

@AntiBots
Vos que sos argentino ^^
Te hablo en espaņol... Porque queres la (id) en vez de 0, queda mejor el 0 para todos. ^_^


Enipy is offline
Send a message via MSN to Enipy
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 02-21-2009 , 23:53   Re: Facility CFGs
Reply With Quote #14

Quote:
Originally Posted by Enipy View Post
@Starsailor
@AntiBots
Vos que sos argentino ^^
Te hablo en espaņol... Porque queres la (id) en vez de 0, queda mejor el 0 para todos. ^_^
That I am seing you.... You put id instance of 0
__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 02-22-2009 , 05:25   Re: Facility CFGs
Reply With Quote #15

You should indent your code properly.
Arkshine is offline
Starsailor
horrible hahah
Join Date: Aug 2008
Location: Buenos Aires
Old 02-22-2009 , 11:35   Re: Facility CFGs
Reply With Quote #16

Quote:
You should indent your code properly.
use ctrl + i

Quote:
@AntiBots
Vos que sos argentino ^^
Te hablo en espaņol... Porque queres la (id) en vez de 0, queda mejor el 0 para todos. ^_^


vos lo habias puesto con id, antibots te dijo que lo pongas en 0
__________________
Find my plugins here..

Ex - Spanish Moderator.

Last edited by Starsailor; 02-22-2009 at 11:43.
Starsailor is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 02-22-2009 , 11:46   Re: Facility CFGs
Reply With Quote #17

Quote:
Originally Posted by Starsailor View Post
use ctrl + i
This does nothing for me. That only works in AMXStudio and/or PawnStudio. Those are not the only programs coders use to code amxx plugins
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-22-2009 , 13:50   Re: Facility CFGs
Reply With Quote #18

Quote:
Originally Posted by Starsailor View Post
use ctrl + i
Use Tab (should work in most source code editors)
fysiks is offline
Enipy
BANNED
Join Date: Jan 2009
Old 02-22-2009 , 14:29   Re: Facility CFGs
Reply With Quote #19

Quote:
Originally Posted by Starsailor View Post
use ctrl + i



[/b]vos lo habias puesto con id, antibots te dijo que lo pongas en 0
Ok, Habia entendido mal


UpGradeV2.0
Enipy is offline
Send a message via MSN to Enipy
pablitoocavs
BANNED
Join Date: Jan 2009
Location: Buenos Aires
Old 02-22-2009 , 14:35   Re: Facility CFGs v2.0
Reply With Quote #20

muy buen de menu. saludos compadre anda a la

[P]ablitoo/CaVs
pablitoocavs is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 20:22.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode