16.02.2019, 13:49
Hello guys.
On my server I have RP tutorial on the beginning. Explaining all the rules via text draw. But I want to change it to dialog.
For Ex:
But I dont know how to do it.
This is my script for the tutorial rightnow
On my server I have RP tutorial on the beginning. Explaining all the rules via text draw. But I want to change it to dialog.
For Ex:
Код:
ShowPlayerDialog(playerid, 36251, DIALOG_STYLE_MSGBOX, "---------- - TUTORIAL", "Dobredojdovte na -------------", "Prodolzi", "");
This is my script for the tutorial rightnow
Код:
forward Tutorial1(playerid); public Tutorial1(playerid) { ClearChatbox(playerid, 100); TextDrawHideForPlayer(playerid, PGTD1); TextDrawHideForPlayer(playerid, PGTD2); TextDrawHideForPlayer(playerid, PGTD3); TextDrawHideForPlayer(playerid, PGTD4); TextDrawShowForPlayer(playerid, MGTD1); TextDrawShowForPlayer(playerid, MGTD2); 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); SetTimerEx("Tutorial2", 20000, 0, "i", playerid); }