Jump to content
Autentificarea cu Google și Facebook nu mai este disponibilă. ×
  • 0

Cum scot tutorialul de la gamemode-ul burned lui xxNicusor ?


Question

3 answers to this question

Recommended Posts

  • 0
Posted

pai incepi a scoate variabilele din gm , dupa stergi tutorial din users in mysql , si stergi in gm tot ce are legatura cu tutuorial-ul..

  • 0
Posted (edited)
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...

Edited by Khain Developer

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.