[FilterScript] [FS] OnPlayerRequestClass Maker
#1

Yep, you heard it true. An OnPlayerRequestClass maker. With this filterscript you can make easy skin choose locations instead of gambling the camera pos etc..
More info see the pics below.

Features:
  • You can make a classes as much as you want
  • They will save under name Classes.txt in the scriptfiles directory
  • Command: /classmaker to starting the wizard
  • I don't know what I can tell more, just download it
Quote:
pawn Код:
/*
    Release:
        » OnPlayerRequestClass Maker Filterscript

    Version:
            » v0.1a

    Functions:
            » isNumeric(const string[]);

    Credits:
        » Credits to the maker of isNumeric
*/
How to use?
I will show you how with pictures and some information under it.

1. Spawn and type /classmaker and you will see this: >>


2. Press OK, then you're back free, now you have to go to the place where the player should choose his skin (other words watch in the camera). Press 'ENTER' when you done.


3. Then it will ask you if you're sure with the coordinates you have take. If you answer no it leaves you free and you can choose other coordinates (Press 'ENTER' when you done).


4. Then another box will apear when you click yes in the previous dialog which asks you to give the distance between the camera and the player. I recommend MEDIUM but you can also write numbers..


5. This is the final step actually , here it just ask you to give a name to save the data under (saved in classes.txt in scriptfiles). I took Test; and pressed OK


6. Now it's done!


7. I exit the game now and go to my scriptfiles directory where I find this under the classes.
Код:
/* Saved under name: Test - Add under OnPlayerRequestClass.. */

SetPlayerPos(playerid, 2482.113525, 1266.363037, 10.812500);
SetPlayerFacingAngle(playerid, 267.734191);
SetPlayerCameraLookAt(playerid, 2482.113525, 1266.363037, 10.812500);
SetPlayerCameraPos(playerid, 2482.113525 + (10 * floatsin(-267.734191, degrees)), 1266.363037 + (10 * floatcos(-267.734191, degrees)), 10.812500);
8. Open your gamemode and write those data under OnPlayerRequestClass and just compile it and close it.

9. Start your server and THIS IS THE RESULT.



Download:
Click here to download - Mirror: SolidFiles
Click here to download - Mirror: Burridge (%100 recomended/direct link)
Click here to download - Mirror: MultiUpload

Note:
I don't think there are bugs. If there are just report them.
Have fun. =)
Reply
#2

Damn, two great releases today, this is going to be usefull Ryder, nice work!
Reply
#3

Quote:
Originally Posted by RoamPT
Damn, two great releases today, this is going to be usefull Ryder, nice work!
^

BTW, make it save the interior too.
Reply
#4

Quote:
Originally Posted by [03
Garsino ]
Quote:
Originally Posted by RoamPT
Damn, two great releases today, this is going to be usefull Ryder, nice work!
^

BTW, make it save the interior too.
Yea good idea. I'll do soon.
Quote:
Originally Posted by RoamPT
Damn, two great releases today, this is going to be usefull Ryder, nice work!
Thanks man =)
Reply
#5

Great Job

But.

I has a problem with this.
if i press to "Ok" on the First Dialog, its closes..
So Replace
Код:
case 1000:
{
	    if(!response) return SendClientMessage(playerid, RED, ">> You have stopped making class! Type /classmaker to start a new wizard!"), TogglePlayerControllable(playerid, true), MakeClass[playerid] = false;
	    TogglePlayerControllable(playerid, true), MakeClass[playerid] = true;
}
To
Код:
case 1000:
{
	    if(!response) return SendClientMessage(playerid, RED, ">> You have stopped making class! Type /classmaker to start a new wizard!"), TogglePlayerControllable(playerid, true), MakeClass[playerid] = false;
	    TogglePlayerControllable(playerid, true), MakeClass[playerid] = true;
	    ShowDialog(playerid, 1001);
}
))(Or this problem only for me?)))

Sry for my bad english
Reply
#6

Quote:
Originally Posted by FlatMaN
Great Job

But.

I has a problem with this.
if i press to "Ok" on the First Dialog, its closes..
So Replace
Код:
case 1000:
{
	    if(!response) return SendClientMessage(playerid, RED, ">> You have stopped making class! Type /classmaker to start a new wizard!"), TogglePlayerControllable(playerid, true), MakeClass[playerid] = false;
	    TogglePlayerControllable(playerid, true), MakeClass[playerid] = true;
}
To
Код:
case 1000:
{
	    if(!response) return SendClientMessage(playerid, RED, ">> You have stopped making class! Type /classmaker to start a new wizard!"), TogglePlayerControllable(playerid, true), MakeClass[playerid] = false;
	    TogglePlayerControllable(playerid, true), MakeClass[playerid] = true;
	    ShowDialog(playerid, 1001);
}
))(Or this problem only for me?)))

Sry for my bad english
It's not a problem, you have to go to a place and press enter.
Read, it's explained clearly above

btw. Your english is fine

Edit: Can you edit your post because when someone is going to edit that, the FS wil bug completely..
Reply
#7

Damn you, you made it before I made mine, great job
Reply
#8

You never stop!

Do more MORE MORE!!

U might be the next seif
Reply
#9

Thanks for comments
_________________________________________________
Quote:
Originally Posted by PlayON
You never stop!

Do more MORE MORE!!

U might be the next seif
lol
_________________________________________________
Edit: Anyone tested? I tested 5 times and I got all positive results. Please write here the results after testing. =)
Reply
#10

Nice dude
Reply
#11

again great work ryder
gonna try it out
Reply
#12

Quote:
Originally Posted by »»[DG
тσкyσDяιFт™«« ]
Nice dude
Ty =)
Quote:
Originally Posted by XRVX
again great work ryder
gonna try it out
Thx, and how does it work?
Reply
#13

test passed
nice work man
Reply
#14

Quote:
Originally Posted by XRVX
test passed
nice work man
Thanks, glad to hear that
Reply
#15

Tested medium and short. Worked fine. Ty
Reply
#16

Nice and useful.
Reply
#17

Quote:
Originally Posted by Daedalus
Nice and useful.
Thanks =)
Reply
#18

I have nothing to say, except....AWESOME!!!!
I was having trouble with camera pos This is really [b]useful!!
________
F2004
Reply
#19

Quote:
Originally Posted by ViruZZzZ_ChiLLL
I have nothing to say, except....AWESOME!!!!
I was having trouble with camera pos This is really [b]useful!!
Yeah me to, but from now on, never =)
Thanks for you comment.
Reply
#20

Woah! It works perfeclty no bugs atall.

Love it, made a new class selection, yay.
Reply


Forum Jump:


Users browsing this thread: