17.06.2014, 14:29
Buenas, necesito hacerle un tutorial a mi sv RP con los siguientes TextDraw que lo saque de una Gm que tenнa en mi Pc hace mucho tiempo;
Код:
case 1:
{
TextDrawShowForPlayer(playerid, BOXTuto[0]);
TextDrawShowForPlayer(playerid, BOXTuto[1]);
PlayerTextDrawShow(playerid, TituloTuto);
PlayerTextDrawShow(playerid, InfoTuto[0]);
PlayerTextDrawShow(playerid, InfoTuto[1]);
PlayerTextDrawShow(playerid, InfoTuto[2]);
SetPlayerInterior(playerid,0);
SetPlayerCameraPos(playerid,CamaraAeropuerto);
SetPlayerCameraLookAt(playerid,CamaraAeropuertoAt);
PlayerTextDrawSetString(playerid,TituloTuto,"Bienvenido a ~p~PRUEBA!");
PlayerTextDrawSetString(playerid,InfoTuto[0],"Bienvenido a PRUEBA RP, en este servidor nos preocupamos por los usuarios");
PlayerTextDrawSetString(playerid,InfoTuto[1],"y mas que nada, que disfrute jugando en nuestro servidor! Ahora pasamos a un breve tutorial");
PlayerTextDrawSetString(playerid,InfoTuto[2],"donde le mostraremos la ciudad. Pulse 'Click' para ir hacia la siguiente pagina!");
}
case 2:
{
LimpiarPantalla(playerid,10);
InterpolateCameraPos(playerid,CamaraAeropuerto,CamaraLSPD,4000,CAMERA_MOVE);
InterpolateCameraLookAt(playerid,CamaraAeropuertoAt,CamaraLSPDAt,4000,CAMERA_MOVE);
SetPlayerPos(playerid,POS_LSPD);
PlayerTextDrawSetString(playerid,TituloTuto,"Comisaria");
PlayerTextDrawSetString(playerid,InfoTuto[0],"La policia de la ciudad... aqui vas a poder conseguir ayuda policial las 24 horas,");
PlayerTextDrawSetString(playerid,InfoTuto[1],"tambien podras comunicarte con ellos llamando al 101 y dejas los datos que te piden.");
PlayerTextDrawSetString(playerid,InfoTuto[2],"Entre otros privilegios, la policia te atendera denuncias de todo tipo:robos, secuestros, etc.");
}
case 3:
{
LimpiarPantalla(playerid,10);
InterpolateCameraPos(playerid,CamaraClinica,CamaraCamioneros,3000,CAMERA_MOVE);
InterpolateCameraLookAt(playerid,CamaraClinicaAt,CamaraCamionerosAt,3000,CAMERA_MOVE);
SetPlayerPos(playerid,CamaraCamioneros+3);
PlayerTextDrawSetString(playerid,TituloTuto,"Trabajos");
PlayerTextDrawSetString(playerid,InfoTuto[0],"Puedes firmar un contrato para conseguir un trabajo, como por ejemplo ~r~camionero");
PlayerTextDrawSetString(playerid,InfoTuto[1],"y asi ganar dinero, ya que practicamente, este modo (roleplay) consiste en ganarte la vida,");
PlayerTextDrawSetString(playerid,InfoTuto[2],"comprar casas, vehiculos etc, usa /ayuda trabajos para ver los comandos/trabajos disponibles");
}
case 4:
{
InterpolateCameraPos(playerid,CamaraGrotti,CamaraAutosUsados,3000,CAMERA_MOVE);
InterpolateCameraLookAt(playerid,CamaraGrottiAt,CamaraAutosUsadosAt,3000,CAMERA_MOVE);
SetPlayerPos(playerid,POS_AUTOSUSADOS);
LimpiarPantalla(playerid,10);
PlayerTextDrawSetString(playerid,TituloTuto,"Compra y venta de autos usados");
PlayerTextDrawSetString(playerid,InfoTuto[0],"Aqui, se pueden comprar los autos usados deportivos que estan puestos por administradores");
PlayerTextDrawSetString(playerid,InfoTuto[1],"usted puede comprar un auto en la consecionaria, y si ya no lo nesesitas venderlo aqui");
PlayerTextDrawSetString(playerid,InfoTuto[2],"aunque requerira de nivel 2 (jugar 5 horas al menos en el servidor) para comprar uno.");
}
case 5:
{
InterpolateCameraPos(playerid,CamaraLSTV,CamaraSurenos,6000,CAMERA_MOVE);
InterpolateCameraLookAt(playerid,CamaraLSTVAt,CamaraSurenosAt,6000,CAMERA_MOVE);
SetPlayerPos(playerid,POS_SURENOS);
LimpiarPantalla(playerid,10);
PlayerTextDrawSetString(playerid,TituloTuto,"Familias");
PlayerTextDrawSetString(playerid,InfoTuto[0],"Tambien, existe las familias. Estas, se crean dentro del juego, compran una casa");
PlayerTextDrawSetString(playerid,InfoTuto[1],"y autos para todos, por ejemplo Hay familias pasivas, y familias mafiosas. Ademas");
PlayerTextDrawSetString(playerid,InfoTuto[2],"puedes agregar tus autos a tu familia, para que lo usen los miembros, entre otras cosas");
}
case 6:
{
InterpolateCameraPos(playerid,CamaraSurenos,CamaraAlhambra,5000,CAMERA_MOVE);
InterpolateCameraLookAt(playerid,CamaraSurenosAt,CamaraAlhambraAt,5000,CAMERA_MOVE);
SetPlayerPos(playerid,POS_ALHAMBRA);
LimpiarPantalla(playerid,10);
PlayerTextDrawSetString(playerid,TituloTuto,"Boliches");
PlayerTextDrawSetString(playerid,InfoTuto[0],"Te gusta la noche, la joda, el alcohol? Este es tu lugar");
PlayerTextDrawSetString(playerid,InfoTuto[1],"El club nocturno alhambra es para venir a pasar un buen rato con tus amigos, bailar");
PlayerTextDrawSetString(playerid,InfoTuto[2],"divertirse, tomar alcohol, chapar minas y mas! disfruta de este lugar!");
}

