About TextDrawHideForPlayer
#2

In this code there is no error, perhaps you are placing evil in the callback, place as well:

PHP Code:
public OnDialogResponse(playeriddialogidresponselistiteminputtext[])
{
    
/*if(dialogid == other_dialog)
    {
    }*/
    
if(dialogid == REGISTRATION_SKIPTUT)
    {
        if(
response)
        {
            
PlayerInfo[playerid][pTut] = 1;
            
SetPlayerPos(playerid2212.61, -1730.57, -80.0);
            
SetPlayerCameraPos(playerid2208.67, -1733.7127.48);
            
SetPlayerCameraLookAt(playerid2225.25, -1723.113.56);
            
TogglePlayerControllable(playerid,0);

            for(new 
011t++)
            {
                
TextDrawShowForPlayer(playeridTutTxtDraw[t]);
            }
            
TutorialProgress[playerid] = 1;
            
SetTimerEx("TutorialProgression"145000"d"playerid);
        }
        else
        {
            for(new 
054t++)
            {
                
TextDrawHideForPlayer(playeridTutTxtDraw[t]);
            }
            
SetPlayerInterior(playerid0);
            
SetPlayerVirtualWorld(playerid0);
            
TogglePlayerControllable(playerid1);
            
SetPlayerPos(playerid852.477905, -1439.47387615.043654);
            
SetPlayerFacingAngle(playerid171.05);
            
SetCameraBehindPlayer(playerid);
            
TextDrawHideForPlayer(playeridMainMenuTxtdraw[0]);
            
InsideTut[playerid] = 0;
            
DeletePVar(playerid"MedicBill");
            
SetPlayerColor(playerid,TEAM_HIT_COLOR);
            
PlayerInfo[playerid][pTut] = 1;
            
PlayerInfo[playerid][pSex] = 1;
            
PlayerInfo[playerid][pAge] = 25;

            
PlayerInfo[playerid][pSkin] = 299;
            
SetPlayerSkin(playerid299);

            
ClearChatbox(playerid);
            new 
string[128];
            
format(stringsizeof(string), "Welcome to Irish Verse Roleplay PH, %s."GetPlayerNameEx(playerid));
            
SendClientMessage(playeridCOLOR_NEWSstring);

            
format(stringsizeof(string), "~w~Welcome~n~~y~%s"GetPlayerNameEx(playerid));
            
GameTextForPlayer(playeridstring50001);

            
SendClientMessage(playeridCOLOR_YELLOW"If you have any further questions, please use /newb. You can also /report if you see any rule-breakers.");
            
SendClientMessage(playeridCOLOR_GREY"Use /usecoupon to be a Gold Donator for 7 Days.");
            
SendClientMessage(playeridCOLOR_REALRED"If you wish to remove the textdraw. Please Relogin.");
            
ShowPlayerDialogEx(playeridDIALOG_REFUND2DIALOG_STYLE_LIST,"Irish Verse Roleplay PH - \ages","Starter Refund","Read""");

            new 
motdstring[128];
            
format(motdstringsizeof(motdstring), "News: %s"GlobalMOTD);
            
SendClientMessage(playeridCOLOR_WHITEmotdstring);

            
DeletePVar(playerid"IsFrozen");
            
TutorialProgress[playerid] = 0;
        }
    }
    
/*if(dialogid == other_dialog)
    {
    }*/
    
return true;

What is the other error ?. In the code there is only one, show the other, perhaps there is the solution.
Reply


Messages In This Thread
About TextDrawHideForPlayer - by ChuckyBabe - 31.03.2015, 03:02
Respuesta: About TextDrawHideForPlayer - by JuanStone - 31.03.2015, 03:21

Forum Jump:


Users browsing this thread: 1 Guest(s)