How can i make this?
#1

I want to make a register test you must pass before you can register your account, but how can i make it with dialog input and after all the questions an administrator can check the awnsers and then choose if the player can register or not?
Reply
#2

Use Y_INI/dini/mysql and create variables to save player answers in a separate folder and make commands to read the data and u can make a variable that approves this.... and if the variable is approved then the players name is allowed to be used/register
Reply
#3

Could you show like an example and cant it be done without mysql?
Reply
#4

YINI

https://sampforum.blast.hk/showthread.php?tid=273088 // use this to learn how to load and save data.....
https://sampforum.blast.hk/showthread.php?tid=386144 //how to edit offline stats..
pawn Код:
enum PQInfo
{
   a1[256],
   a2[256],
   a3[256],
   approved
}
new QAnswers[MAX_PLAYERS][PQInfo];

stock Path(playerid)
{
  new string[256], playername[MAX_PLAYER_NAME];
  GetPlayerName(playerid,playername,sizeof(playername));
  format(string, sizeof(string), "Quiz/%s.ini",playername);
  return string;
}
Reply
#5

lool sorry about the comment but "Glad2BeHere" your avatar is funny as hell lool
Reply
#6

Ah, Thanks!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)