Desvirtúe aquí.


Post New Thread Reply   
 
Thread Tools Display Modes
shinoda
Spanish Moderator
Join Date: Nov 2009
Location: ag_crossfire
Old 09-18-2010 , 22:33   Re: [ES] El Offtopic va ACA! (con reglas)
Reply With Quote #6581

Quote:
Originally Posted by Lawer View Post
Esta minima cosa se puede optimizar?


PHP Code:
public TakeDamage(victiminflictorattackerFloat:damage)
{    
    if ( 
cs_get_user_teamattacker ) == CS_TEAM_T )
    {
        
SetHamParamFloat(4,(damage/1.2))  
    }
    
    
SetHamParamFloat4damage ELECDANIO[DANIO[attacker]] )
    
    return 
HAM_HANDLED

En ese code, si eres T, no tiene sentido la condicion, ya que finalmente hara el 2do SetHamParamFloat.
Colocale un else, o un IGNORED dentro de la condicion.
__________________
Oh hell no this shit is awesome !!!
shinoda is offline
Send a message via MSN to shinoda Send a message via Skype™ to shinoda
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Breaking The Habit ϗ
Old 09-19-2010 , 09:17   Re: [ES] El Offtopic va ACA! (con reglas)
Reply With Quote #6582

__________________
At the moment i'm accepting paid request's , PM ME with your idea.
lucas_7_94 is offline
Send a message via Skype™ to lucas_7_94
Asdito´^
Veteran Member
Join Date: Feb 2010
Location: Santa Fe, Argentina
Old 09-19-2010 , 13:19   Re: [ES] El Offtopic va ACA! (con reglas)
Reply With Quote #6583

http://www.youtube.com/watch?v=vqX_95ZUBjo
www.aperturescience.com

omg
__________________
################################
Asdito´^ is offline
Send a message via MSN to Asdito´^
Raddish
BANNED
Join Date: Jul 2008
Location: Argentina
Old 09-19-2010 , 13:31   Re: [ES] El Offtopic va ACA! (con reglas)
Reply With Quote #6584

Quote:
Originally Posted by S34Qu4K3 View Post
Si, pero para mi sera piola cuando logre adherir los portales a las paredes
Son sprites
Raddish is offline
S34Qu4K3
Veteran Member
Join Date: Jan 2010
Location: Galicia
Old 09-19-2010 , 13:50   Re: [ES] El Offtopic va ACA! (con reglas)
Reply With Quote #6585

Quote:
Originally Posted by Raddish View Post
Son sprites
Ya el logrado que no sigan el aiming, lo que no se es como cambiar el angle, dependiendo de si el origin esta en el suelo o en la pared :s
__________________

- 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
Destro-
Veteran Member
Join Date: Jun 2010
Location: Argentina (banned)
Old 09-19-2010 , 14:11   Re: [ES] El Offtopic va ACA! (con reglas)
Reply With Quote #6586

Que puedo optimizar de esto:
PHP Code:
stock new_chat_color(const id, const team_color[], const input[], any:...)
{
 new 
teamInfo get_user_msgid ("TeamInfo")
 new 
ncc_maxplayers get_maxplayers()
 new 
bool:send[33]
 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
 
if(!id){
 for (new 
1ncc_maxplayersi++){
  if (
is_user_connected(i)){
   new 
team_player[10]
   
get_user_team (iteam_player9)
   
send[i] = true
   message_begin
(MSG_ONEteamInfo_i)
   
write_byte(i)
   
write_string(team_color)
   
message_end()
   if(
send[i]){
    
message_begin(MSG_ONEget_user_msgid("SayText"), {000}, i)
    
write_byte(i)
    
write_string(msg)
    
message_end()
   }
   
send[i] = false
   message_begin
(MSG_ONEteamInfo_i)
   
write_byte(i)
   
write_string(team_player)
   
message_end()
  }
 }
 }
 if(
id){
 if (
is_user_connected(id)){
   new 
team_player[10]
   
get_user_team (idteam_player9)
   
send[id] = true
   message_begin
(MSG_ONEteamInfo_id)
   
write_byte(id)
   
write_string(team_color)
   
message_end()
   if(
send[id]){
    
message_begin(MSG_ONEget_user_msgid("SayText"), {000}, id)
    
write_byte(id)
    
write_string(msg)
    
message_end()
   }
   
send[id] = false
   message_begin
(MSG_ONEteamInfo_id)
   
write_byte(id)
   
write_string(team_player)
   
message_end()
 }
 }

@EDIT
Funsiona de 10 xD,una duda q tengo,es imposible meter 2 colores de team en un mensaje?por lo q vi si
pd:wiii!!!mi primer stock util xD
__________________
Thanks: meTaLiCroSS, Shinoda, kiske, lucas, Alucard\', Arkshine, Joropito.


Last edited by Destro-; 09-19-2010 at 16:22.
Destro- is offline
Send a message via MSN to Destro-
BolliN
Veteran Member
Join Date: Sep 2009
Location: In your Mind
Old 09-19-2010 , 17:29   Re: [ES] El Offtopic va ACA! (con reglas)
Reply With Quote #6587

Alguno tiene por ahi, para remover las armas del piso en X tiempo?
gracias :E
BolliN is offline
Lawer
Senior Member
Join Date: Jul 2010
Location: C:\WINDOWS\MyHouse
Old 09-19-2010 , 17:30   Re: [ES] El Offtopic va ACA! (con reglas)
Reply With Quote #6588

Quote:
Originally Posted by BolliN View Post
Alguno tiene por ahi, para remover las armas del piso en X tiempo?
gracias :E
En 'x' tiempo despues que la ronda empezo?
__________________
Lawer is offline
Send a message via Skype™ to Lawer
BolliN
Veteran Member
Join Date: Sep 2009
Location: In your Mind
Old 09-19-2010 , 17:33   Re: [ES] El Offtopic va ACA! (con reglas)
Reply With Quote #6589

Quote:
Originally Posted by Lawer View Post
En 'x' tiempo despues que la ronda empezo?
no osea, cuando lo matan/dropea el arma..

saludos
BolliN is offline
Raddish
BANNED
Join Date: Jul 2008
Location: Argentina
Old 09-19-2010 , 17:37   Re: [ES] El Offtopic va ACA! (con reglas)
Reply With Quote #6590

Quote:
Originally Posted by S34Qu4K3 View Post
Ya el logrado que no sigan el aiming, lo que no se es como cambiar el angle, dependiendo de si el origin esta en el suelo o en la pared :s
Son sprites como al apretar la T
Raddish 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 01:46.


Powered by vBulletin®
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Theme made by Freecode Sponsored by Layered Technologies
Freecode