Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* EasyClasses by iRonan
- My second release, a simple filterscript wich makes class selection a lot easyer.
- I hope you guys enjoy EasyClasses
- This is scripted with CarbonPawn.
- Ignore the identitation warnings. I fix them in next version.
- - iRonan */
- #include <A_SAMP>
- public OnFilterScriptInit()
- {
- /* Prints credits, you can remove it but why you should? :P */
- print("______________________________");
- print(" ");
- print(" EasyClasses ");
- print(" By [WA]iRonan ");
- print("Makes selecting a class easy! ");
- print(" ");
- print("______________________________");
- /* Classes, add your classes here. After adding all your classes you can remove them from your Gamemode
- You can add as much you want here.*/
- AddPlayerClass(0,0,0,0,0,0,0,0,0,0,0);
- return 1;
- }
- /* Add other stuff you want, edit those if you want also. */
- public OnPlayerRequestClass(playerid, classid)
- {
- SetPlayerInterior(playerid,0);
- SetPlayerPos(playerid,-2015.4155,-275.1236,35.5559);
- SetPlayerFacingAngle(playerid,48.0221);
- SetPlayerCameraPos(playerid,-2017.6226,-272.7327,35.5559);
- SetPlayerCameraLookAt(playerid,-2015.4155,-275.1236,35.5559);
- return 1;
- }
- /* Connection messages, or dialogs... You can add them here right from your GM */
- public OnPlayerConnect(playerid)
- {
- SendClientMessage(playerid, -1, "Welcome to (server name here)! Enjoy your stay!");
- print("___________________________");
- print("Somebody joined the server!");
- print(" Message by EasyClasses ");
- print("___________________________");
- return 1;
- }
- /* Any suggestions for EasyClasses? Feel free to PM me at the samp forum. So i can expand this!
- - EasyClasses by iRonan, changelog is down here:
- Version 1.0:
- - Created the basic of EasyClasses */
Advertisement
Add Comment
Please, Sign In to add comment