Raised This Month: $ Target: $400
 0% 

Desvirtúe aquí.


  
 
 
Thread Tools Display Modes
Stereo
Veteran Member
Join Date: Dec 2010
Old 04-13-2012 , 17:47   Re: Desvirtúe aquí.
#16901

porque mierda returneo un float y me da tag mismatch???

PHP Code:
public maldita_mierda()
    return 
variable_float_mierda 
Stereo is offline
rak
Veteran Member
Join Date: Oct 2011
Location: banned country
Old 04-13-2012 , 18:07   Re: Desvirtúe aquí.
#16902

Quote:
Originally Posted by Stereo View Post
porque mierda returneo un float y me da tag mismatch???

PHP Code:
public maldita_mierda()
    return 
variable_float_mierda 
PHP Code:
public maldita_mierda()
    return 
Float:variable_float_mierda 
???

o

PHP Code:
public maldita_mierda()
    return 
Float:variable_float_mierda

public test()
    new 
Float:Var = Float:maldita_mierda() 
???

o

PHP Code:
public maldita_mierda()
    return 
Float:variable_float_mierda

public test()
    new Var = 
Float:maldita_mierda() // despues usas new Float:Var2 = Float:Var 
alguna tiene q funcionar xD
__________________

www.amxmodx-es.com

Steam: Luchokoldo

Last edited by rak; 04-13-2012 at 18:08.
rak is offline
Send a message via MSN to rak Send a message via Skype™ to rak
Stereo
Veteran Member
Join Date: Dec 2010
Old 04-13-2012 , 18:11   Re: Desvirtúe aquí.
#16903

Es para una native, quiero returnear una float variable, pero me da tag mismatch

PHP Code:
new Float:QeTal

public obtener_tal()
    return 
QeTal 
Stereo is offline
rak
Veteran Member
Join Date: Oct 2011
Location: banned country
Old 04-13-2012 , 18:17   Re: Desvirtúe aquí.
#16904

Quote:
Originally Posted by Stereo View Post
Es para una native, quiero returnear una float variable, pero me da tag mismatch

PHP Code:
new Float:QeTal

public obtener_tal()
    return 
QeTal 
PHP Code:
new Float:QeTal

public Float:obtener_tal()
    return 
QeTal 
(?
__________________

www.amxmodx-es.com

Steam: Luchokoldo

Last edited by rak; 04-13-2012 at 18:17.
rak is offline
Send a message via MSN to rak Send a message via Skype™ to rak
Stereo
Veteran Member
Join Date: Dec 2010
Old 04-13-2012 , 18:40   Re: Desvirtúe aquí.
#16905

Si pero el public es de una native (register_native) no puedo ponerlo asin creo
Stereo is offline
leonard19941
Veteran Member
Join Date: Jun 2011
Old 04-13-2012 , 18:48   Re: Desvirtúe aquí.
#16906

porque connor lo puso asi ?

PHP Code:
public ClientCommand_Buy/* id */ 

    return 
PLUGIN_HANDLED_MAIN 

no seria asi ?

PHP Code:
public ClientCommand_Buyid 

    return 
PLUGIN_HANDLED_MAIN 

http://forums.alliedmods.net/showpos...82&postcount=4
__________________
leonard19941 is offline
Destro-
Veteran Member
Join Date: Jun 2010
Location: $me->location();
Old 04-13-2012 , 18:49   Re: Desvirtúe aquí.
#16907

PHP Code:
public plugin_natives()
{
    
register_native("asd""native_asd"1)
}

public 
Float:native_asd()
{
    return 
1.0

PHP Code:
native Float:asd()

public 
plugin_init()
{
    new 
Float:asd()

__________________

Last edited by Destro-; 04-13-2012 at 22:09. Reason: -.-,onda que lo avia editado y no se avia cambiado xd
Destro- is offline
Stereo
Veteran Member
Join Date: Dec 2010
Old 04-13-2012 , 18:55   Re: Desvirtúe aquí.
#16908

Thx to all
Stereo is offline
AlgoChikitito
BANNED
Join Date: Feb 2011
Location: España
Old 04-13-2012 , 18:55   Re: Desvirtúe aquí.
#16909

Fail
AlgoChikitito is offline
shinoda
Spanish Moderator
Join Date: Nov 2009
Location: ag_crossfire
Old 04-13-2012 , 20:00   Re: Desvirtúe aquí.
#16910

Quote:
Originally Posted by leonard19941 View Post
porque connor lo puso asi ?

PHP Code:
public ClientCommand_Buy/* id */ 

    return 
PLUGIN_HANDLED_MAIN 

no seria asi ?

PHP Code:
public ClientCommand_Buyid 

    return 
PLUGIN_HANDLED_MAIN 

http://forums.alliedmods.net/showpos...82&postcount=4
Porque 'id' no es usado.
shinoda is offline
Send a message via MSN to shinoda Send a message via Skype™ to shinoda
 



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 21:19.


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