Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- forward s(p);
- public s(p)
- {
- SpawnPlayer(p);
- return 1;
- }
- forward Tut1(playerid);
- forward Tut2(playerid);
- forward Tut3(playerid);
- forward Tut4(playerid);
- forward Tut5(playerid);
- forward Tut6(playerid);
- public Tut1(playerid)
- {
- InterpolateCameraPos(playerid, 3083.626464, -2101.768798, 28.409347, 3273.759277, -1944.396118, 36.217750, 5000);
- InterpolateCameraLookAt(playerid, 3087.526611, -2098.655273, 28.101266, 3269.592041, -1946.922363, 35.098720, 5000);
- PlayerTextDrawShow(playerid,Tut[playerid][0]);
- PlayerTextDrawShow(playerid,Tut[playerid][1]);
- PlayerTextDrawShow(playerid,Tut[playerid][2]);
- PlayerTextDrawShow(playerid,Tut[playerid][3]);
- PlayerTextDrawShow(playerid,Tut[playerid][4]);
- PlayerTextDrawShow(playerid,Tut[playerid][5]);
- PlayerTextDrawShow(playerid,Tut[playerid][6]);
- PlayerTextDrawShow(playerid,Tut[playerid][7]);
- PlayerTextDrawShow(playerid,Tut[playerid][8]);
- PlayerTextDrawShow(playerid,Tut[playerid][9]);
- PlayerTextDrawShow(playerid,Tut[playerid][10]);
- PlayerTextDrawSetString(playerid,Tut[playerid][8],"1/6");
- PlayerTextDrawSetString(playerid,Tut[playerid][7],"WELCOME!");
- 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");
- SetTimerEx("Tut2",10000,false,"i",playerid);
- return 1;
- }
- public Tut2(playerid)
- {
- InterpolateCameraPos(playerid, 1824.988891, -1820.125244, 16.283693, 1750.852050, -1721.920532, 24.171457, 5000);
- InterpolateCameraLookAt(playerid, 1823.257812, -1815.506713, 15.463202, 1753.352294, -1726.177246, 23.377952, 5000);
- PlayerTextDrawSetString(playerid,Tut[playerid][8],"2/6");
- PlayerTextDrawSetString(playerid,Tut[playerid][7],"Fuel and Demage.");
- 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.");
- SetTimerEx("Tut3",10000,false,"i",playerid);
- return 1;
- }
- public Tut3(playerid)
- {
- InterpolateCameraPos(playerid, 1654.455444, -2124.622314, 16.035514, 1552.650878, -2202.352783, 30.840917, 5000);
- InterpolateCameraLookAt(playerid, 1650.354614, -2127.481689, 15.949582, 1556.656494, -2199.609375, 29.645576, 5000);
- PlayerTextDrawSetString(playerid,Tut[playerid][8],"3/6");
- PlayerTextDrawSetString(playerid,Tut[playerid][7],"Fuel and Demage.");
- 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.");
- SetTimerEx("Tut4",10000,false,"i",playerid);
- return 1;
- }
- public Tut4(playerid)
- {
- InterpolateCameraPos(playerid, 641.410705, -1318.965942, 13.566569, 798.483520, -1397.049316, 38.288032, 5000);
- InterpolateCameraLookAt(playerid, 636.518188, -1319.983398, 13.398632, 795.410217, -1393.550659, 36.467578, 5000);
- PlayerTextDrawSetString(playerid,Tut[playerid][8],"4/6");
- PlayerTextDrawSetString(playerid,Tut[playerid][7],"The Routes.");
- 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.");
- SetTimerEx("Tut5",10000,false,"i",playerid);
- return 1;
- }
- public Tut5(playerid)
- {
- InterpolateCameraPos(playerid, 666.318298, -135.507598, 69.785690, 873.640258, -567.017822, 107.235824, 5000);
- InterpolateCameraLookAt(playerid, 668.111511, -140.172225, 69.945816, 872.481079, -562.254211, 106.253967, 5000);
- PlayerTextDrawSetString(playerid,Tut[playerid][8],"5/6");
- PlayerTextDrawSetString(playerid,Tut[playerid][7],"The Ownership");
- PlayerTextDrawSetString(playerid,Tut[playerid][9],"You can own 1 truck and you will get ~n~33% more money if you drive routes with it.");
- SetTimerEx("Tut6",10000,false,"i",playerid);
- return 1;
- }
- public Tut6(playerid)
- {
- InterpolateCameraPos(playerid, 128.350631, 503.856689, 3.276230, 162.203582, 703.922851, 16.934064, 5000);
- InterpolateCameraLookAt(playerid, 129.410507, 508.695861, 3.953826, 162.530822, 698.958190, 16.438785, 5000);
- PlayerTextDrawSetString(playerid,Tut[playerid][8],"6/6");
- PlayerTextDrawSetString(playerid,Tut[playerid][7],"The END!");
- 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.");
- SetPlayerPos(playerid,3156.1328,-2007.6193,11.4866);
- SetPlayerCameraPos(playerid, 3156.1328,-2007.6193,11.4866);
- SetCameraBehindPlayer(playerid);
- SetTimerEx("s",10000,false,"i",playerid);
- SetCameraBehindPlayer(playerid);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement