Jump to content
  • 0

Problema Tutorial


AcSy

Question

Am o problema la tutorial ! Chiar daca sunt inregistrat, cand intru pe server imi spune sa completez acele date cu sex, varsta , etc. Daca modific in scriptfiles la regsitered = 1 si tutorial = 1 , ma pune exact in locul unde te aseaza la inceput pentru date , pe o canapea in primarie , cu camera fixa INTR-UN colt al camerei. Ce as putea sa fac ?

Aici incep intrebarile:

public SetPlayerSpawn(playerid)
{
	if(IsPlayerConnected(playerid))
	{
	    //TextDrawShowForPlayer(playerid, MoneyBankText[playerid]);
	    if(PlayerInfo[playerid][pTut] == 0)
	    {
	        ClearChatbox(playerid, 10);
			gOoc[playerid] = 1; gNews[playerid] = 1; gFam[playerid] = 1;
			TogglePlayerControllable(playerid, 0);
			RegistrationStep[playerid] = 1;
			SendClientMessage(playerid, COLOR_YELLOW, "Bun venit pe Magic Zone: Roleplay Server");
			SendClientMessage(playerid, COLOR_LIGHTRED,"Acesta este un server Role-Play asa ca va rugam ca mai intai sa completati,");
			SendClientMessage(playerid, COLOR_LIGHTRED,"cateva date despre dumneavoastra pentru a putea juca pe server");
			SendClientMessage(playerid, COLOR_ROSUAPRINS,"Te rog frumos sa faci click pe una din variantele de mai jos(masculin sau feminin)");
			//ShowPlayerDialog(playerid,4,DIALOG_STYLE_LIST,"Intrebarea nr.1","Esti de sex masculin sau feminin?\n(Alege de mai jos Masculin sau Feminin)","Masculin","Feminin");
			ShowPlayerDialog(playerid, 4, DIALOG_STYLE_LIST, "Intrebarea nr.1", "Masculin\nFeminin","Enter", "Cancel");
	    }
Si celelalte :
	if(RegistrationStep[playerid] > 0)
	{
	    if(RegistrationStep[playerid] == 1)
		{
      		ShowPlayerDialog(playerid,4,DIALOG_STYLE_MSGBOX,"Intrebarea nr. 1","Esti de sex masculin sau feminin?\n(Alege de mai jos Masculin sau Feminin)","Masculin","Feminin");
			return 0;
		}
		else if(RegistrationStep[playerid] == 2)
	    {
	        ShowPlayerDialog(playerid, 5, DIALOG_STYLE_INPUT, "Intrebarea nr.2", "Please write your age:", "Ok", "Cancel");
			return 0;
	    }
		else if(RegistrationStep[playerid] == 3)
	    {
	        ShowPlayerDialog(playerid,6,DIALOG_STYLE_MSGBOX,"3.","Sti sa ce inseamna Role-Play ?\n(Alege de mai jos Da daca sti sa joci si nu daca nu sti)","Da","Nu Stiu");
			return 0;
	    }
	    else if(RegistrationStep[playerid] == 4)
	    {
	        ShowPlayerDialog(playerid, 11, DIALOG_STYLE_LIST, "4. Alege unul din cele 6 fightstyles", "Boxing\nKungfu\nKneehead\nGrabkick\nElbow\nNormal", "Ok", "Cancel");
			return 0;
	    }
	    else if(RegistrationStep[playerid] == 5)
	    {
	        ShowPlayerDialog(playerid, 12, DIALOG_STYLE_LIST, "5.Selecteazati mersul:", "Default\nNormal\nPed\nGangsta\nGangsta2\nOld\nFat Old\nFat\nLady\nLady2\nWhore\nWhore2\nDrunk", "Select", "Cancel");
			return 0;
	    }
	    else if(RegistrationStep[playerid] == 6)
	    {
	        ShowPlayerDialog(playerid, 7, DIALOG_STYLE_LIST, "4.In ce oras doresti sa te spawnezi?", "Los Santos\nSan Fierro", "Ok", "Cancel");
			return 0;
	    }
		return 0;

Va rog daca stie cineva sa ma ajute ! Multumesc anticipat ! :)

Believe in yourself !

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Guest
This topic is now closed to further replies.
×
×
  • 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.