29.07.2015, 07:50
(
Последний раз редактировалось Lуs; 29.07.2015 в 07:57.
Причина: Prefixo/Tнtulo
)
Entгo nгo quer pegar quando clica pra pular/avanзar o tutorial pula normalmente pois й em Dialog por que o tempo nгo quer pegar tipo q o player precisa esperar tantos seg para poder avanзar
pawn Код:
if(dialogid == 904)
{
if(response == 1)
{
PlayerPlaySound(playerid, 1039, 0.0, 0.0, 0.0);
new DialogInfoorg[1500];
XXAirBreak[playerid] += 3;
TempoTutorial[playerid] = SetTimerEx("Tutorial", 40000, false, "i", playerid);
GameTextForPlayer(playerid, "~y~Inicio", 40000, 6);
format(string,sizeof(string),"Olб %s, Seja muito bem vindo ao Brasil PlayFaster RPG\n",PlayerName(playerid));
strcat(DialogInfoorg,string);
format(string,sizeof(string),"\nPreste muita atenзгo neste tutorial para que nгo tome futuras puniзхes\n");
strcat(DialogInfoorg,string);
format(string,sizeof(string),"\nLembrando que esta serб a ultima vez que vocк verб este tutorial no jogo\n");
strcat(DialogInfoorg,string);
format(string,sizeof(string),"\nIntгo preste o maximo de atenзгo pois й muito importante ler todo o tutorial\n");
strcat(DialogInfoorg,string);
format(string,sizeof(string),"\nEste tutorial tambem te ajudarб a a entender melhor a jogabilidade do servidor\n");
strcat(DialogInfoorg,string);
format(string,sizeof(string),"\nE nгo pule o tutorial rapidamente por favor, e seja atento em tudo que ler neste tutorial\n");
strcat(DialogInfoorg,string);
ShowPlayerDialog(playerid, 905, DIALOG_STYLE_MSGBOX, "Inicio:", DialogInfoorg, "Avanзar", "Cancelar");
SetPlayerCameraPos( playerid, -2864.7883, 264.9134, 23.1133 );
SetPlayerCameraLookAt( playerid, -2864.4394, 254.9195, 20.8638 );
XXAirBreak[playerid] += 3;SetPlayerPos(playerid, -2870.0090,272.1401,5.6831);
SetPlayerInterior(playerid, 0);
return 0;
}
else if(response == 0)
{
Kick(playerid);
return 0;
}
return 0;
}