Who fix my problem?

Started by UncleRus, May 03, 2020, 01:42 PM

Previous topic - Next topic

UncleRus

In the log server AN ERROR HAS OCCURED [Error in 'mysql_fetch_assoc': Wrong number of arguments or invalid argument type]
wtf?
I LoperkinDead.My brothers scripters TimyrSem,VladSem

habi

does it show any line number?

post 10 lines of code

UncleRus


Habi, I have such garbage after I placed the script on the hosting
I LoperkinDead.My brothers scripters TimyrSem,VladSem

UncleRus

And I probably have a problem and I go to the server for this, writes the connection to the server, loading information from the server for a couple of seconds, the convergence with the server is lost, can unnecessary plugins affect it
I LoperkinDead.My brothers scripters TimyrSem,VladSem

UncleRus

function onPlayerCommand( player, cmd, text )
{
   if(player.Spawned == false )
   {
      MSGPLR(MSG_ERROR_EN+"You can't use commands when unspawned.",player,MSG_ERROR_RO+"Nu poti folosi comenzi cand nu esti spawnat.");
6line      return 0;
   }
   cmd = cmd.tolower();
   switch(cmd)
   {
      case "help":
      {
   waht fix it
I LoperkinDead.My brothers scripters TimyrSem,VladSem

UncleRus

I LoperkinDead.My brothers scripters TimyrSem,VladSem

habi

#6
function onPlayerCommand( player, cmd, text )
{
   if(player.Spawned == false )
   {
      MessagePlayer(  "You can't use commands when not spawned" , player);
      return ;
   }
   cmd = cmd.tolower();
   switch( cmd )
   {
      case "help":
      {

UncleRus

//Functii copiate
function GetTok(string, separator, n, ...)
{
line 172 local m = vargv.len() > 0 ? vargv[0] : n,
   tokenized = split(string, separator),
   text = "";
 if (n > tokenized.len() || n < 1) return null;
 for (; n <= m; n++)
 {
 text += text == "" ? tokenized[n-1] : separator + tokenized[n-1];
 }
 return text;
}

 what fix it line 172
I LoperkinDead.My brothers scripters TimyrSem,VladSem

habi

Can you post screenshot?

UncleRus

I LoperkinDead.My brothers scripters TimyrSem,VladSem

habi

Post a screenshot of the server. black colour

UncleRus

I LoperkinDead.My brothers scripters TimyrSem,VladSem

MEGAMIND

;D
Quote from: UncleRus on May 07, 2020, 04:11 PMlogs server
Not logs the console, the fil which u use to run ur server, the one with exe extension

UncleRus

I use pl hosting idont see fileon start my server
I LoperkinDead.My brothers scripters TimyrSem,VladSem

habi