26.12.2011, 17:14
hmmmmmmmmmmm
You Missed something
U using string there in format and sending dialog , but u havent defined string
so new string[128]; after line new Query[80],pName[24];
or as new Query[80],pName[24] , string[128];
:P
I mentioned this cause some new ppl will get confused/o:
[]_[]
____
still nice tutorial
Quote:
public OnPlayerConnect(playerid) { new Query[80],pName[24]; GetPlayerName(playerid,pName,24); format(Query,sizeof(Query),"SELECT FROM `Users` WHERE `Username` = '%s' LIMIT 1;",pName); mysql_query(Query); mysql_store_result(); return 1; } |
U using string there in format and sending dialog , but u havent defined string
so new string[128]; after line new Query[80],pName[24];
or as new Query[80],pName[24] , string[128];
:P
I mentioned this cause some new ppl will get confused/o:
[]_[]
____
still nice tutorial
![Tongue](images/smilies/razz.gif)