Textdraw to dialog
#2

PHP код:
forward Tutorial1(playerid);
public 
Tutorial1(playerid)
{
    
ClearChatbox(playerid100);
    
SetPlayerVirtualWorld(playerid0);
    
SetPlayerInterior(playerid,0);
    
InterpolateCameraPos(playerid1443.582641, -1599.151489234.3563691786.682373, -1401.814575234.35636920000);
    
InterpolateCameraLookAt(playerid1444.551147, -1594.521850232.7350761782.797729, -1399.181030232.63201920000);
    
ShowPlayerDialog(playerid36251DIALOG_STYLE_MSGBOX"---------- - TUTORIAL""Dobredojdovte na -------------""Prodolzi""");

Then under OnDialogResponse

PHP код:
if(dialogid == 36251
{
/*then you would copy and paste everything from Tutorial2 function into here (obviously remove the textdraw stuff) and then another dialog if necessary, it should look like the function above, under here :D*/

Hope this helps.
Reply


Messages In This Thread
Textdraw to dialog - by Dimkata - 16.02.2019, 13:49
Re: Textdraw to dialog - by ItsRobinson - 16.02.2019, 16:04
Re: Textdraw to dialog - by Dimkata - 16.02.2019, 16:45
Re: Textdraw to dialog - by Dimkata - 16.02.2019, 16:51
Re: Textdraw to dialog - by d3Pedro - 16.02.2019, 18:44

Forum Jump:


Users browsing this thread: 1 Guest(s)