Szerző Téma: "Kisvasút" ~ mappolt sin, mappolt "vonat"  (Megtekintve 2600 alkalommal)

Nem elérhető Wiliam Levy

  • 594
  • Wiliam Levy
    • Profil megtekintése
"Kisvasút" ~ mappolt sin, mappolt "vonat"
« Dátum: 2013. december 31. - 16:25:11 »
+7 Show voters
Hali, nagyon unatkoztam, ezért mappoltam egy \"KISVASUTAT\"
Aztán beszkripteltem, hogy menjen :D
Nagyon egyszerü kis szkript, de szerintem tök jó :D
Képek:
\"sa-mp-027.png\"
\"sa-mp-028.png\"
\"sa-mp-029.png\"
\"sa-mp-030.png\"
\"sa-mp-031.png\"
\"sa-mp-032.png\"
\"sa-mp-033.png\"
\"sa-mp-034.png\"
\"sa-mp-035.png\"
\"sa-mp-036.png\"
Akinek nem jelennek meg:
http://bpvkv.atw.hu/kisvasut/sa-mp-027.png
http://bpvkv.atw.hu/kisvasut/sa-mp-028.png
http://bpvkv.atw.hu/kisvasut/sa-mp-029.png
http://bpvkv.atw.hu/kisvasut/sa-mp-030.png
http://bpvkv.atw.hu/kisvasut/sa-mp-031.png
http://bpvkv.atw.hu/kisvasut/sa-mp-032.png
http://bpvkv.atw.hu/kisvasut/sa-mp-033.png
http://bpvkv.atw.hu/kisvasut/sa-mp-034.png
http://bpvkv.atw.hu/kisvasut/sa-mp-035.png
http://bpvkv.atw.hu/kisvasut/sa-mp-036.png
Koordináta: Benne a kódban (/kisvasut parancs)
Kód:
 

