Raised This Month: $ Target: $400
 0% 

Desvirtúe aquí.


  
 
 
Thread Tools Display Modes
Lawer
Senior Member
Join Date: Jul 2010
Location: C:\WINDOWS\MyHouse
Old 09-22-2010 , 11:16   Re: [ES] El Offtopic va ACA! (con reglas)
#6631

Quote:
Originally Posted by Destro- View Post
PHP Code:
zp_colored_print(id0"!g[ZP]!y %L"id"CMD_HUMAN_ONLY"
stock
PHP Code:
zp_colored_print(const id, const team_color, const input[], any:...)
{
 new 
teamInfo get_user_msgid ("TeamInfo")
 new 
ncc_maxplayers get_maxplayers()
 static 
color[10]
 static 
msg[191]
 
vformat(msg190input3)
 
 
replace_all(msg190"!g""^x04"// Green Color
 
replace_all(msg190"!y""^x01"// Default Color
 
replace_all(msg190"!t""^x03"// Team Color
 
 
switch(team_color){
  case 
1color "TERRORIST"
  
case 2color "CT"
  
case 3color "SPECTATOR"
 
}
 if(!
id){
  for (new 
1ncc_maxplayersi++){
   if (!
is_user_connected(i)) continue;
   new 
team_player[10]
   if(
team_color){
    
get_user_team (iteam_player9)
    
message_begin(MSG_ONEteamInfo_i)
    
write_byte(i)
    
write_string(color)
    
message_end()
   }
   
message_begin(MSG_ONEget_user_msgid("SayText"), {000}, i)
   
write_byte(i)
   
write_string(msg)
   
message_end()
   if(
team_color){
    
message_begin(MSG_ONEteamInfo_i)
    
write_byte(i)
    
write_string(team_player)
    
message_end()
   }
  }
  }
  else {
  if(!
is_user_connected(id)) return;
  new 
team_player[10]
  if(
team_color){
   
get_user_team (idteam_player9)
   
message_begin(MSG_ONEteamInfo_id)
   
write_byte(id)
   
write_string(color)
   
message_end()
  }
  
message_begin(MSG_ONEget_user_msgid("SayText"), {000}, id)
  
write_byte(id)
  
write_string(msg)
  
message_end()
  if(
team_color){
   
message_begin(MSG_ONEteamInfo_id)
   
write_byte(id)
   
write_string(team_player)
   
message_end()
  }
 }

En ese stock nunca define que sea una LANG solo el color
__________________
Lawer is offline
Send a message via Skype™ to Lawer
Destro-
Veteran Member
Join Date: Jun 2010
Location: $me->location();
Old 09-22-2010 , 11:22   Re: [ES] El Offtopic va ACA! (con reglas)
#6632

Mira como esta en el original.
PHP Code:
zp_colored_print(target, const message[], any:...)
{
 static 
buffer[512], iargscount
 argscount 
numargs()
 if(
//si no es id {
   //code
 
}
  
// Send to specific target
 
else
 {  
  
// Format message for player
  
vformat(buffersizeof buffer 1message3)
 
  
// Send it
  
message_begin(MSG_ONEg_msgSayText_target)
  
write_byte(target)
  
write_string(buffer)
  
message_end()
 } 
esa es la parte cuando hay un id espesificado.
__________________

Last edited by Destro-; 09-22-2010 at 11:25.
Destro- is offline
Celeron
Senior Member
Join Date: Jul 2010
Location: Argentina - Mendoza
Old 09-22-2010 , 12:00   Re: [ES] El Offtopic va ACA! (con reglas)
#6633

Nunca dice nada del LANG_PLAYER maestro.
__________________
Celeron is offline
Send a message via MSN to Celeron
S34Qu4K3
Veteran Member
Join Date: Jan 2010
Location: Galicia
Old 09-22-2010 , 13:07   Re: [ES] El Offtopic va ACA! (con reglas)
#6634

https://forums.alliedmods.net/showthread.php?t=138732
Alguien me da una manito??
__________________

- ASM2SMA: Experimental AMXX Assembly encoder

- Defuse Bar Fix

Quote:
Originally Posted by Arkshine
I DON'T WANT TO SEE NOOOOOOOOOOOOOOO AHHHHH. MY EYES ARE ALREADY HURT.
S34Qu4K3 is offline
Raddish
BANNED
Join Date: Jul 2008
Location: Argentina
Old 09-22-2010 , 13:16   Re: [ES] El Offtopic va ACA! (con reglas)
#6635

Fijate el link que te puse.
Raddish is offline
Raddish
BANNED
Join Date: Jul 2008
Location: Argentina
Old 09-22-2010 , 13:27   Re: [ES] El Offtopic va ACA! (con reglas)
#6636



User Raddish: has had 4,884 visits
Total User Profile Messages: 154
Join Date: 07-13-08
Posts Per Day: 5.77
Total Posts: 4,615
Referrals: 9


Raddish is offline
Celeron
Senior Member
Join Date: Jul 2010
Location: Argentina - Mendoza
Old 09-22-2010 , 13:49   Re: [ES] El Offtopic va ACA! (con reglas)
#6637

Que negro SPAMMER.
SPAMMER PROFECIONAL = RADDISH!
__________________
Celeron is offline
Send a message via MSN to Celeron
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Argentina
Old 09-22-2010 , 14:00   Re: [ES] El Offtopic va ACA! (con reglas)
#6638

Quote:
Originally Posted by Celeron View Post
Que negro SPAMMER.
SPAMMER PROFEsIONAL = RADDISH!
__________________
ATWWMH - MiniDuels
Madness is like gravity, just need a little push.
lucas_7_94 is offline
Send a message via Skype™ to lucas_7_94
Raddish
BANNED
Join Date: Jul 2008
Location: Argentina
Old 09-22-2010 , 14:14   Re: [ES] El Offtopic va ACA! (con reglas)
#6639

Cayo facebook.
Raddish is offline
Celeron
Senior Member
Join Date: Jul 2010
Location: Argentina - Mendoza
Old 09-22-2010 , 14:16   Re: [ES] El Offtopic va ACA! (con reglas)
#6640

Se, esto estaba viendo.
Gracias por la "S" lucas -.-!
__________________
Celeron is offline
Send a message via MSN to Celeron
 



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 03:57.


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