Guest User

Untitled

a guest
Jan 22nd, 2013
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. new str[128];
  2. new condisname[MAX_PLAYER_NAME];
  3. GetPlayerName(playerid, condisname, sizeof(condisname));
  4. mysql_real_escape_string(condisname, condisname);
  5. format(str, sizeof(str),"SELECT `Name` FROM `players` WHERE `Name` = '%s'", condisname);
  6. mysql_function_query(1, str, true, "OnPlayerRegCheck","d", playerid);
  7. mysql_store_result(1);
Advertisement
Add Comment
Please, Sign In to add comment