SHARE
TWEET

Untitled

a guest Jun 19th, 2017 49 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. forward s(p);
  2. public s(p)
  3. {
  4.     SpawnPlayer(p);
  5.  
  6.     return 1;
  7. }
  8. forward Tut1(playerid);
  9. forward Tut2(playerid);
  10. forward Tut3(playerid);
  11. forward Tut4(playerid);
  12. forward Tut5(playerid);
  13. forward Tut6(playerid);
  14. public Tut1(playerid)
  15. {
  16.     InterpolateCameraPos(playerid, 3083.626464, -2101.768798, 28.409347, 3273.759277, -1944.396118, 36.217750, 5000);
  17.     InterpolateCameraLookAt(playerid, 3087.526611, -2098.655273, 28.101266, 3269.592041, -1946.922363, 35.098720, 5000);
  18.     PlayerTextDrawShow(playerid,Tut[playerid][0]);
  19.     PlayerTextDrawShow(playerid,Tut[playerid][1]);
  20.     PlayerTextDrawShow(playerid,Tut[playerid][2]);
  21.     PlayerTextDrawShow(playerid,Tut[playerid][3]);
  22.     PlayerTextDrawShow(playerid,Tut[playerid][4]);
  23.     PlayerTextDrawShow(playerid,Tut[playerid][5]);
  24.     PlayerTextDrawShow(playerid,Tut[playerid][6]);
  25.     PlayerTextDrawShow(playerid,Tut[playerid][7]);
  26.     PlayerTextDrawShow(playerid,Tut[playerid][8]);
  27.     PlayerTextDrawShow(playerid,Tut[playerid][9]);
  28.     PlayerTextDrawShow(playerid,Tut[playerid][10]);
  29.     PlayerTextDrawSetString(playerid,Tut[playerid][8],"1/6");
  30.     PlayerTextDrawSetString(playerid,Tut[playerid][7],"WELCOME!");
  31.     PlayerTextDrawSetString(playerid,Tut[playerid][9],"Welcome to ETS-SAMP EDITION!!~n~We hope you will have fun playing~n~on our server!~n~Your ETS-SAMP Staff Team");
  32.     SetTimerEx("Tut2",10000,false,"i",playerid);
  33.     return 1;
  34. }
  35.  
  36. public Tut2(playerid)
  37. {
  38.     InterpolateCameraPos(playerid, 1824.988891, -1820.125244, 16.283693, 1750.852050, -1721.920532, 24.171457, 5000);
  39.     InterpolateCameraLookAt(playerid, 1823.257812, -1815.506713, 15.463202, 1753.352294, -1726.177246, 23.377952, 5000);
  40.     PlayerTextDrawSetString(playerid,Tut[playerid][8],"2/6");
  41.     PlayerTextDrawSetString(playerid,Tut[playerid][7],"Fuel and Demage.");
  42.     PlayerTextDrawSetString(playerid,Tut[playerid][9],"Every truck have his demage and fuel, ~n~if you fuel runs out or you demage ~n~falls under 400 you truck will stop.");
  43.     SetTimerEx("Tut3",10000,false,"i",playerid);
  44.     return 1;
  45. }
  46. public Tut3(playerid)
  47. {
  48.     InterpolateCameraPos(playerid, 1654.455444, -2124.622314, 16.035514, 1552.650878, -2202.352783, 30.840917, 5000);
  49.     InterpolateCameraLookAt(playerid, 1650.354614, -2127.481689, 15.949582, 1556.656494, -2199.609375, 29.645576, 5000);
  50.     PlayerTextDrawSetString(playerid,Tut[playerid][8],"3/6");
  51.     PlayerTextDrawSetString(playerid,Tut[playerid][7],"Fuel and Demage.");
  52.     PlayerTextDrawSetString(playerid,Tut[playerid][9],"If you see that your truck runs low ~n~you should go to a Pertol Pump~n~That same you can do~n~with mechanic garages.");
  53.     SetTimerEx("Tut4",10000,false,"i",playerid);
  54.     return 1;
  55. }
  56. public Tut4(playerid)
  57. {
  58.     InterpolateCameraPos(playerid, 641.410705, -1318.965942, 13.566569, 798.483520, -1397.049316, 38.288032, 5000);
  59.     InterpolateCameraLookAt(playerid, 636.518188, -1319.983398, 13.398632, 795.410217, -1393.550659, 36.467578, 5000);
  60.     PlayerTextDrawSetString(playerid,Tut[playerid][8],"4/6");
  61.     PlayerTextDrawSetString(playerid,Tut[playerid][7],"The Routes.");
  62.     PlayerTextDrawSetString(playerid,Tut[playerid][9],"You have 10 different routes to drive~n~Every week the routes change,~n~so that the fun not goes.");
  63.     SetTimerEx("Tut5",10000,false,"i",playerid);
  64.     return 1;
  65. }
  66. public Tut5(playerid)
  67. {
  68.     InterpolateCameraPos(playerid, 666.318298, -135.507598, 69.785690, 873.640258, -567.017822, 107.235824, 5000);
  69.     InterpolateCameraLookAt(playerid, 668.111511, -140.172225, 69.945816, 872.481079, -562.254211, 106.253967, 5000);
  70.    
  71.     PlayerTextDrawSetString(playerid,Tut[playerid][8],"5/6");
  72.     PlayerTextDrawSetString(playerid,Tut[playerid][7],"The Ownership");
  73.     PlayerTextDrawSetString(playerid,Tut[playerid][9],"You can own 1 truck and you will get ~n~33% more money if you drive routes with it.");
  74.     SetTimerEx("Tut6",10000,false,"i",playerid);
  75.     return 1;
  76. }
  77. public Tut6(playerid)
  78. {
  79.     InterpolateCameraPos(playerid, 128.350631, 503.856689, 3.276230, 162.203582, 703.922851, 16.934064, 5000);
  80.     InterpolateCameraLookAt(playerid, 129.410507, 508.695861, 3.953826, 162.530822, 698.958190, 16.438785, 5000);
  81.     PlayerTextDrawSetString(playerid,Tut[playerid][8],"6/6");
  82.     PlayerTextDrawSetString(playerid,Tut[playerid][7],"The END!");
  83.     PlayerTextDrawSetString(playerid,Tut[playerid][9],"That all for this short tutorial,~n~we hope you will have fun playing.~n~If you have any Questions~n~you can use /askq or /help.");
  84.     SetPlayerPos(playerid,3156.1328,-2007.6193,11.4866);
  85.     SetPlayerCameraPos(playerid, 3156.1328,-2007.6193,11.4866);
  86.     SetCameraBehindPlayer(playerid);
  87.     SetTimerEx("s",10000,false,"i",playerid);
  88.     SetCameraBehindPlayer(playerid);
  89.     return 1;
  90. }
RAW Paste Data
Top