Raised This Month: $ Target: $400
 0% 

One problem


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
conrad
Junior Member
Join Date: Jun 2007
Old 11-18-2007 , 07:15   Re: One problem
Reply With Quote #9

Error:
Quote:
warning 217: loose indentation
warning 217: loose indentation
warning 217: loose indentation
warning 217: loose indentation
error 035: argument type mismatch (argument 3)
warning 204: symbol is assigned a value that is never used: "iResult"


Code:
public saymoney(id)
{
  new szAuthid[32], szName[32];
  new iResult;
  get_user_authid( id, szAuthid, 31 );
  get_user_name( id, szName, 31 );
 

res = dbi_query(dbc, "SELECT `money` FROM table where name='%s' ", szName); 


 while (dbi_nextrow(res) > 0)
 {
   
  iResult = dbi_result(res, "money");
  
 }
 


client_print(0,print_chat, iResult);
 
}
conrad is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 01:12.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode