CMD:drift( playerid , params [ ] )
{
if ( Specting [ playerid ] == 1 ) return SCM ( playerid , 0xFFFFFFFF , ""Y"•"W" You can't use this command when you "Y"spectate"W" someone." ) ;
if ( InSpawn [ playerid ] == true ) return SCM ( playerid , 0xFFFFFFFF , ""Y"•"W" You can't use this command while being at "Y"class selection"W"." ) ;
if ( InMinigame [ playerid ] == true ) return GameTextForPlayer ( playerid , "~w~Use ~h~~y~/leave~w~ to exit the minigame!" , 3000 , 5 ) ;
if ( sscanf ( params , "i" , params [ 0 ] ) ) return SCM ( playerid , 0xFFFFFFFF , ""Y"USAGE:"W" /drift [1-53]" ) ;
switch ( params [ 0 ] )
{
case 1: SetPlayerPosEx ( playerid , -329.3348 , 1536.3771 , 76.6117 , 276.8851 , 0 , 0 ) ;
case 2: SetPlayerPosEx ( playerid , 2265.3010 , 1399.5085 , 42.8203 , 110.5445 , 0 , 0 ) ;
case 3: SetPlayerPosEx ( playerid , -2489.8352 , -616.3492 , 132.5658 , 110.5445 , 0 , 0 ) ;
case 4: SetPlayerPosEx ( playerid , 2243.2185 , 1963.3853 , 31.7797 , 110.5445 , 0 , 0 ) ;
case 6: SetPlayerPosEx ( playerid , 1886.9543 , 1813.2212 , 18.9339 , 110.5445 , 0 , 0 ) ;
case 7: SetPlayerPosEx ( playerid , -766.7427 , -1730.1228 , 95.9759 , 110.5445 , 0 , 0 ) ;
case 8: SetPlayerPosEx ( playerid , 711.8475 , 2581.5981 , 25.2460 , 110.5445 , 0 , 0 ) ;
case 9: SetPlayerPosEx ( playerid , -2418.8452 , 81.8775 , 34.6797 , 110.5445 , 0 , 0 ) ;
case 10: SetPlayerPosEx ( playerid , 915.9879 , -685.1018 , 116.0321 , 148.8388 , 0 , 0 ) ;
case 11: SetPlayerPosEx ( playerid , -771.1682 , -100.2281 , 64.8293 , 290.6883 , 0 , 0 ) ;
case 12: SetPlayerPosEx ( playerid , 2847.8616 , -758.0251 , 10.4511 , 357.8184 , 0 , 0 ) ;
case 13: SetPlayerPosEx ( playerid , 1239.8492 , -2037.4199 , 59.9314 , 260.3887 , 0 , 0 ) ;
case 14: SetPlayerPosEx ( playerid , 1636.9423 , -1154.2665 , 23.6056 , 357.5793 , 0 , 0 ) ;
case 15: SetPlayerPosEx ( playerid , 1978.7637 , 2238.7798 , 26.8968 , 269.8691 , 0 , 0 ) ;
case 16: SetPlayerPosEx ( playerid , -116.2590 , 819.2222 , 20.0582 , 199.9199 , 0 , 0 ) ;
case 17: SetPlayerPosEx ( playerid , 2620.0789 , -2406.7498 , 13.1992 , 269.8561 , 0 , 0 ) ;
case 18: SetPlayerPosEx ( playerid , -318.4155 , 2518.4719 , 34.4178 , 276.3857 , 0 , 0 ) ;
case 19: SetPlayerPosEx ( playerid , -1994.6610 , 343.1967 , 34.7129 , 266.1237 , 0 , 0 ) ;
case 20: SetPlayerPosEx ( playerid , -536.4901 , 1985.9124 , 59.8858 , 54.5365 , 0 , 0 ) ;
case 21: SetPlayerPosEx ( playerid , 2560.1799 , -1054.5699 , 69.1088 , 174.5037 , 0 , 0 ) ;
case 22: SetPlayerPosEx ( playerid , 2744.8188 , -1259.8951 , 59.2429 , 268.8653 , 0 , 0 ) ;
case 23: SetPlayerPosEx ( playerid , 664.9158 , -1317.3036 , 13.1367 , 1.9902 , 0 , 0 ) ;
case 24: SetPlayerPosEx ( playerid , 293.9851 , -561.8304 , 40.3055 , 89.1122 , 0 , 0 ) ;
case 25: SetPlayerPosEx ( playerid , -1257.1068 , -1355.8252 , 119.8318 , 110.5793 , 0 , 0 ) ;
case 26: SetPlayerPosEx ( playerid , 1277.5319 , -601.2232 , 100.9038 , 353.0812 , 0 , 0 ) ;
case 27: SetPlayerPosEx ( playerid , -1810.9692 , 2685.8086 , 55.8367 , 76.9332 , 0 , 0 ) ;
case 28: SetPlayerPosEx ( playerid , -1822.0422 , 2670.2593 , 54.7437 , 144.0571 , 0 , 0 ) ;
case 29: SetPlayerPosEx ( playerid , 1104.5126 , 815.3459 , 10.4263 , 305.2941 , 0 , 0 ) ;
case 30: SetPlayerPosEx ( playerid , 2509.8716 , 1606.4781 , 10.4566 , 158.8041 , 0 , 0 ) ;
case 31: SetPlayerPosEx ( playerid , -1421.2139 , -816.0684 , 80.1159 , 93.0473 , 0 , 0 ) ;
case 32: SetPlayerPosEx ( playerid , -1697.0072 , 991.5380 , 17.2838 , 357.3751 , 0 , 0 ) ;
case 33: SetPlayerPosEx ( playerid , -2136.3975 , 919.4185 , 79.5486 , 268.2998 , 0 , 0 ) ;
case 34: SetPlayerPosEx ( playerid , -1400.5747 , -291.2898 , 5.7002 , 353.6805 , 0 , 0 ) ;
case 35: SetPlayerPosEx ( playerid , 1615.3378 , -1659.0410 , 13.2405 , 184.4336 , 0 , 0 ) ;
case 36: SetPlayerPosEx ( playerid , 1651.2620 , -2599.9829 , 13.2465 , 269.8469 , 0 , 0 ) ;
case 37: SetPlayerPosEx ( playerid , 291.6453 , -1489.1570 , 32.3365 , 50.8979 , 0 , 0 ) ;
case 38: SetPlayerPosEx ( playerid , 1591.4022 , -2192.9214 , 13.0724 , 88.7810 , 0 , 0 ) ;
case 39: SetPlayerPosEx ( playerid , 1360.9453 , -2465.1997 , 7.3572 , 269.3084 , 0 , 0 ) ;
case 40: SetPlayerPosEx ( playerid , -2265.7798 , 1158.4409 , 57.0986 , 0.1581 , 0 , 0 ) ;
case 41: SetPlayerPosEx ( playerid , -2119.4114 , -349.4402 , 34.8226 , 270.5172 , 0 , 0 ) ;
case 42: SetPlayerPosEx ( playerid , 1476.5244 , 1758.5297 , 10.5100 , 181.3618 , 0 , 0 ) ;
case 43: SetPlayerPosEx ( playerid , 137.5619 , 1946.4087 , 19.0599 , 181.3618 , 0 , 0 ) ;
case 44: SetPlayerPosEx ( playerid , 2589.9761 , 2800.7749 , 10.3423 , 90.1578 , 0 , 0 ) ;
case 45: SetPlayerPosEx ( playerid , 1000.0231 , 2545.3728 , 10.3403 , 235.6451 , 0 , 0 ) ;
case 46: SetPlayerPosEx ( playerid , 1322.6106 , 2236.8350 , 10.4909 , 2.3974 , 0 , 0 ) ;
case 47: SetPlayerPosEx ( playerid , 1500.5153 , 994.9993 , 10.4639 , 90.1991 , 0 , 0 ) ;
case 48: SetPlayerPosEx ( playerid , 2050.2854 , 864.9113 , 6.4736 , 182.3646 , 0 , 0 ) ;
Did you write this are you asking someone to write something similar for you?
|