new VonatObject[48];
new asd;
#include
public OnFilterScriptInit()
{
CreateObject(11342,3343.3000500,-468.6000100,6.6000000,0.0000000,0.0000000,0.0000000); //object(southtunnel_03_sfs) (1)
CreateObject(5772,3344.8000500,-156.0000000,10.4000000,0.0000000,0.0000000,359.9000000); //object(railtunn01_lawn) (1)
CreateObject(9166,3346.0000000,-679.2000100,7.5000000,0.0000000,0.0000000,180.0000000); //object(vgsrailbuild04) (1)
CreateObject(11342,3341.6999500,-296.0000000,6.6000000,0.0000000,0.0000000,0.0000000); //object(southtunnel_03_sfs) (2)
CreateObject(5772,3349.2998000,-607.2998000,10.4000000,0.0000000,0.0000000,359.8960000); //object(railtunn01_lawn) (2)
CreateObject(9166,3339.6999500,-85.2000000,7.0000000,0.0000000,0.0000000,0.0000000); //object(vgsrailbuild04) (2)
VonatObject[0] = CreateObject(1389,3342.3000500,-111.0000000,3.7000000,0.0000000,0.0000000,0.0000000); //object(twrcrane_s_01) (1)
VonatObject[1] = CreateObject(1389,3342.3999000,-116.3000000,3.7000000,0.0000000,0.0000000,0.0000000); //object(twrcrane_s_01) (2)
VonatObject[2] = CreateObject(2395,3341.0000000,-112.0000000,4.2000000,270.0000000,0.0000000,0.0000000); //object(cj_sports_wall) (1)
VonatObject[3] = CreateObject(2395,3341.0000000,-114.7000000,4.2000000,270.0000000,0.0000000,0.0000000); //object(cj_sports_wall) (2)
VonatObject[4] = CreateObject(2395,3341.0000000,-117.4000000,4.2000000,270.0000000,0.0000000,0.0000000); //object(cj_sports_wall) (3)
VonatObject[5] = CreateObject(970,3340.5000000,-111.3000000,4.7000000,0.0000000,0.0000000,90.0000000); //object(fencesmallb) (1)
VonatObject[6] = CreateObject(970,3342.2998000,-117.3994100,4.7000000,0.0000000,0.0000000,0.0000000); //object(fencesmallb) (2)
VonatObject[7] = CreateObject(970,3342.3994100,-109.2998000,4.7000000,0.0000000,0.0000000,0.0000000); //object(fencesmallb) (3)
VonatObject[8] = CreateObject(970,3340.5000000,-115.4000000,4.7000000,0.0000000,0.0000000,90.0000000); //object(fencesmallb) (4)
VonatObject[9] = CreateObject(970,3344.1999500,-113.3000000,4.7000000,0.0000000,0.0000000,90.0000000); //object(fencesmallb) (5)
VonatObject[10] = CreateObject(2753,3340.8999000,-113.4000000,5.2000000,0.0000000,0.0000000,270.0000000); //object(cj_ff_till_que) (1)
VonatObject[11] = CreateObject(2169,3341.0000000,-113.9000000,4.2000000,0.0000000,0.0000000,90.0000000); //object(med_office3_desk_1) (1)
VonatObject[12] = CreateObject(2122,3343.8999000,-115.1000000,4.7000000,0.0000000,0.0000000,0.0000000); //object(swank_din_chair_3) (1)
VonatObject[13] = CreateObject(2122,3343.8999000,-114.7000000,4.7000000,0.0000000,0.0000000,0.0000000); //object(swank_din_chair_3) (2)
VonatObject[14] = CreateObject(2122,3343.8999000,-114.3000000,4.7000000,0.0000000,0.0000000,0.0000000); //object(swank_din_chair_3) (3)
VonatObject[15] = CreateObject(2122,3343.8999000,-113.9000000,4.7000000,0.0000000,0.0000000,0.0000000); //object(swank_din_chair_3) (4)
VonatObject[16] = CreateObject(2122,3343.8999000,-113.5000000,4.7000000,0.0000000,0.0000000,0.0000000); //object(swank_din_chair_3) (5)
VonatObject[17] = CreateObject(2122,3343.8999000,-113.1000000,4.7000000,0.0000000,0.0000000,0.0000000); //object(swank_din_chair_3) (6)
VonatObject[18] = CreateObject(2122,3343.8999000,-112.7000000,4.7000000,0.0000000,0.0000000,0.0000000); //object(swank_din_chair_3) (7)
VonatObject[19] = CreateObject(2122,3343.8999000,-112.3000000,4.7000000,0.0000000,0.0000000,0.0000000); //object(swank_din_chair_3) (8)
VonatObject[20] = CreateObject(2122,3343.8999000,-111.9000000,4.7000000,0.0000000,0.0000000,0.0000000); //object(swank_din_chair_3) (9)
VonatObject[21] = CreateObject(2122,3343.8999000,-111.5000000,4.7000000,0.0000000,0.0000000,0.0000000); //object(swank_din_chair_3) (10)
VonatObject[22] = CreateObject(2122,3341.6999500,-117.1000000,4.7000000,0.0000000,0.0000000,270.0000000); //object(swank_din_chair_3) (11)
VonatObject[23] = CreateObject(2122,3340.7998000,-117.0996100,4.7000000,0.0000000,0.0000000,269.9950000); //object(swank_din_chair_3) (12)
VonatObject[24] = CreateObject(2122,3341.2998000,-117.0996100,4.7000000,0.0000000,0.0000000,269.9950000); //object(swank_din_chair_3) (13)
VonatObject[25] = CreateObject(2122,3342.1001000,-117.1000000,4.7000000,0.0000000,0.0000000,269.9950000); //object(swank_din_chair_3) (14)
VonatObject[26] = CreateObject(2122,3342.5000000,-117.1000000,4.7000000,0.0000000,0.0000000,269.9950000); //object(swank_din_chair_3) (15)
VonatObject[27] = CreateObject(2122,3340.8000500,-117.1000000,4.7000000,0.0000000,0.0000000,180.0000000); //object(swank_din_chair_3) (16)
VonatObject[28] = CreateObject(2122,3340.8000500,-115.1000000,4.7000000,0.0000000,0.0000000,180.0000000); //object(swank_din_chair_3) (17)
VonatObject[29] = CreateObject(2122,3340.7998000,-116.6992200,4.7000000,0.0000000,0.0000000,179.9950000); //object(swank_din_chair_3) (18)
VonatObject[30] = CreateObject(2122,3340.7998000,-116.2998000,4.7000000,0.0000000,0.0000000,179.9950000); //object(swank_din_chair_3) (19)
VonatObject[31] = CreateObject(2122,3340.7998000,-115.8994100,4.7000000,0.0000000,0.0000000,179.9950000); //object(swank_din_chair_3) (20)
VonatObject[32] = CreateObject(2122,3340.7998000,-115.5000000,4.7000000,0.0000000,0.0000000,179.9950000); //object(swank_din_chair_3) (21)
VonatObject[33] = CreateObject(2122,3340.8000500,-114.7000000,4.7000000,0.0000000,0.0000000,179.9950000); //object(swank_din_chair_3) (23)
VonatObject[34] = CreateObject(2122,3340.7998000,-109.5996100,4.7000000,0.0000000,0.0000000,179.9950000); //object(swank_din_chair_3) (24)
VonatObject[35] = CreateObject(2122,3340.7998000,-110.0000000,4.7000000,0.0000000,0.0000000,179.9950000); //object(swank_din_chair_3) (25)
VonatObject[36] = CreateObject(2122,3340.7998000,-110.3994100,4.7000000,0.0000000,0.0000000,179.9950000); //object(swank_din_chair_3) (26)
VonatObject[37] = CreateObject(2122,3340.7998000,-110.7998000,4.7000000,0.0000000,0.0000000,179.9950000); //object(swank_din_chair_3) (27)
VonatObject[38] = CreateObject(2122,3340.7998000,-111.1992200,4.7000000,0.0000000,0.0000000,179.9950000); //object(swank_din_chair_3) (28)
VonatObject[39] = CreateObject(2122,3340.7998000,-111.5996100,4.7000000,0.0000000,0.0000000,179.9950000); //object(swank_din_chair_3) (29)
VonatObject[40] = CreateObject(2122,3340.7998000,-112.0000000,4.7000000,0.0000000,0.0000000,179.9950000); //object(swank_din_chair_3) (30)
VonatObject[41] = CreateObject(2122,3340.8000500,-109.6000000,4.7000000,0.0000000,0.0000000,90.0000000); //object(swank_din_chair_3) (31)
VonatObject[42] = CreateObject(2122,3341.1992200,-109.5996100,4.7000000,0.0000000,0.0000000,90.0000000); //object(swank_din_chair_3) (33)
VonatObject[43] = CreateObject(2122,3341.5996100,-109.5996100,4.7000000,0.0000000,0.0000000,90.0000000); //object(swank_din_chair_3) (34)
VonatObject[44] = CreateObject(2122,3342.0000000,-109.5996100,4.7000000,0.0000000,0.0000000,90.0000000); //object(swank_din_chair_3) (35)
VonatObject[45] = CreateObject(2122,3342.3994100,-109.5996100,4.7000000,0.0000000,0.0000000,90.0000000); //object(swank_din_chair_3) (36)
VonatObject[46] = CreateObject(2122,3342.7998000,-109.5996100,4.7000000,0.0000000,0.0000000,90.0000000); //object(swank_din_chair_3) (37)
VonatObject[47] = CreateObject(2122,3341.8000500,-113.4000000,4.7000000,0.0000000,0.0000000,0.0000000); //object(swank_din_chair_3) (39)
 
print(\"\\n--------------------------------------\");
print(\" Kisvasút by Peti134 aka Wiliam Levy\");
print(\"--------------------------------------\\n\");
return 1;
}
public OnFilterScriptExit()
{
for(new i; i < MAX_OBJECTS; i++)
{
DestroyObject(VonatObject);
}
return 1;
}
 
public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp(\"/asd\", cmdtext, true, 10) == 0)
{
if(asd == 1)
{
for(new i; i < MAX_OBJECTS; i++)
{
if(IsObjectMoving(VonatObject)) return SendClientMessage(playerid,-1,\"A kisvasút már mozog!\");
new Float:vx,Float:vy,Float:vz,Float:newy;
GetObjectPos(VonatObject,vx,vy,vz);
MoveObject(VonatObject,vx-5.0,vy+525.0,vz,15);
asd = 0;
}
}
else
{
for(new i; i < MAX_OBJECTS; i++)
{
if(IsObjectMoving(VonatObject)) return SendClientMessage(playerid,-1,\"A kisvasút már mozog!\");
new Float:vx,Float:vy,Float:vz,Float:newy;
GetObjectPos(VonatObject,vx,vy,vz);
MoveObject(VonatObject,vx+5.0,vy-525.0,vz,15);
asd = 1;
}
}
return 1;
}
if (strcmp(\"/kisvasut\", cmdtext, true, 10) == 0)
{
SetPlayerPos(playerid,3342.3994100,-109.2998000,6.0);
return 1;
}
return 0;
}
« Utoljára szerkesztve: 2014. január 01. - 18:55:43 írta cappsy »

"Kisvasút" ~ mappolt sin, mappolt "vonat"
« Válasz #1 Dátum: 2013. december 31. - 17:16:45 »
0 Show voters
Sok haszna nincsen mivel ott a vonat és az több emberes meg minden. De mint ötlet és kivitelezés nagyon nagyon tetszik :D

"Kisvasút" ~ mappolt sin, mappolt "vonat"
« Válasz #2 Dátum: 2013. december 31. - 20:49:14 »
0 Show voters
Grat széplett! Nekem tetszik :D

Nem elérhető Wiliam Levy

  • 594
  • Wiliam Levy
    • Profil megtekintése
"Kisvasút" ~ mappolt sin, mappolt "vonat"
« Válasz #3 Dátum: 2013. december 31. - 23:12:40 »
0 Show voters
Köszönöm :)

"Kisvasút" ~ mappolt sin, mappolt "vonat"
« Válasz #4 Dátum: 2014. január 01. - 02:06:41 »
0 Show voters
Nem rossz, sõt, egész jó :)

"Kisvasút" ~ mappolt sin, mappolt "vonat"
« Válasz #5 Dátum: 2014. január 01. - 18:44:02 »
0 Show voters
Jó lett de.
Nem jól tudom, vagy ha egy kicsit is rosszul mapoltad a pályát akk a vonat átmegy a falon ki oda ahol sinek sincsenek.
Ha tesztelted bocsi. :)

Nem elérhető Cappsy

  • Adminisztrátor
  • 2754
    • Profil megtekintése
"Kisvasút" ~ mappolt sin, mappolt "vonat"
« Válasz #6 Dátum: 2014. január 01. - 18:56:17 »
0 Show voters
[mod]Javítottam neked a képeket :). A kép direkt linkjét kell berakni!! :)[/mod]

Nem elérhető Wiliam Levy

  • 594
  • Wiliam Levy
    • Profil megtekintése
"Kisvasút" ~ mappolt sin, mappolt "vonat"
« Válasz #7 Dátum: 2014. január 02. - 10:39:25 »
+2 Show voters

Jó lett de.
Nem jól tudom, vagy ha egy kicsit is rosszul mapoltad a pályát akk a vonat átmegy a falon ki oda ahol sinek sincsenek.
Ha tesztelted bocsi. :)
 
[/quote]
Teszteltem! Mûködik :)
 

