[FilterScript] RevanZe's WWE/Boxing ring w/ entrance
#1



WELCOME!
With this script you can do boxing/wrestling. To box/wrestle with your friend, you just type this command "/wwe". Now tell your friend to type "/wwe2" so he can join the other side of the ring. Now fight all you want!
No screenshot.
By the way i'm new to scripting and this is my first thread ever in SA-MP forum, so dont be so negative

NEWBIE FRIENDLY:

Put this code in your filterscript:
Quote:

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/wwe", cmdtext, true, 10) == 0)
{
SetPlayerPos(playerid,20.909503936768,-140.90580749512,0.27134799957275);
SetPlayerSkin(playerid,81);
return 1;
}

if (strcmp("/wwe2", cmdtext, true, 10) == 0)
{
SetPlayerPos(playerid,27.470899581909,-188.86544799805,0.61486005783081);
SetPlayerSkin(playerid,80);
return 1;
}
return 0;

Put this code in your gamemode [REALLY IMPORTANT]:
Quote:

public OnGameModeInit()
{
CreateObject(1337, 26.470458984375, -189.16369628906, 0.62848818302155, 0, 0, 0);
CreateObject(1337, 26.548280715942, -189.24348449707, 1.9108465909958, 0, 0, 0);
CreateObject(1337, 27.221601486206, -189.62971496582, 0.65758299827576, 0, 0, 0);
CreateObject(1337, 27.269733428955, -189.72686767578, 1.940639257431, 0, 0, 0);
CreateObject(3334, 24.093629837036, -168.02304077148, 4.0017685890198, 0, 0, 276);
CreateObject(1337, 26.457878112793, -188.56202697754, 0.58591246604919, 0, 0, 0);
CreateObject(1337, 26.55535697937, -188.46286010742, 1.8533185720444, 0, 0, 0);
CreateObject(1337, 26.454650878906, -187.96815490723, 0.5438392162323, 0, 0, 0);
CreateObject(1337, 27.718589782715, -189.63398742676, 0.65528410673141, 0, 0, 0);
CreateObject(1337, 27.932205200195, -189.63018798828, 1.872708439827, 0, 0, 0);
CreateObject(1337, 28.249061584473, -189.12329101563, 0.61631345748901, 0, 0, 0);
CreateObject(1337, 28.283645629883, -188.91558837891, 1.8268147706985, 0, 0, 0);
CreateObject(1337, 28.228721618652, -188.54718017578, 0.5755900144577, 0, 0, 0);
CreateObject(1337, 28.300193786621, -188.31924438477, 1.7536582946777, 0, 0, 0);
CreateObject(1337, 28.196132659912, -187.94165039063, 0.53284466266632, 0, 0, 0);
CreateObject(1337, 28.338304519653, -187.75784301758, 1.7231808900833, 0, 0, 0);
CreateObject(1337, 28.157373428345, -187.38659667969, 0.49370968341827, 0, 0, 0);
CreateObject(1337, 28.339950561523, -187.26731872559, 1.7032505273819, 0, 0, 0);
CreateObject(1337, 26.413850784302, -187.3871307373, 0.50287449359894, 0, 0, 0);
CreateObject(1337, 26.28719329834, -187.86529541016, 1.7631324529648, 0, 0, 0);
CreateObject(1337, 26.240892410278, -187.35824584961, 1.7408435344696, 0, 0, 0);
CreateObject(975, 25.576599121094, -183.13960266113, 1.2840647697449, 0, 0, 100);
CreateObject(975, 27.541391372681, -182.78410339355, 1.2840647697449, 0, 0, 99.99755859375);
CreateObject(975, 24.130378723145, -174.51652526855, 1.2840647697449, 0, 0, 99.99755859375);
CreateObject(975, 26.152908325195, -174.20223999023, 1.2840647697449, 0, 0, 99.99755859375);
CreateObject(1337, 23.096696853638, -169.99461364746, 0.25860071182251, 0, 0, 0);
CreateObject(1337, 23.217126846313, -169.89044189453, 1.5149047374725, 0, 0, 0);
CreateObject(1337, 23.445503234863, -169.8035736084, 2.6951117515564, 0, 0, 0);
CreateObject(1337, 25.308300018311, -169.62763977051, 0.25860071182251, 0, 0, 0);
CreateObject(1337, 25.454906463623, -169.52674865723, 1.5029098987579, 0, 0, 0);
CreateObject(1337, 25.611948013306, -169.39414978027, 2.7238945960999, 0, 0, 0);
CreateObject(1337, 23.01047706604, -169.36741638184, 0.25860071182251, 0, 0, 0);
CreateObject(1337, 22.885711669922, -169.37727355957, 1.5286886692047, 0, 0, 0);
CreateObject(1337, 22.705251693726, -169.38021850586, 2.7630701065063, 0, 0, 0);
CreateObject(1337, 22.893705368042, -168.6234588623, 0.25860071182251, 0, 0, 0);
CreateObject(1337, 22.726360321045, -168.74337768555, 1.4733946323395, 0, 0, 0);
CreateObject(1337, 22.565711975098, -168.79293823242, 2.7183156013489, 0, 0, 0);
CreateObject(1337, 25.300312042236, -169.07565307617, 0.25860071182251, 0, 0, 0);
CreateObject(1337, 25.458871841431, -168.97413635254, 1.5300452709198, 0, 0, 0);
CreateObject(1337, 25.679382324219, -168.90431213379, 2.7358026504517, 0, 0, 0);
CreateObject(1337, 25.393199920654, -168.3392791748, 0.25860071182251, 0, 0, 0);
CreateObject(1337, 25.521884918213, -168.33755493164, 1.533519744873, 0, 0, 0);
CreateObject(1337, 25.741470336914, -168.26118469238, 2.7289607524872, 0, 0, 0);
CreateObject(14781, 23.16893196106, -164.91192626953, 0.6997241973877, 0, 0, 0);
CreateObject(3334, 23.867803573608, -161.17535400391, 4.0017685890198, 0, 0, 84.00146484375);
CreateObject(1337, 25.425630569458, -160.70623779297, 0.25860071182251, 0, 0, 0);
CreateObject(1337, 25.422779083252, -160.62669372559, 1.5473901033401, 0, 0, 0);
CreateObject(1337, 25.416187286377, -160.46917724609, 2.8002254962921, 0, 0, 0);
CreateObject(1337, 25.406366348267, -160.13047790527, 0.25860071182251, 0, 0, 0);
CreateObject(1337, 25.23176574707, -160.03352355957, 1.4748220443726, 0, 0, 0);
CreateObject(1337, 25.143814086914, -159.82237243652, 2.6602458953857, 0, 0, 0);
CreateObject(1337, 25.367771148682, -159.54995727539, 0.25860071182251, 0, 0, 0);
CreateObject(1337, 25.162502288818, -159.4280090332, 1.4278748035431, 0, 0, 0);
CreateObject(1337, 25.098485946655, -159.31591796875, 2.6958060264587, 0, 0, 0);
CreateObject(1337, 22.376680374146, -160.22625732422, 0.25860071182251, 0, 0, 0);
CreateObject(1337, 22.396041870117, -160.04180908203, 1.4918169975281, 0, 0, 0);
CreateObject(1337, 22.258014678955, -159.90551757813, 2.7137281894684, 0, 0, 0);
CreateObject(1337, 22.311361312866, -159.59156799316, 0.25860071182251, 0, 0, 0);
CreateObject(1337, 22.274564743042, -159.49334716797, 1.537939786911, 0, 0, 0);
CreateObject(1337, 22.132862091064, -159.31272888184, 2.7208938598633, 0, 0, 0);
CreateObject(1337, 22.344598770142, -159.26023864746, 0.25860071182251, 0, 0, 0);
CreateObject(1337, 22.136390686035, -159.21441650391, 1.4611723423004, 0, 0, 0);
CreateObject(1337, 21.947172164917, -159.10856628418, 2.6592092514038, 0, 0, 0);
CreateObject(975, 21.604011535645, -155.21600341797, 1.2840647697449, 0, 0, 99.99755859375);
CreateObject(975, 24.793575286865, -154.86408996582, 1.2840647697449, 0, 0, 99.99755859375);
CreateObject(975, 23.2516040802, -146.26034545898, 1.2840647697449, 0, 0, 99.99755859375);
CreateObject(975, 20.128170013428, -146.59020996094, 1.2840647697449, 0, 0, 99.99755859375);
CreateObject(1337, 22.27657699585, -141.71914672852, 0.25860071182251, 0, 0, 0);
CreateObject(1337, 22.48593711853, -141.66572570801, 1.4724655151367, 0, 0, 0);
CreateObject(1337, 22.270774841309, -141.09088134766, 0.25860071182251, 0, 0, 0);
CreateObject(1337, 22.489110946655, -141.05221557617, 1.4670922756195, 0, 0, 0);
CreateObject(1337, 22.271343231201, -140.50555419922, 0.25860071182251, 0, 0, 0);
CreateObject(1337, 22.522878646851, -140.43980407715, 1.4164819717407, 0, 0, 0);
CreateObject(1337, 22.294967651367, -139.9031829834, 0.25860071182251, 0, 0, 0);
CreateObject(1337, 22.531129837036, -139.85437011719, 1.4443024396896, 0, 0, 0);
CreateObject(1337, 21.740528106689, -139.52906799316, 0.25860071182251, 0, 0, 0);
CreateObject(1337, 21.142402648926, -139.45101928711, 0.25860071182251, 0, 0, 0);
CreateObject(1337, 21.729787826538, -139.26721191406, 1.3940136432648, 0, 0, 0);
CreateObject(1337, 21.131723403931, -139.20414733887, 1.4207000732422, 0, 0, 0);
CreateObject(1337, 20.645854949951, -139.53941345215, 0.25860071182251, 0, 0, 0);
CreateObject(1337, 20.127843856812, -139.49380493164, 0.25860071182251, 0, 0, 0);
CreateObject(1337, 19.794059753418, -139.47027587891, 0.25860071182251, 0, 0, 0);
CreateObject(1337, 20.617296218872, -139.30239868164, 1.4325461387634, 0, 0, 0);
CreateObject(1337, 20.10200881958, -139.27113342285, 1.4517138004303, 0, 0, 0);
CreateObject(1337, 19.758544921875, -139.25505065918, 1.4584300518036, 0, 0, 0);
CreateObject(1337, 19.243732452393, -139.970703125, 0.25860071182251, 0, 0, 0);
CreateObject(1337, 19.068683624268, -139.93627929688, 1.4940960407257, 0, 0, 0);
CreateObject(1337, 19.341262817383, -140.54933166504, 0.25860071182251, 0, 0, 0);
CreateObject(1337, 19.123260498047, -140.53959655762, 1.456055521965, 0, 0, 0);
CreateObject(1337, 19.405618667603, -141.13485717773, 0.25860071182251, 0, 0, 0);
CreateObject(1337, 19.203723907471, -141.11187744141, 1.4720293283463, 0, 0, 0);
CreateObject(1337, 19.403175354004, -141.71322631836, 0.25860071182251, 0, 0, 0);
CreateObject(1337, 19.189016342163, -141.63885498047, 1.444753408432, 0, 0, 0);
CreateObject(2990, 30.646486282349, -167.76675415039, 3.5233554840088, 0, 0, 0);
CreateObject(2990, 30.371881484985, -161.08493041992, 3.5233554840088, 0, 0, 0);
CreateObject(2990, 30.686876296997, -164.1491394043, 3.5233554840088, 0, 0, 100);
CreateObject(2990, 17.449508666992, -168.4308013916, 3.5233554840088, 0, 0, 0);
CreateObject(2990, 17.379261016846, -160.58213806152, 3.5233554840088, 0, 0, 0);
CreateObject(2990, 15.885833740234, -164.44934082031, 3.5233554840088, 0, 0, 99.99755859375);
return 1;
}

