16.02.2019, 16:04
PHP код:
forward Tutorial1(playerid);
public Tutorial1(playerid)
{
ClearChatbox(playerid, 100);
SetPlayerVirtualWorld(playerid, 0);
SetPlayerInterior(playerid,0);
InterpolateCameraPos(playerid, 1443.582641, -1599.151489, 234.356369, 1786.682373, -1401.814575, 234.356369, 20000);
InterpolateCameraLookAt(playerid, 1444.551147, -1594.521850, 232.735076, 1782.797729, -1399.181030, 232.632019, 20000);
ShowPlayerDialog(playerid, 36251, DIALOG_STYLE_MSGBOX, "---------- - TUTORIAL", "Dobredojdovte na -------------", "Prodolzi", "");
}
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*/
}