Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- public OnGameModeInit()
- {
- print("\n*****************************************");
- print("* CRIADO POR :[BLR]Gabryel[TS] *");
- print("* MAP: Kart *");
- print("* Créditos: LoOsT[BeG] por Converter e criar o CMD *");
- print("****************************************\n");
- CreateObject(8355, 3186.2866210938, -532.7177734375, 14.416276931763, 0, 0, 89.5);
- CreateObject(3491, 3192.4284667969, -524.24743652344, 22.886596679688, 0, 0, 0);
- CreateObject(8355, 3175.2392578125, -492.67797851563, 14.416276931763, 0, 0, 89.49462890625);
- CreateObject(2773, 3166.138671875, -535.68334960938, 14.933505058289, 0, 0, 87.25);
- CreateObject(2773, 3166.1843261719, -533.35992431641, 14.933505058289, 0, 0, 87.247924804688);
- CreateObject(2773, 3166.1103515625, -530.72937011719, 14.933505058289, 0, 0, 87.247924804688);
- CreateObject(2773, 3166.1762695313, -528.19982910156, 14.933505058289, 0, 0, 87.247924804688);
- CreateObject(2773, 3166.3056640625, -525.5634765625, 14.933505058289, 0, 0, 87.247924804688);
- CreateObject(2773, 3166.3811035156, -522.99224853516, 14.933505058289, 0, 0, 87.247924804688);
- CreateObject(2773, 3166.4533691406, -520.52081298828, 14.933505058289, 0, 0, 87.247924804688);
- CreateObject(2773, 3166.453125, -520.5205078125, 14.933505058289, 0, 0, 87.247924804688);
- CreateObject(3881, 3179.5017089844, -550.0390625, 16.267839431763, 0, 0, 88);
- CreateObject(3666, 3183.6135253906, -552.39215087891, 14.929962158203, 0, 0, 0);
- CreateObject(3666, 3187.8337402344, -552.53900146484, 14.929962158203, 0, 0, 0);
- CreateObject(3666, 3185.7734375, -552.43371582031, 14.929962158203, 0, 0, 0);
- CreateObject(3666, 3189.892578125, -552.64233398438, 14.929962158203, 0, 0, 0);
- CreateObject(3666, 3191.9538574219, -552.57818603516, 14.929962158203, 0, 0, 0);
- CreateObject(3666, 3194.1044921875, -552.56921386719, 14.929962158203, 0, 0, 0);
- CreateObject(3666, 3196.255859375, -552.55944824219, 14.929962158203, 0, 0, 0);
- CreateObject(3666, 3198.4072265625, -552.54968261719, 14.929962158203, 0, 0, 0);
- CreateObject(3666, 3200.6083984375, -552.541015625, 14.929962158203, 0, 0, 0);
- CreateObject(3666, 3202.7099609375, -552.53015136719, 14.929962158203, 0, 0, 0);
- CreateObject(9192, 3178.203125, -557.06829833984, 26.26411819458, 0.5, 0, 0.75);
- CreateObject(7232, 3210.84765625, -552.26153564453, 18.034969329834, 0, 0, 0);
- CreateObject(1337, 3210.84765625, -552.2607421875, 18.534969329834, 0, 0, 0);
- CreateObject(2693, 3188.8037109375, -552.39343261719, 15.125449180603, 0, 0, 188);
- CreateObject(2692, 3197.1306152344, -552.33770751953, 15.162077903748, 0, 0, 174);
- CreateObject(7288, 3220.0451660156, -525.74749755859, 16.950866699219, 0, 0, 0);
- CreateObject(2745, 3193.9489746094, -522.91766357422, 15.6248960495, 0, 0, 268);
- CreateObject(3471, 3165.8759765625, -536.86108398438, 15.690816879272, 0, 0, 0);
- CreateObject(3471, 3166.3095703125, -519.17926025391, 15.690816879272, 0, 0, 0);
- CreateObject(8355, 3101.9450683594, -506.18994140625, 13.666276931763, 0, 20, 91.494689941406);
- CreateObject(8355, 3213.9396972656, -542.06573486328, 21.116323471069, 0, 1.7499694824219, 91.494140625);
- CreateObject(2933, 3180.474609375, -523.04473876953, 22.11079788208, 0, 0, 2);
- CreateObject(2933, 3189.2155761719, -522.73236083984, 22.11079788208, 0, 0, 2.24951171875);
- CreateObject(2933, 3197.8889160156, -522.61022949219, 22.08579826355, 0, 0, 2.2467041015625);
- CreateObject(2933, 3206.6206054688, -522.29516601563, 22.010799407959, 0, 0, 2.2467041015625);
- CreateObject(2933, 3215.3395996094, -522.0546875, 22.160797119141, 0, 0, 2.2467041015625);
- CreateObject(2933, 3166.7121582031, -517.86102294922, 15.960891723633, 0, 0, 1.99951171875);
- CreateObject(2933, 3171.2663574219, -513.29644775391, 15.935892105103, 0, 0, 89.999542236328);
- CreateObject(2933, 3175.4609375, -508.90423583984, 15.935892105103, 0, 0, 358.49450683594);
- CreateObject(2933, 3226.9384765625, -556.38641357422, 23.282421112061, 0, 0, 89.994506835938);
- CreateObject(2933, 3222.6760253906, -560.84625244141, 23.282421112061, 0, 0, 1.7445068359375);
- CreateObject(2933, 3214.1403808594, -561.11999511719, 23.282421112061, 0, 0, 1.7413330078125);
- CreateObject(2933, 3205.75, -561.365234375, 23.282421112061, 0, 0, 1.7413330078125);
- CreateObject(2933, 3197.26953125, -561.65930175781, 23.282421112061, 0, 0, 1.7413330078125);
- CreateObject(2933, 3188.7939453125, -561.92102050781, 23.282421112061, 0, 0, 1.7413330078125);
- CreateObject(2933, 3180.408203125, -562.18725585938, 23.282421112061, 0, 0, 1.7413330078125);
- CreateObject(2933, 3172.0986328125, -562.43572998047, 23.282421112061, 0, 0, 1.7413330078125);
- CreateObject(2933, 3167.7062988281, -558.22106933594, 23.182422637939, 0, 358.75, 270.74133300781);
- CreateObject(2933, 3167.7492675781, -553.44818115234, 24.932395935059, 0, 88.249877929688, 270.48608398438);
- CreateObject(3049, 3171.1975097656, -522.20709228516, 22.725425720215, 3.7584228515625, 339.95501708984, 273.37005615234);
- CreateObject(3049, 3171.0632324219, -518.10797119141, 21.225425720215, 3.75732421875, 339.94995117188, 275.36779785156);
- CreateObject(3666, 3193.0737304688, -552.63305664063, 14.929962158203, 0, 0, 0);
- CreateObject(3666, 3195.015625, -552.72802734375, 14.929962158203, 0, 0, 0);
- CreateObject(3666, 3195.015625, -552.7275390625, 14.929962158203, 0, 0, 0);
- CreateObject(3666, 3190.98828125, -552.6953125, 14.929962158203, 0, 0, 0);
- CreateObject(3666, 3190.98828125, -552.6953125, 14.929962158203, 0, 0, 0);
- CreateObject(3666, 3186.869140625, -552.4873046875, 14.929962158203, 0, 0, 0.25);
- CreateObject(3666, 3186.869140625, -552.4873046875, 14.929962158203, 0, 0, 0.2471923828125);
- CreateObject(3666, 3184.5844726563, -552.43920898438, 14.929962158203, 0, 0, 0.25);
- CreateObject(3666, 3184.583984375, -552.4384765625, 14.929962158203, 0, 0, 0.2471923828125);
- CreateObject(3666, 3199.5029296875, -552.6025390625, 14.929962158203, 0, 0, 0);
- CreateObject(3666, 3199.5029296875, -552.6025390625, 14.929962158203, 0, 0, 0);
- CreateObject(3666, 3201.5297851563, -552.56134033203, 14.929962158203, 0, 0, 0.25);
- CreateObject(1541, 3179.1496582031, -547.36889648438, 16.242938995361, 0, 0, 0);
- CreateObject(16151, 3179.0229492188, -546.2763671875, 14.416276931763, 0, 0, 270);
- CreateObject(16152, 3170.9577636719, -551.26416015625, 14.416276931763, 0, 0, 88);
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- new stringa[MAX_PLAYERS];
- if(strcmp(cmdtext, "/kart", true) == 0) {
- if(IsPlayerInAnyVehicle(playerid)) {
- new VehicleID;
- VehicleID = GetPlayerVehicleID(playerid);
- SetVehiclePos(VehicleID,3170.388671875,-543.94445800781,15.065502166748);
- SetVehicleZAngle(GetPlayerVehicleID(playerid), 00.0);
- new pname[MAX_PLAYERS];
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- format(stringa, sizeof(stringa), " %s Foi Para a ilha ( /kart )", pname);
- SendClientMessageToAll(0x00C000AA, stringa);
- ResetPlayerWeapons(playerid);
- SetPlayerInterior(playerid,0);
- SetPlayerArmour(playerid, 100.0);
- SetPlayerHealth(playerid, 100.0);
- }else{
- SetPlayerPos(playerid,3170.388671875,-543.94445800781,15.065502166748);
- new pname[MAX_PLAYERS];
- GetPlayerName(playerid, pname, MAX_PLAYER_NAME);
- format(stringa, sizeof(stringa), " %s Foi Para a ilha ( /kart )", pname);
- SendClientMessageToAll(0x00C000AA, stringa);
- ResetPlayerWeapons(playerid);
- SetPlayerInterior(playerid,0);
- SetPlayerArmour(playerid, 100.0);
- SetVehicleHealth(playerid, 100.0);
- }
- return 1;
- }
- return 0;}
Add Comment
Please, Sign In to add comment