Guest User

EasyClasses

a guest
Feb 9th, 2013
236
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 1.82 KB | None | 0 0
  1. /* EasyClasses by iRonan
  2. My second release, a simple filterscript wich makes class selection a lot easyer.
  3. I hope you guys enjoy EasyClasses
  4. This is scripted with CarbonPawn.
  5. Ignore the identitation warnings. I fix them in next version.
  6.  
  7. - iRonan */
  8.  
  9. #include <A_SAMP>
  10.  
  11. public OnFilterScriptInit()
  12. {
  13.     /* Prints credits, you can remove it but why you should? :P */
  14.     print("______________________________");
  15.     print("                              ");
  16.     print("       EasyClasses            ");
  17.     print("      By [WA]iRonan           ");
  18.     print("Makes selecting a class easy! ");
  19.     print("                              ");
  20.     print("______________________________");
  21.        
  22.     /* Classes, add your classes here. After adding all your classes you can remove them from your Gamemode
  23.        You can add as much you want here.*/
  24.     AddPlayerClass(0,0,0,0,0,0,0,0,0,0,0);
  25.     return 1;
  26. }
  27.     /* Add other stuff you want, edit those if you want also. */
  28. public OnPlayerRequestClass(playerid, classid)
  29. {
  30.     SetPlayerInterior(playerid,0);
  31.     SetPlayerPos(playerid,-2015.4155,-275.1236,35.5559);
  32.     SetPlayerFacingAngle(playerid,48.0221);
  33.     SetPlayerCameraPos(playerid,-2017.6226,-272.7327,35.5559);
  34.     SetPlayerCameraLookAt(playerid,-2015.4155,-275.1236,35.5559);
  35.     return 1;
  36.     }
  37.     /* Connection messages, or dialogs... You can add them here right from your GM */
  38.     public OnPlayerConnect(playerid)
  39.     {
  40.     SendClientMessage(playerid, -1, "Welcome to (server name here)! Enjoy your stay!");
  41.     print("___________________________");
  42.     print("Somebody joined the server!");
  43.     print(" Message by EasyClasses    ");
  44.     print("___________________________");
  45.     return 1;
  46. }
  47.     /* Any suggestions for EasyClasses? Feel free to PM me at the samp forum. So i can expand this!
  48.    
  49.     - EasyClasses by iRonan, changelog is down here:
  50.    
  51.     Version 1.0:
  52.     - Created the basic of EasyClasses */
Advertisement
Add Comment
Please, Sign In to add comment