I hope this helped. I try to practice on working with scripting etc. More will come soon
If i putted this in the wrong thread then tell me, cause im a bit new.

PICS/SCREENSHOTS:
/wwe
http://imageshack.us/photo/my-images/863/samp018a.png/
http://imageshack.us/photo/my-images/802/samp020a.png/
http://imageshack.us/photo/my-images/135/samp021cy.png/
http://imageshack.us/photo/my-images/163/samp022gk.png/
http://imageshack.us/photo/my-images/28/samp023tm.png/
/wwe2
http://imageshack.us/photo/my-images/688/samp024zc.png/
http://imageshack.us/photo/my-images...amp025lzk.png/
http://imageshack.us/photo/my-images/692/samp026ap.png/
Reply
#2

this should be in maps, btw good work 8/10
Reply
#3

No pics no download
Reply
#4

Quote:
Originally Posted by System64
Посмотреть сообщение
No pics no download
Why download? You have here "CreateObject". Yes, at least he should paste here pastebin.
Reply
#5

Nice work 6/10
Reply
#6

Add some pictures please, or you wont get many responses/rates and downloads.

Just a tip.
Reply
#7

add some ****** pics thx
Reply
#8

Pics will be added.
Reply
#9

Look at the pics now
Reply
#10

nice
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)