YCMD:qtutorial(playerid, params[]) {
TutorialActive[i] = 0;
if(PlayerInfo[i][pTut] == 0) {
ServerAccounts++;
format(string, sizeof(string), !
"%s(%d) s-a inregistrat pe server. [#%d]", GetName(i), i, PlayerInfo[i][pSQLID]);
SendAdminMessage(COLOR_LIGHTRED, string, 1);
for( new j = 0; j <= 50; j++)
SCM(i, COLOR_WHITE, "");
SCM(i, COLOR_YELLOW,
!"Te-ai inregistrat cu succes!");
SCM(i, COLOR_YELLOW,
!"Foloseste comanda /bonus pentru a primi un bonus special");
ResetPlayerCash(i);
GivePlayerCash(i, 20000);
PlayerInfo[i][pAccount] = 20000;
PlayerInfo[i][pLevel] = 1;
format(string, sizeof(string), "UPDATE users SET `Tutorial`='1',`Bank`='20000',`Money`='20000' WHERE `name`='%s'",GetName(i));
mysql_query(SQL, string);
TutTime[i] = 0; PlayerInfo[i][pTut] = 1; gOoc[i] = 0; gNews[i] = 0; gFam[i] = 0; CP[i] = 53; }
TogglePlayerControllable(i, 1);
TogglePlayerSpectating(i, 0);
SetCameraBehindPlayer(i);
SpawnPlayer(i);
PlayerTextDrawHide(i, TutorialTD);
return 1; }
/* Gasesti in GM */
switch(TutorialStep[i]) {
/* Si bagi acolo ceva de genu */
SCM(playerid, -1,
!"Pentru a trece peste tutorial, te rugam sa scrii (/qtutorial)");
*Asta e tot ce poti face momentan daca nu ai cunostinte in limbajul pawn...