This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

[ES] Mi foward tiene un error


  
 
 
Thread Tools Display Modes
Author Message
Zapdos1
BANNED
Join Date: Jul 2009
Location: Chile - La Serena
Old 04-03-2010 , 22:59   [ES] Mi foward tiene un error
#1

Bueno estaba probando un plugin y me dá error en consola:

Quote:
Expected 2 parameters, got 0
[AMXX] Run time error 10 (plugin "miplugin.amxx") (native "ExecuteForward") - debug not enabled!
Aquí el code donde me dá el problema:

PHP Code:
public CharacterMenu(idmenuitem)
{
    if(
item MENU_EXIT && g_onetime[id] == 0)
    {
        
ExecuteForward(g_icharacterselectedid);
        
g_onetime[id] = 1
    
}
    else if(
g_onetime[id] >= 1)
    {
        
client_print(idprint_chat"%L"id"ALREADY");
    }

alguien sabe que significa este error? :S, y ¿cómo puedo arreglarlo?
Zapdos1 is offline
wally
BANNED
Join Date: Feb 2010
Old 04-03-2010 , 23:01   Re: [ES] Mi foward tiene un error
#2

Error al ejecutar el Forward.
wally is offline
B0R
BANNED
Join Date: Aug 2009
Old 04-03-2010 , 23:08   Re: [ES] Mi foward tiene un error
#3

Pone debug y pasame lo que te diga completamente que tratare de ayudarte.
B0R is offline
Zapdos1
BANNED
Join Date: Jul 2009
Location: Chile - La Serena
Old 04-03-2010 , 23:12   Re: [ES] Mi foward tiene un error
#4

Quote:
Originally Posted by B0R View Post
Pone debug y pasame lo que te diga completamente que tratare de ayudarte.

Quote:
L 04/03/2010 - 23:111: Expected 2 parameters, got 0
L 04/03/2010 - 23:111: [AMXX] Displaying debug trace (plugin "miplugin.amxx")
L 04/03/2010 - 23:111: [AMXX] Run time error 10: native error (native "ExecuteForward")
L 04/03/2010 - 23:111: [AMXX] [0] miplugin.sma::CharacterMenu (line 314)
eso es todo lo que sale :S

Last edited by Zapdos1; 04-03-2010 at 23:21.
Zapdos1 is offline
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Argentina
Old 04-03-2010 , 23:20   Re: [ES] Mi foward tiene un error
#5

Se esperaban 2 parametros ,se obtuvieron 0 ?
Esta bien lo que dije ?
__________________
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
Zapdos1
BANNED
Join Date: Jul 2009
Location: Chile - La Serena
Old 04-03-2010 , 23:57   Re: [ES] Mi foward tiene un error
#6

Quote:
Originally Posted by lucas_7_94 View Post
Se esperaban 2 parametros ,se obtuvieron 0 ?
Esta bien lo que dije ?
como eso que se esperaban 2 parametros? :S

-------
si preguntas por la traducción, está bien ;)
Zapdos1 is offline
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 04-04-2010 , 00:39   Re: [ES] Mi foward tiene un error
#7

ExecuteForward tiene unos valores creados cuando la creas, con FP_FLOAT, FP_CELL y bla bla bla.

Aparte es. ExecuteForward(id_del_forward, _return_from_plugin, {parametros...} )
__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
AntiBots
Veteran Member
Join Date: May 2008
Location: Brazil
Old 04-04-2010 , 00:40   Re: [ES] Mi foward tiene un error
#8

Lee aca: http://forums.alliedmods.net/showthread.php?t=86863
__________________
AntiBots is offline
Send a message via ICQ to AntiBots Send a message via MSN to AntiBots Send a message via Skype™ to AntiBots
Zapdos1
BANNED
Join Date: Jul 2009
Location: Chile - La Serena
Old 04-04-2010 , 09:18   Re: [ES] Mi foward tiene un error
#9

gracias AntiBots , me sirvió tu tutorial y además le doy las gracias a nuestro mejor amigo Search xD
Zapdos1 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 13:57.


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