[mod]Javítottam neked a képeket :). A kép direkt linkjét kell berakni!! :)[/mod]
 
[/quote]
Köszike cuncimókus :D

Nem elérhető Beckham

  • 1693
  • Noresz
  • Discord: Noresz#4265
    • Profil megtekintése
    • OctansV Alt:v szervere
"Kisvasút" ~ mappolt sin, mappolt "vonat"
« Válasz #8 Dátum: 2014. január 06. - 16:31:53 »
0 Show voters
Ez mintának jó ahhoz ha például valaki mapol sineket rp szerverére  és oda vonatot rá.

"Kisvasút" ~ mappolt sin, mappolt "vonat"
« Válasz #9 Dátum: 2014. január 28. - 06:47:11 »
0 Show voters
lég jonak tûnik  ;)

"Kisvasút" ~ mappolt sin, mappolt "vonat"
« Válasz #10 Dátum: 2014. január 28. - 15:02:00 »
0 Show voters
Ez jó,de minek megmappolni megint,mikor ott a nagy vasút alap San Andreasban ?
Meg ezzal kanyarokat sem nagyon veszel... :nono:

"Kisvasút" ~ mappolt sin, mappolt "vonat"
« Válasz #11 Dátum: 2014. január 31. - 18:56:53 »
0 Show voters
Szerintem nagyon jó :D ment a +  :yes:

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal