Jump to content
  • 0

Error Script


Elysium

Question


  • Group:  Members
  • Topic Count:  41
  • Topics Per Day:  0.01
  • Content Count:  164
  • Reputation:   16
  • Joined:  03/15/12
  • Last Seen:  

I was trying to apply this script but suddenly there was error in my map console.

 

http://pastebin.com/806jWvKS

 

Line: 11

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  452
  • Reputation:   33
  • Joined:  12/18/14
  • Last Seen:  

set @nmp, query_sql "SELECT * FROM `no_multi_map` WHERE `u_id` = "+ @lud +" AND `hasClient` = 1 AND `mapname` = "+ @map$+""; 

Try

Edited by PandaLovesHamster
Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10013
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

when you try to execute a SELECT statement using the [query_sql], you're required to provide extra array variables to store every column that you selected from the SQL table.

query_sql( "SELECT `column1`,`column2` FROM `table` ",.@column1,.@column2 );
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...