Burgershot
  • Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Burgershot Other languages Spanish/Español Programación Problema con un warning.

 
  • 0 Vote(s) - 0 Average
Problema con un warning.
nittro
Offline

Burgershot Member
Posts: 4
Threads: 2
Joined: Nov 2020
Reputation: 0
Location: Caracas, Venezuela.
#1
2020-11-05, 04:31 PM
¿Que quiere decir este warning?

PHP Code:
warning 235: public function lacks forward declaration (symbol "GuardarCuentas") 

Código.
PHP Code:
public GuardarCuentas()
{
for(new 
i=0;i<MAX_PLAYERS;i++)
{
if(
IsPlayerConnected(i))
{
GuardarCuenta(i);
}
}
return 
1;
} 
Pinch
Offline

Burgershot Member
Posts: 391
Threads: 19
Joined: Apr 2019
Reputation: 22
Location: Belgrade, Serbia
#2
2020-11-05, 04:47 PM
forward GuardarCuentas();
public GuardarCuentas()
...
Using Pawn.CMD?
If you're doing so, this is the very first sign that you absolutely shouldn't utilize your all powerful P-Code knowledge in any of the scripting discussion topics.
nittro
Offline

Burgershot Member
Posts: 4
Threads: 2
Joined: Nov 2020
Reputation: 0
Location: Caracas, Venezuela.
#3
2020-11-05, 06:29 PM
(2020-11-05, 04:47 PM)Pinch Wrote: forward GuardarCuentas();
public GuardarCuentas()
...

Gracias más sencillo no podia ser :)
« Next Oldest | Next Newest »



  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Burgershot - Powered by our Community and MyBB Original Theme by Emerald

Linear Mode
Threaded Mode