29.11.2011, 21:29
Quote:
Wow, thanks for all the help guys - /oban now works fine.
Butt, i've now tried making /omute, i thought i wouldn't have any problems - i was wrong: Error: Code:
error 035: argument type mismatch (argument 1) I have, new IsMutedOrNot; :S. |
pawn Code:
new szUnload[10], IsMutedOrNot;
format(checkquery, sizeof(checkquery), "SELECT `muted` FROM `users` WHERE `username` = '%s'", OBanName);
mysql_query(checkquery);
mysql_store_result();
mysql_retrieve_row();
mysql_get_field("muted", szUnload); --- Error line ----
mysql_free_result();
IsMutedOrNot = strval(szUnload);