Elysium Posted April 16, 2016 Group: Members Topic Count: 41 Topics Per Day: 0.01 Content Count: 164 Reputation: 16 Joined: 03/15/12 Last Seen: October 24, 2020 Share Posted April 16, 2016 I was trying to apply this script but suddenly there was error in my map console. http://pastebin.com/806jWvKS Line: 11 Quote Link to comment Share on other sites More sharing options...
0 PandaLovesHamster Posted April 17, 2016 Group: Members Topic Count: 51 Topics Per Day: 0.01 Content Count: 452 Reputation: 33 Joined: 12/18/14 Last Seen: May 30, 2016 Share Posted April 17, 2016 (edited) set @nmp, query_sql "SELECT * FROM `no_multi_map` WHERE `u_id` = "+ @lud +" AND `hasClient` = 1 AND `mapname` = "+ @map$+""; Try Edited April 17, 2016 by PandaLovesHamster Quote Link to comment Share on other sites More sharing options...
0 Emistry Posted April 17, 2016 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10013 Reputation: 2348 Joined: 10/28/11 Last Seen: April 6 Share Posted April 17, 2016 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 ); Quote Link to comment Share on other sites More sharing options...
Question
Elysium
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.