#define DIALOG_TUTORIAL 14 // Dialog_tutorial
#define DIALOG_TUTORIAL_2 15 // 2 parte do tutorial
#define DIALOG_TUTORIAL_3 16 // 3 Parte tutorial
#define DIALOG_TUTORIAL_4 17 //4 Parte tutorial
#define DIALOG_TUTORIAL_5 18// 5 Parte tutorial
#define DIALOG_TUTORIAL_6 19//6 parte
#define DIALOG_TUTORIAL_7 20//Ultima parte Tutorial 1
#define DIALOG_TUTORIAL_8 21//Ultima parte.
if (strcmp("/tutorial", cmdtext, true, 10) == 0)
{
ShowPlayerDialog(playerid,DIALOG_TUTORIAL,DIALOG_STYLE_MSGBOX,"Tutorial","\n \nOlб, Leia com atenзгo assim nгo haverб mais dъvidas.\n ","Iniciar","");
return 1;
}
if(dialogid == DIALOG_TUTORIAL)
{
ShowPlayerDialog(playerid, DIALOG_TUTORIAL_2, DIALOG_STYLE_MSGBOX, "Prefeitura", "\n \nAqui Vocк poderб escolher sua profissгo\nAqui vocк pode tambйm pagar seus impostos caso vocк tenha uma casa.\n ", "Avanзar","");
SetPlayerCameraPos(playerid,1482.7965,-1723.4962,13.5469);
SetPlayerCameraLookAt(playerid,1482.7855,-1728.6163,13.3828);
}
if(dialogid == DIALOG_TUTORIAL_2)
{
ShowPlayerDialog(playerid,DIALOG_TUTORIAL_3, DIALOG_STYLE_MSGBOX,"Auto Escola", "\n \nAqui й auto escola, local onde vocк poderб fazer testes de habilitaзгo\nSгo tres tipos de habilitaзгo: nбutica, terrestre e aйrea.\n ", "Avanзar", "");
SetPlayerCameraPos(playerid,1436.6407,-1719.9894,13.5469);
SetPlayerCameraLookAt(playerid,1433.7435,-1717.5303,13.3828);
}
if(dialogid == DIALOG_TUTORIAL_3)
{
ShowPlayerDialog(playerid,DIALOG_TUTORIAL_4, DIALOG_STYLE_MSGBOX,"Delegacia", "\n \nAqui й a delegacia vocк pode visitar os jogadores que estгo presos.\nAqui й o local de venda de porte de armas que vocк precisa para usar armas.\nCaso vocк seja um infrator da lei ou faзa algo fora das regras, vocк poderб ser preso.\n ", "Avanзar", "");
SetPlayerCameraPos(playerid,1525.4188,-1671.3483,13.3828);
SetPlayerCameraLookAt(playerid,1528.6570,-1672.0450,13.3828);
}
if(dialogid == DIALOG_TUTORIAL_4)
{
ShowPlayerDialog(playerid,DIALOG_TUTORIAL_5,DIALOG_STYLE_MSGBOX,"Loja de utilidades", "\n \nAqui й a loja de utilidades, alguns itens que servidгo serб vendido aqui\nRecomendo olhar aqui todos os dias pois serгo colocado itens novos\n ","Avanзar","");
SetPlayerCameraPos(playerid,1351.9486,-1730.7408,13.3828);
SetPlayerCameraLookAt(playerid,1351.8494,-1733.8331,13.3906);
}
if(dialogid == DIALOG_TUTORIAL_5)
{
ShowPlayerDialog(playerid,DIALOG_TUTORIAL_6,DIALOG_STYLE_MSGBOX,"Loja de armas", "\n \nAqui й a loja de armas, aqui vocк encontrarб alguns tipos de armas.\nLembrando que para ter armas precisa de porte de armas.\n ","Avanзar","");
SetPlayerCameraPos(playerid,1340.8632,-1279.6150,13.3828);
SetPlayerCameraLookAt(playerid,1344.3535,-1279.5793,13.3828);
}
if(dialogid == DIALOG_TUTORIAL_6)
{
ShowPlayerDialog(playerid,DIALOG_TUTORIAL_7,DIALOG_STYLE_MSGBOX,"Hospital", "\n \nAqui й o Hospital, vocк serб levado para cб quando morrer, e serб cobrado uma taxa de R$ 100\nVocкs sera tratado e solto novamente.\n ","Avanзar","");
SetPlayerCameraPos(playerid,1214.3745,-1325.7362,13.5673);
SetPlayerCameraLookAt(playerid,1207.4453,-1325.0338,13.3984);
}
if(dialogid == DIALOG_TUTORIAL_7)
{
ShowPlayerDialog(playerid,DIALOG_TUTORIAL_8,DIALOG_STYLE_MSGBOX,"Fim", "\n Vocк finalizou o tutorial, espero que tenha acabado todas as suas dъvidas.\n","Finalizar","");
SetPlayerPos(playerid,1958.3783, 1343.1572, 15.3746);
}
if(dialogid == DIALOG_TUTORIAL_7)
{
ShowPlayerDialog(playerid,DIALOG_TUTORIAL_8,DIALOG_STYLE_MSGBOX,"Fim", "\n Vocк finalizou o tutorial, espero que tenha acabado todas as suas dъvidas.\n","Finalizar","");
SetPlayerPos(playerid,1958.3783, 1343.1572, 15.3746);
}
SetPlayerPos(playerid,1958.3783, 1343.1572, 15.3746);
if(dialogid == DIALOG_TUTORIAL_7)
{
ShowPlayerDialog(playerid,DIALOG_TUTORIAL_8,DIALOG_STYLE_MSGBOX,"Fim", "\n Vocк finalizou o tutorial, espero que tenha acabado todas as suas dъvidas.\n","Finalizar","");
SpawnPlayer(playerid);
SetPlayerPos(playerid,1958.3783, 1343.1572, 15.3746);
}
SetCameraBehindPlayer(playerid);
KKKKkkk o player ele setou , a camera nao
\/ pawn Код:
|
SetCameraBehindPlayer(playerid); |
if(dialogid == DIALOG_TUTORIAL_7)
{
ShowPlayerDialog(playerid,DIALOG_TUTORIAL_8,DIALOG_STYLE_MSGBOX,"Fim", "\n Vocк finalizou o tutorial, espero que tenha acabado todas as suas dъvidas.\n","Finalizar","");
SetPlayerPos(playerid,1958.3783, 1343.1572, 15.3746);
}