12.06.2011, 20:30
okay hello all !
Sorry that's how Northern Beacon the clusters help forum, but it's pretty urgent.
Why is it not even me?
Here's the code:
Everything works well except the User Number, is the stock of GetPlayerNumberID:
Thanks in advance for helpers!
Sorry that's how Northern Beacon the clusters help forum, but it's pretty urgent.
Why is it not even me?
Here's the code:
pawn Код:
format (String, 256, "Nick:%s", GetName (playerid));
SendClientMessage (playerid, c_orange, String);
format (String, 256, "Password:%s", inputtext);
SendClientMessage (playerid, c_orange, String);
format (String, 256, "Register Date:%s", GetDate ());
SendClientMessage (playerid, c_orange, String);
format (String, 256, "User Number:%s", GetPlayerNumberID (playerid));
SendClientMessage (playerid, c_orange, String);
pawn Код:
stock GetPlayerNumberID (playerid)
{
new query [256];
format (query, 256, "SELECT ID FROM Users WHERE Nick = '%s'", GetName (playerid));
return mysql_query (query);
}