02.02.2018, 22:10
(
Last edited by ThomasEvil; 04/02/2018 at 01:09 PM.
)
HELLO AND WELCOME IN SCRIPTING CHALLANGE NO.1 !
[Ferris Wheel]
Today i challange you scripters to make best and most simple as possible Ferris Wheel system.
Let's work and make the best and easiest Ferris Wheel system together! This is why i started challange series. Why do something alone for a long time, when we can make amazing stuff together. Let's make easy filterscripts
together! Let's share ideas of something cool!
[conditions]
1. Remove original Ferris Wheel and make new one on the place (Los Santos)
2. Let player pay for Ferris Wheel ticket (dialog, checkpoint, ect.) and put him in Ferris cabine. Make him uncontrollable
and having sitting animation.
3. Once player is in cabin, start rotating Ferris Wheel for 30 seconds. After 30 second Ferris Wheel is rotated
by 360 degres and player is forced to leave.
[Useful]
Useful objects: https://dev.prineside.com/en/gtasa_s...arch/?q=ferris
[PROTECT YOUR CODE]
DO NOT SHARE YOUR CODE !
PUT YOUR CREDITS AS SCM UNDER ONPLAYERCONNECT !
Example: SendClientMessage(playerid, 0xFF0000FF, "This server is using Ferris Wheel made by NAME");
SHARE ONLY .amx FILES ! NO .pwn !
You can work with animations, camera, dialogs, textdraws ... any new idea is strictly on you !
Let's make that Ferris Wheel EPIC!
LET'S CHALLANGE!
[Ferris Wheel]
Today i challange you scripters to make best and most simple as possible Ferris Wheel system.
Let's work and make the best and easiest Ferris Wheel system together! This is why i started challange series. Why do something alone for a long time, when we can make amazing stuff together. Let's make easy filterscripts
together! Let's share ideas of something cool!
[conditions]
1. Remove original Ferris Wheel and make new one on the place (Los Santos)
2. Let player pay for Ferris Wheel ticket (dialog, checkpoint, ect.) and put him in Ferris cabine. Make him uncontrollable
and having sitting animation.
3. Once player is in cabin, start rotating Ferris Wheel for 30 seconds. After 30 second Ferris Wheel is rotated
by 360 degres and player is forced to leave.
[Useful]
Code:
RemoveBuildingForPlayer(playerid, 6463, 389.7734, -2028.4688, 19.8047, 0.5); RemoveBuildingForPlayer(playerid, 3751, 389.8750, -2035.3828, 29.9531, 50); RemoveBuildingForPlayer(playerid, 6298, 389.7734, -2028.4688, 19.8047, 0.5); RemoveBuildingForPlayer(playerid, 6461, 389.7734, -2028.5000, 20.1094, 0.5); RemoveBuildingForPlayer(playerid, 3752, 389.8750, -2028.5000, 32.2266, 50);
Code:
CreateObject(18878, 390.1633, -2028.6056, 21.9822, 0.0000, 0.0000, 90.0000); //FerrisBASE WheelObject = CreateObject(18877, 390.1562, -2028.6246, 21.9786, 0.000, 0.000, 90.000);
Code:
AttachObjectToObject(gondel1, WheelObject, 0.0, 0.0, -11.66, 0.0, 0.0, 0.0);//gondel1 AttachObjectToObject(CabinObj, WheelObject, 0.0, 0.0, 11.66, 0.0, 0.0, 0.0); AttachObjectToObject(CabinObj, WheelObject, -11.66, 0.0, 0.0, 0.0, 0.0, 0.0); AttachObjectToObject(CabinObj, WheelObject, 11.66, 0.0, 0.0, 0.0, 0.0, 0.0);/ AttachObjectToObject(CabinObj, WheelObject, 9.33, 0.0, -7.0, 0.0 , 0.0, 0.0); AttachObjectToObject(CabinObj, WheelObject, -9.33, 0.0, 7.0, 0.0, 0.0, 0.0); AttachObjectToObject(CabinObj, WheelObject, 9.33, 0.0, 7.0, 0.0, 0.0, 0.0); AttachObjectToObject(CabinObj, WheelObject, -9.33, 0.0, -7.0, 0.0, 0.0, 0.0);
[PROTECT YOUR CODE]
DO NOT SHARE YOUR CODE !
PUT YOUR CREDITS AS SCM UNDER ONPLAYERCONNECT !
Example: SendClientMessage(playerid, 0xFF0000FF, "This server is using Ferris Wheel made by NAME");
SHARE ONLY .amx FILES ! NO .pwn !
You can work with animations, camera, dialogs, textdraws ... any new idea is strictly on you !
Let's make that Ferris Wheel EPIC!
LET'S CHALLANGE!