[Ayuda] Con Este Error..
#1

Buenas a todos, quiero usar OnPlayerCommandText en un include y ya que no se puede colocar dos veces el call hice otro y lo coloco en OnPlayerCommandText, pero me sale este errores .

error 029: invalid expression, assumed zero

Como lo puedo solucionar :S..

PHP код:
//ERROR:
error 029invalid expressionassumed zero 
PHP код:
//LINEA:
OnPlayerCommandText_nombre(playeridcmdtext[]) 
PHP код:
//en el gm
public OnPlayerCommandText(playeridcmdtext[])
{
       
OnPlayerCommandText_nombre(playeridcmdtext[]);  //aca tira el error
    
return 0;
}
//en el include
OnPlayerCommandText_nombre(playeridcmdtext[]) 
{
        
//comandos...
    
return 0;

Desde ya muchas gracias,
Reply
#2

pawn Код:
public OnPlayerCommandText(playerid, cmdtext[])
{
    OnPlayerCommandText_nombre(playerid, cmdtext);
    return 0;
}

stock OnPlayerCommandText_nombre(playerid, cmdtext[])  
{
    return 0;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)