Raised This Month: $ Target: $400
 0% 

respawn


  
 
 
Thread Tools Display Modes
Author Message
-xchuubi.~
Member
Join Date: Jul 2010
Old 05-22-2011 , 11:08   respawn
#1

Este code tambien afecta a los que los matan, hacen retry, lo compran y respawn? se podria fixxear? salu2


PHP Code:
if(get_pcvar_num(allowrespawn) == 0) {
                
ColorChat(idGREEN"^x04[Escondidas]^x01 El item esta desactivado.");
                return 
PLUGIN_HANDLED;
            }
         
get_user_name(id,iName,31)
         {
            new 
Money cs_get_user_moneyid );
            new 
Price get_pcvar_numRespawn );
            
            if( 
Money Price )
            {
               
ColorChat(idGREEN"[Escondidas ]^x01 Usted necesita^x04 plata^x01 para comprar esto!" );
               return 
PLUGIN_HANDLED;
            }
            
            if( 
Money >= Price )
            {
               
cs_set_user_moneyidMoney Price );

               
cs_user_spawn(id);
               
               
ColorChat(idGREEN"[Escondidas]^x01 Has comprado^x03 Respawn^x04!")
            }
         } 
-xchuubi.~ is offline
stickcs
Senior Member
Join Date: Jan 2011
Old 05-22-2011 , 16:58   Re: respawn
#2

no entendi bien me podes explicar en que consiste que tiene que hacer y que pasa con lo que ahi hay
stickcs is offline
Neeeeeeeeeel.-
Some Guy Yellin'
Join Date: Jul 2010
Location: Argentina
Old 05-22-2011 , 17:32   Re: respawn
#3

PHP Code:
if(get_pcvar_num(allowrespawn) == 0
-->
PHP Code:
if(!get_pcvar_num(allowrespawn)) 
Agregale
PHP Code:
if(is_user_alive(id) {      ColorChat(idGREEN"^x04[Escondidas]^x01Tenes que estar muerto")      return PLUGIN_HANDLED 
__________________
Neeeeeeeeeel.- is offline
Send a message via Skype™ to Neeeeeeeeeel.-
Nico1
Senior Member
Join Date: Oct 2010
Old 05-22-2011 , 18:56   Re: respawn
#4

Quote:
Originally Posted by stickcs View Post
no entendi bien me podes explicar en que consiste que tiene que hacer y que pasa con lo que ahi hay
IDEM
__________________
Nico1 is offline
 



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 00:38.


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