Üzenetek megjelenítése

Ez a szekció lehetővé teszi a felhasználó által írt összes hozzászólás megtekintését. Vedd figyelembe, hogy csak azokba a fórumokba írt hozzászólásokat látod, amelyekhez hozzáférésed van.


Üzenetek - Rexii

Oldalak: 1 ... 22 23 [24] 25 26 ... 31
346
SA-MP: Szerverfejlesztés / Alap TDM mód
« Dátum: 2012. április 22. - 14:21:03 »
Hát.. Nem teljesen tökéletes,egyébként jó mód!
Javítottam benne pár dolgot:
 
/*A módot készítette SmokeR !
Figyelem: Ez a mód egy alap TDM mód !
Ha valami nem tetszik benne nyugodtan írd át.
Én csak gyakorlásnak írtam a módot.*/
#include <a_samp>
#include dini
#include dudb
#include zcmd
#include sscanf
#include dutils
new gTeam[MAX_PLAYERS];
#define TEAM_GANGSTER 0
#define TEAM_MAFFIA 1
#define COLOR_GRAD1 0xB4B5B7FF
#define COLOR_GRAD2 0xBFC0C2FF
#define COLOR_RED 0xFF0000FF
#define COLOR_ORANGE 0xFFA500FF
#define COLOR_WHITE 0xFFFFFFFF
#define COLOR_GREEN 0x008000FF
#define COLOR_YELLOW 0xFFFF00FF
#define achat 0x00d5ffAA
#define COLOR_BLUE 0x0009ffAA
#define COLOR_LIGHTBLUE 0x0BBF6AA
#define COLOR_LIGHTGREEN 0x90EE90FF
#define COLOR_LIGHTBLUE1 0x0BBF6AA
main()
{
        print(\"\\n----------------------------------\");
        print(\" By:SmokeR                          \");
        print(\"----------------------------------\\n\");
}
public OnGameModeInit()
{
AddPlayerClass(109,1903.6173,-243.0648,3.6594,225.1275,0,0,0,0,0,0); // //GANGSTER csapat
AddPlayerClass(126,2109.3953,190.6198,2.3594,160.0426,0,0,0,0,0,0); // //Maffia csapat
UsePlayerPedAnims();//Ezt vedd ki ha azt akarod hogy buzisan fusson
SetGameModeText(\"GANGSTER vs MAFFIA\");
//----------------------///Mappolás///------------------------//
CreateObject(8229,1958.09997559,-24.70000076,2.90000010,0.00000000,0.00000000,344.00000000); //object(vgsbikeschl02) (1)
CreateObject(8229,1979.40002441,-30.60000038,2.90000010,0.00000000,0.00000000,343.99841309); //object(vgsbikeschl02) (2)
CreateObject(8229,2001.09997559,-34.50000000,2.90000010,0.00000000,0.00000000,353.99841309); //object(vgsbikeschl02) (3)
CreateObject(8229,2022.40002441,-31.20000076,2.90000010,0.00000000,0.00000000,21.99597168); //object(vgsbikeschl02) (4)
CreateObject(8229,2043.50000000,-24.20000076,2.90000010,0.00000000,0.00000000,14.24462891); //object(vgsbikeschl02) (5)
CreateObject(8229,2043.50000000,-24.20000076,6.69999981,0.00000000,0.00000000,14.24377441); //object(vgsbikeschl02) (6)
CreateObject(8229,2043.50000000,-24.20000076,10.39999962,0.00000000,0.00000000,14.24377441); //object(vgsbikeschl02) (7)
CreateObject(8229,2043.50000000,-24.20000076,14.19999981,0.00000000,0.00000000,14.24377441); //object(vgsbikeschl02) (8)
CreateObject(8229,2043.50000000,-24.20000076,18.00000000,0.00000000,0.00000000,14.24377441); //object(vgsbikeschl02) (9)
CreateObject(8229,2022.40002441,-31.20000076,6.40000010,0.00000000,0.00000000,21.99462891); //object(vgsbikeschl02) (10)
CreateObject(8229,2022.40002441,-31.20000076,10.19999981,0.00000000,0.00000000,21.99462891); //object(vgsbikeschl02) (11)
CreateObject(8229,2022.40002441,-31.20000076,14.00000000,0.00000000,0.00000000,21.99462891); //object(vgsbikeschl02) (12)
CreateObject(8229,2022.40002441,-31.20000076,17.79999924,0.00000000,0.00000000,21.99462891); //object(vgsbikeschl02) (13)
CreateObject(8229,2001.09997559,-34.50000000,6.69999981,0.00000000,0.00000000,353.99597168); //object(vgsbikeschl02) (14)
CreateObject(8229,2001.09997559,-34.50000000,10.50000000,0.00000000,0.00000000,353.99597168); //object(vgsbikeschl02) (15)
CreateObject(8229,2001.09997559,-34.50000000,14.30000019,0.00000000,0.00000000,353.99597168); //object(vgsbikeschl02) (16)
CreateObject(8229,2001.09997559,-34.50000000,17.50000000,0.00000000,0.00000000,353.99597168); //object(vgsbikeschl02) (17)
CreateObject(8229,1979.40002441,-30.60000038,6.69999981,0.00000000,0.00000000,343.99841309); //object(vgsbikeschl02) (18)
CreateObject(8229,1979.40002441,-30.60000038,10.50000000,0.00000000,0.00000000,343.99841309); //object(vgsbikeschl02) (19)
CreateObject(8229,1979.40002441,-30.60000038,14.30000019,0.00000000,0.00000000,343.99841309); //object(vgsbikeschl02) (20)
CreateObject(8229,1979.40002441,-30.60000038,17.29999924,0.00000000,0.00000000,343.99841309); //object(vgsbikeschl02) (21)
CreateObject(8229,1958.09997559,-24.70000076,6.69999981,0.00000000,0.00000000,343.99841309); //object(vgsbikeschl02) (22)
CreateObject(8229,1958.09997559,-24.70000076,10.50000000,0.00000000,0.00000000,343.99841309); //object(vgsbikeschl02) (23)
CreateObject(8229,1958.09997559,-24.70000076,14.30000019,0.00000000,0.00000000,343.99841309); //object(vgsbikeschl02) (24)
CreateObject(8229,1958.09997559,-24.70000076,18.00000000,0.00000000,0.00000000,343.99841309); //object(vgsbikeschl02) (25)
CreateObject(8229,1937.90002441,-27.20000076,2.90000010,0.00000000,0.00000000,29.99841309); //object(vgsbikeschl02) (26)
CreateObject(8229,1937.90002441,-27.20000076,6.80000019,0.00000000,0.00000000,29.99816895); //object(vgsbikeschl02) (27)
CreateObject(8229,1937.90002441,-27.20000076,10.60000038,0.00000000,0.00000000,29.99816895); //object(vgsbikeschl02) (28)
CreateObject(8229,1937.90002441,-27.20000076,14.39999962,0.00000000,0.00000000,29.99816895); //object(vgsbikeschl02) (29)
CreateObject(8229,1937.90002441,-27.20000076,18.20000076,0.00000000,0.00000000,29.99816895); //object(vgsbikeschl02) (30)
CreateObject(8229,2212.80004883,-142.50000000,2.90000010,0.00000000,0.00000000,347.49841309); //object(vgsbikeschl02) (31)
CreateObject(8229,2212.80004883,-142.50000000,6.69999981,0.00000000,0.00000000,347.49755859); //object(vgsbikeschl02) (32)
CreateObject(8229,2212.80004883,-142.50000000,10.50000000,0.00000000,0.00000000,347.49755859); //object(vgsbikeschl02) (33)
CreateObject(8229,2212.80004883,-142.50000000,14.30000019,0.00000000,0.00000000,347.49755859); //object(vgsbikeschl02) (34)
CreateObject(8229,2212.80004883,-142.50000000,18.10000038,0.00000000,0.00000000,347.49755859); //object(vgsbikeschl02) (35)
CreateObject(8229,2191.19995117,-137.80000305,2.90000010,0.00000000,0.00000000,348.24755859); //object(vgsbikeschl02) (36)
CreateObject(8229,2191.19995117,-137.80000305,6.80000019,0.00000000,0.00000000,348.24462891); //object(vgsbikeschl02) (37)
CreateObject(8229,2191.19995117,-137.80000305,10.60000038,0.00000000,0.00000000,348.24462891); //object(vgsbikeschl02) (38)
CreateObject(8229,2191.19995117,-137.80000305,14.39999962,0.00000000,0.00000000,348.24462891); //object(vgsbikeschl02) (39)
CreateObject(8229,2191.19995117,-137.80000305,18.10000038,0.00000000,0.00000000,348.24462891); //object(vgsbikeschl02) (40)
CreateObject(8229,2172.00000000,-128.39999390,2.90000010,0.00000000,0.00000000,319.74462891); //object(vgsbikeschl02) (41)
CreateObject(8229,2172.00000000,-128.39999390,6.69999981,0.00000000,0.00000000,319.74060059); //object(vgsbikeschl02) (42)
CreateObject(8229,2172.00000000,-128.39999390,10.50000000,0.00000000,0.00000000,319.74060059); //object(vgsbikeschl02) (43)
CreateObject(8229,2172.00000000,-128.39999390,14.30000019,0.00000000,0.00000000,319.74060059); //object(vgsbikeschl02) (44)
CreateObject(8229,2172.00000000,-128.39999390,18.00000000,0.00000000,0.00000000,319.74060059); //object(vgsbikeschl02) (45)
CreateObject(8229,2156.39990234,-112.80000305,3.00000000,0.00000000,0.00000000,310.74060059); //object(vgsbikeschl02) (46)
CreateObject(8229,2156.39990234,-112.80000305,6.90000010,0.00000000,0.00000000,310.73730469); //object(vgsbikeschl02) (47)
CreateObject(8229,2156.39990234,-112.80000305,10.60000038,0.00000000,0.00000000,310.73730469); //object(vgsbikeschl02) (48)
CreateObject(8229,2156.39990234,-112.80000305,14.39999962,0.00000000,0.00000000,310.73730469); //object(vgsbikeschl02) (49)
CreateObject(8229,2156.39990234,-112.80000305,18.10000038,0.00000000,0.00000000,310.73730469); //object(vgsbikeschl02) (50)
CreateObject(8229,2142.00000000,-96.00000000,3.00000000,0.00000000,0.00000000,310.73730469); //object(vgsbikeschl02) (51)
CreateObject(8229,2130.80004883,-77.30000305,3.00000000,0.00000000,0.00000000,290.73730469); //object(vgsbikeschl02) (52)
CreateObject(8229,2126.69995117,-55.90000153,3.00000000,0.00000000,0.00000000,270.73669434); //object(vgsbikeschl02) (53)
CreateObject(8229,2127.19995117,-33.79999924,3.00000000,0.00000000,0.00000000,266.73608398); //object(vgsbikeschl02) (54)
CreateObject(8229,2124.80004883,-12.00000000,3.00000000,0.00000000,0.00000000,284.48156738); //object(vgsbikeschl02) (55)
CreateObject(8229,2124.80004883,-12.00000000,6.80000019,0.00000000,0.00000000,284.47998047); //object(vgsbikeschl02) (56)
CreateObject(8229,2124.80004883,-12.00000000,10.69999981,0.00000000,0.00000000,284.47998047); //object(vgsbikeschl02) (57)
CreateObject(8229,2124.80004883,-12.00000000,14.50000000,0.00000000,0.00000000,284.47998047); //object(vgsbikeschl02) (58)
CreateObject(8229,2124.80004883,-12.00000000,18.29999924,0.00000000,0.00000000,284.47998047); //object(vgsbikeschl02) (59)
CreateObject(8229,2127.19995117,-33.79999924,6.80000019,0.00000000,0.00000000,266.73156738); //object(vgsbikeschl02) (60)
CreateObject(8229,2127.19995117,-33.79999924,10.60000038,0.00000000,0.00000000,266.73156738); //object(vgsbikeschl02) (61)
CreateObject(8229,2127.19995117,-33.79999924,14.39999962,0.00000000,0.00000000,266.73156738); //object(vgsbikeschl02) (62)
CreateObject(8229,2127.19995117,-33.79999924,18.20000076,0.00000000,0.00000000,266.73156738); //object(vgsbikeschl02) (63)
CreateObject(8229,2126.69995117,-55.90000153,6.69999981,0.00000000,0.00000000,270.73608398); //object(vgsbikeschl02) (64)
CreateObject(8229,2126.69995117,-55.90000153,10.39999962,0.00000000,0.00000000,270.73608398); //object(vgsbikeschl02) (65)
CreateObject(8229,2126.69995117,-55.90000153,14.19999981,0.00000000,0.00000000,270.73608398); //object(vgsbikeschl02) (66)
CreateObject(8229,2126.69995117,-55.90000153,18.00000000,0.00000000,0.00000000,270.73608398); //object(vgsbikeschl02) (67)
CreateObject(8229,2130.80004883,-77.30000305,6.80000019,0.00000000,0.00000000,290.73669434); //object(vgsbikeschl02) (68)
CreateObject(8229,2130.80004883,-77.30000305,10.60000038,0.00000000,0.00000000,290.73669434); //object(vgsbikeschl02) (69)
CreateObject(8229,2130.80004883,-77.30000305,14.39999962,0.00000000,0.00000000,290.73669434); //object(vgsbikeschl02) (70)
CreateObject(8229,2130.80004883,-77.30000305,18.20000076,0.00000000,0.00000000,290.73669434); //object(vgsbikeschl02) (71)
CreateObject(8229,2142.00000000,-96.00000000,6.80000019,0.00000000,0.00000000,310.73730469); //object(vgsbikeschl02) (72)
CreateObject(8229,2142.00000000,-96.00000000,10.60000038,0.00000000,0.00000000,310.73730469); //object(vgsbikeschl02) (73)
CreateObject(8229,2142.00000000,-96.00000000,14.39999962,0.00000000,0.00000000,310.73730469); //object(vgsbikeschl02) (74)
CreateObject(8229,2142.00000000,-96.00000000,18.10000038,0.00000000,0.00000000,310.73730469); //object(vgsbikeschl02) (75)
CreateObject(8229,1908.09997559,-54.09999847,2.90000010,0.00000000,0.00000000,75.99816895); //object(vgsbikeschl02) (76)
CreateObject(8229,1908.09997559,-54.09999847,-0.89999998,0.00000000,0.00000000,75.99792480); //object(vgsbikeschl02) (77)
CreateObject(8229,1908.09997559,-54.09999847,-4.50000000,0.00000000,0.00000000,75.99792480); //object(vgsbikeschl02) (78)
CreateObject(8229,1908.09997559,-54.09999847,-8.10000038,0.00000000,0.00000000,75.99792480); //object(vgsbikeschl02) (79)
CreateObject(8229,1908.09997559,-54.09999847,6.69999981,0.00000000,0.00000000,75.99792480); //object(vgsbikeschl02) (80)
CreateObject(8229,1908.09997559,-54.09999847,10.50000000,0.00000000,0.00000000,75.99792480); //object(vgsbikeschl02) (81)
CreateObject(8229,1908.09997559,-54.09999847,14.30000019,0.00000000,0.00000000,75.99792480); //object(vgsbikeschl02) (82)
CreateObject(8229,1908.09997559,-54.09999847,18.00000000,0.00000000,0.00000000,75.99792480); //object(vgsbikeschl02) (83)
CreateObject(8229,1901.00000000,-75.00000000,2.90000010,0.00000000,0.00000000,65.99792480); //object(vgsbikeschl02) (84)
CreateObject(8229,1892.09997559,-95.19999695,2.90000010,0.00000000,0.00000000,65.99487305); //object(vgsbikeschl02) (85)
CreateObject(8229,1901.00000000,-75.00000000,6.69999981,0.00000000,0.00000000,65.99487305); //object(vgsbikeschl02) (86)
CreateObject(8229,1901.00000000,-75.00000000,10.50000000,0.00000000,0.00000000,65.99487305); //object(vgsbikeschl02) (87)
CreateObject(8229,1901.00000000,-75.00000000,14.30000019,0.00000000,0.00000000,65.99487305); //object(vgsbikeschl02) (88)
CreateObject(8229,1901.00000000,-75.00000000,18.00000000,0.00000000,0.00000000,65.99487305); //object(vgsbikeschl02) (89)
CreateObject(8229,1892.09997559,-95.19999695,6.69999981,0.00000000,0.00000000,65.99487305); //object(vgsbikeschl02) (90)
CreateObject(8229,1892.09997559,-95.19999695,10.50000000,0.00000000,0.00000000,65.99487305); //object(vgsbikeschl02) (91)
CreateObject(8229,1892.09997559,-95.19999695,14.30000019,0.00000000,0.00000000,65.99487305); //object(vgsbikeschl02) (92)
CreateObject(8229,1892.09997559,-95.19999695,18.00000000,0.00000000,0.00000000,65.99487305); //object(vgsbikeschl02) (93)
CreateObject(8229,1892.09997559,-95.19999695,-0.89999998,0.00000000,0.00000000,65.99487305); //object(vgsbikeschl02) (94)
CreateObject(8229,1892.09997559,-95.19999695,-4.59999990,0.00000000,0.00000000,65.99487305); //object(vgsbikeschl02) (95)
CreateObject(8229,1892.09997559,-95.19999695,-8.39999962,0.00000000,0.00000000,65.99487305); //object(vgsbikeschl02) (96)
CreateObject(8229,1901.00000000,-75.00000000,-0.80000001,0.00000000,0.00000000,65.99487305); //object(vgsbikeschl02) (97)
CreateObject(8229,1901.00000000,-75.00000000,-4.59999990,0.00000000,0.00000000,65.99487305); //object(vgsbikeschl02) (98)
CreateObject(8229,1901.00000000,-75.00000000,-8.30000019,0.00000000,0.00000000,65.99487305); //object(vgsbikeschl02) (99)
CreateObject(8229,1898.09997559,-218.80000305,2.90000010,0.00000000,0.00000000,116.74490356); //object(vgsbikeschl02) (100)
CreateObject(8229,1891.30004883,-198.00000000,2.90000010,0.00000000,0.00000000,98.74072266); //object(vgsbikeschl02) (101)
CreateObject(8229,1891.30004883,-198.00000000,6.40000010,0.00000000,0.00000000,98.73962402); //object(vgsbikeschl02) (102)
CreateObject(8229,1891.30004883,-198.00000000,10.30000019,0.00000000,0.00000000,98.73962402); //object(vgsbikeschl02) (103)
CreateObject(8229,1891.30004883,-198.00000000,14.10000038,0.00000000,0.00000000,98.73962402); //object(vgsbikeschl02) (104)
CreateObject(8229,1891.30004883,-198.00000000,17.89999962,0.00000000,0.00000000,98.73962402); //object(vgsbikeschl02) (105)
CreateObject(8229,1898.09997559,-218.80000305,6.69999981,0.00000000,0.00000000,116.74072266); //object(vgsbikeschl02) (106)
CreateObject(8229,1898.09997559,-218.80000305,10.50000000,0.00000000,0.00000000,116.74072266); //object(vgsbikeschl02) (107)
CreateObject(8229,1898.09997559,-218.80000305,14.30000019,0.00000000,0.00000000,116.74072266); //object(vgsbikeschl02) (108)
CreateObject(8229,1898.09997559,-218.80000305,18.10000038,0.00000000,0.00000000,116.74072266); //object(vgsbikeschl02) (109)
CreateObject(8229,1898.50000000,-238.50000000,2.90000010,0.00000000,4.00000000,66.74072266); //object(vgsbikeschl02) (110)
CreateObject(8229,1898.50000000,-238.50000000,6.50000000,0.00000000,1.99902344,66.73645020); //object(vgsbikeschl02) (111)
CreateObject(8229,1898.50000000,-238.50000000,10.30000019,0.00000000,1.99401855,66.73095703); //object(vgsbikeschl02) (112)
CreateObject(8229,1898.50000000,-238.50000000,14.10000038,0.00000000,1.99401855,66.73095703); //object(vgsbikeschl02) (113)
CreateObject(8229,1898.50000000,-238.50000000,17.89999962,0.00000000,1.99401855,66.73095703); //object(vgsbikeschl02) (114)
CreateObject(8229,1901.69995117,-256.79998779,9.69999981,0.00000000,0.00000000,132.74072266); //object(vgsbikeschl02) (115)
CreateObject(8229,1901.69995117,-256.79998779,13.50000000,0.00000000,0.00000000,132.73681641); //object(vgsbikeschl02) (116)
CreateObject(8229,1901.69995117,-256.79998779,17.39999962,0.00000000,0.00000000,132.73681641); //object(vgsbikeschl02) (117)
CreateObject(8229,1919.40002441,-269.29998779,7.00000000,0.00000000,346.75000000,156.73681641); //object(vgsbikeschl02) (118)
CreateObject(8229,1919.50000000,-269.39999390,9.00000000,0.00000000,354.74499512,156.73645020); //object(vgsbikeschl02) (119)
CreateObject(8229,1919.69995117,-269.70001221,12.69999981,0.00000000,354.74304199,156.73645020); //object(vgsbikeschl02) (120)
CreateObject(8229,1919.90002441,-269.70001221,16.50000000,0.00000000,354.74304199,156.73645020); //object(vgsbikeschl02) (121)
CreateObject(8229,1940.00000000,-276.60000610,4.69999981,0.00000000,0.00000000,164.23681641); //object(vgsbikeschl02) (122)
CreateObject(8229,1940.00000000,-276.60000610,8.39999962,0.00000000,0.00000000,164.23461914); //object(vgsbikeschl02) (123)
CreateObject(8229,1940.00000000,-276.60000610,12.19999981,0.00000000,0.00000000,164.23461914); //object(vgsbikeschl02) (124)
CreateObject(8229,1940.00000000,-276.60000610,15.89999962,0.00000000,0.00000000,164.23461914); //object(vgsbikeschl02) (125)
CreateObject(8229,1958.09997559,-287.70001221,4.69999981,0.00000000,0.00000000,132.23461914); //object(vgsbikeschl02) (126)
CreateObject(8229,1958.09997559,-287.70001221,8.50000000,0.00000000,0.00000000,132.23144531); //object(vgsbikeschl02) (127)
CreateObject(8229,1958.09997559,-287.70001221,12.30000019,0.00000000,0.00000000,132.23144531); //object(vgsbikeschl02) (128)
CreateObject(8229,1958.09997559,-287.70001221,16.10000038,0.00000000,0.00000000,132.23144531); //object(vgsbikeschl02) (129)
CreateObject(8229,1975.69995117,-291.50000000,9.69999981,0.00000000,2.75000000,202.98150635); //object(vgsbikeschl02) (130)
CreateObject(8229,1995.59997559,-281.79998779,7.00000000,0.00000000,2.74658203,208.97790527); //object(vgsbikeschl02) (133)
CreateObject(8229,1995.40002441,-281.89999390,10.80000019,0.00000000,2.74658203,208.97644043); //object(vgsbikeschl02) (134)
CreateObject(8229,2014.90002441,-271.00000000,5.80000019,0.00000000,2.74658203,208.97644043); //object(vgsbikeschl02) (135)
CreateObject(8229,2014.69995117,-271.10000610,9.60000038,0.00000000,2.74658203,208.97644043); //object(vgsbikeschl02) (136)
CreateObject(8229,2035.00000000,-262.00000000,5.19999981,0.00000000,2.74658203,198.97644043); //object(vgsbikeschl02) (137)
CreateObject(8229,2053.30004883,-253.30000305,1.70000005,0.00000000,2.74658203,217.47338867); //object(vgsbikeschl02) (138)
CreateObject(8229,2054.39990234,-252.00000000,5.90000010,0.00000000,1.49658203,214.96887207); //object(vgsbikeschl02) (139)
CreateObject(8229,2054.39990234,-252.00000000,2.20000005,0.00000000,1.49414062,214.96398926); //object(vgsbikeschl02) (140)
CreateObject(8229,2074.39990234,-244.00000000,2.20000005,0.00000000,0.99414062,188.46398926); //object(vgsbikeschl02) (141)
CreateObject(8229,2074.39990234,-244.00000000,6.00000000,0.00000000,0.98876953,188.45947266); //object(vgsbikeschl02) (142)
CreateObject(8229,1975.59997559,-291.60000610,13.50000000,0.00000000,2.74658203,202.97790527); //object(vgsbikeschl02) (143)
CreateObject(8229,1975.40002441,-291.70001221,17.29999924,0.00000000,2.74658203,202.97790527); //object(vgsbikeschl02) (144)
CreateObject(8229,1995.19995117,-282.00000000,14.60000038,0.00000000,2.74658203,208.97644043); //object(vgsbikeschl02) (145)
CreateObject(8229,1995.00000000,-282.10000610,18.29999924,0.00000000,2.74658203,208.97644043); //object(vgsbikeschl02) (146)
CreateObject(8229,2014.59997559,-271.29998779,13.39999962,0.00000000,2.74658203,208.97644043); //object(vgsbikeschl02) (147)
CreateObject(8229,2014.40002441,-271.29998779,17.20000076,0.00000000,2.74658203,208.97644043); //object(vgsbikeschl02) (148)
CreateObject(8229,2014.40002441,-271.20001221,19.60000038,0.00000000,2.74658203,208.97644043); //object(vgsbikeschl02) (149)
CreateObject(8229,2034.80004883,-262.00000000,9.00000000,0.00000000,2.74658203,198.97338867); //object(vgsbikeschl02) (150)
CreateObject(8229,2034.59997559,-262.00000000,12.80000019,0.00000000,2.74658203,198.97338867); //object(vgsbikeschl02) (151)
CreateObject(8229,2034.40002441,-262.00000000,16.60000038,0.00000000,2.74658203,198.97338867); //object(vgsbikeschl02) (152)
CreateObject(8229,2034.19995117,-262.00000000,20.39999962,0.00000000,2.74658203,198.97338867); //object(vgsbikeschl02) (153)
CreateObject(8229,2054.39990234,-252.00000000,9.69999981,0.00000000,1.49414062,214.96398926); //object(vgsbikeschl02) (155)
CreateObject(8229,2054.39990234,-252.00000000,13.50000000,0.00000000,1.49414062,214.96398926); //object(vgsbikeschl02) (156)
CreateObject(8229,2054.19995117,-252.10000610,17.29999924,0.00000000,1.49414062,214.96398926); //object(vgsbikeschl02) (157)
CreateObject(8229,2054.00000000,-252.30000305,21.10000038,0.00000000,1.49414062,214.96398926); //object(vgsbikeschl02) (158)
CreateObject(8229,2074.39990234,-244.00000000,9.80000019,0.00000000,0.98876953,188.45947266); //object(vgsbikeschl02) (159)
CreateObject(8229,2074.39990234,-244.00000000,13.69999981,0.00000000,0.98876953,188.45947266); //object(vgsbikeschl02) (160)
CreateObject(8229,2074.39990234,-244.00000000,17.50000000,0.00000000,0.98876953,188.45947266); //object(vgsbikeschl02) (161)
CreateObject(8229,2074.39990234,-244.00000000,21.29999924,0.00000000,0.98876953,188.45947266); //object(vgsbikeschl02) (162)
CreateObject(8229,2126.50000000,207.10000610,2.70000005,0.00000000,0.00000000,24.47998047); //object(vgsbikeschl02) (163)
CreateObject(8229,2106.00000000,199.00000000,2.70000005,0.00000000,0.00000000,18.47753906); //object(vgsbikeschl02) (164)
CreateObject(8229,2095.60009766,186.10000610,2.70000005,0.00000000,0.00000000,72.47351074); //object(vgsbikeschl02) (165)
CreateObject(8229,2098.19995117,166.30000305,2.70000005,0.00000000,0.00000000,122.47131348); //object(vgsbikeschl02) (166)
CreateObject(8229,2105.80004883,146.19999695,2.70000005,0.00000000,0.00000000,98.47009277); //object(vgsbikeschl02) (167)
CreateObject(8229,2108.00000000,124.19999695,2.70000005,0.00000000,0.00000000,92.46496582); //object(vgsbikeschl02) (168)
CreateObject(8229,2108.00000000,124.19999695,6.50000000,0.00000000,0.00000000,92.46093750); //object(vgsbikeschl02) (169)
CreateObject(8229,2108.00000000,124.19999695,10.30000019,0.00000000,0.00000000,92.46093750); //object(vgsbikeschl02) (170)
CreateObject(8229,2108.00000000,124.19999695,13.89999962,0.00000000,0.00000000,92.46093750); //object(vgsbikeschl02) (171)
CreateObject(8229,2108.00000000,124.19999695,17.70000076,0.00000000,0.00000000,92.46093750); //object(vgsbikeschl02) (172)
CreateObject(8229,2105.80004883,146.19999695,6.40000010,0.00000000,0.00000000,98.46496582); //object(vgsbikeschl02) (173)
CreateObject(8229,2105.80004883,146.19999695,10.10000038,0.00000000,0.00000000,98.46496582); //object(vgsbikeschl02) (174)
CreateObject(8229,2105.80004883,146.19999695,13.80000019,0.00000000,0.00000000,98.46496582); //object(vgsbikeschl02) (175)
CreateObject(8229,2105.80004883,146.19999695,17.60000038,0.00000000,0.00000000,98.46496582); //object(vgsbikeschl02) (176)
CreateObject(8229,2098.19995117,166.30000305,6.50000000,0.00000000,0.00000000,122.47009277); //object(vgsbikeschl02) (177)
CreateObject(8229,2098.19995117,166.30000305,10.19999981,0.00000000,0.00000000,122.47009277); //object(vgsbikeschl02) (178)
CreateObject(8229,2098.19995117,166.30000305,13.89999962,0.00000000,0.00000000,122.47009277); //object(vgsbikeschl02) (179)
CreateObject(8229,2098.19995117,166.30000305,17.70000076,0.00000000,0.00000000,122.47009277); //object(vgsbikeschl02) (180)
CreateObject(8229,2095.60009766,186.10000610,6.50000000,0.00000000,0.00000000,72.47131348); //object(vgsbikeschl02) (181)
CreateObject(8229,2095.60009766,186.10000610,10.30000019,0.00000000,0.00000000,72.47131348); //object(vgsbikeschl02) (182)
CreateObject(8229,2095.60009766,186.10000610,14.10000038,0.00000000,0.00000000,72.47131348); //object(vgsbikeschl02) (183)
CreateObject(8229,2095.60009766,186.10000610,17.89999962,0.00000000,0.00000000,72.47131348); //object(vgsbikeschl02) (184)
CreateObject(8229,2106.00000000,199.00000000,6.50000000,0.00000000,0.00000000,18.47351074); //object(vgsbikeschl02) (185)
CreateObject(8229,2106.00000000,199.00000000,10.30000019,0.00000000,0.00000000,18.47351074); //object(vgsbikeschl02) (186)
CreateObject(8229,2106.00000000,199.00000000,14.10000038,0.00000000,0.00000000,18.47351074); //object(vgsbikeschl02) (187)
CreateObject(8229,2106.00000000,199.00000000,17.89999962,0.00000000,0.00000000,18.47351074); //object(vgsbikeschl02) (188)
CreateObject(8229,2126.50000000,207.10000610,6.40000010,0.00000000,0.00000000,24.47753906); //object(vgsbikeschl02) (190)
CreateObject(8229,2126.50000000,207.10000610,10.10000038,0.00000000,0.00000000,24.47753906); //object(vgsbikeschl02) (191)
CreateObject(8229,2126.50000000,207.10000610,13.89999962,0.00000000,0.00000000,24.47753906); //object(vgsbikeschl02) (192)
CreateObject(8229,2126.50000000,207.10000610,17.70000076,0.00000000,0.00000000,24.47753906); //object(vgsbikeschl02) (193)
CreateObject(8229,2147.10009766,208.30000305,2.70000005,0.00000000,0.00000000,342.47753906); //object(vgsbikeschl02) (194)
CreateObject(8229,2168.19995117,201.69999695,2.70000005,0.00000000,0.00000000,342.47680664); //object(vgsbikeschl02) (195)
CreateObject(8229,2189.39990234,195.19999695,2.70000005,0.00000000,0.00000000,342.47680664); //object(vgsbikeschl02) (196)
CreateObject(8229,2189.39990234,195.19999695,6.50000000,0.00000000,0.00000000,342.47680664); //object(vgsbikeschl02) (197)
CreateObject(8229,2189.39990234,195.19999695,10.30000019,0.00000000,0.00000000,342.47680664); //object(vgsbikeschl02) (198)
CreateObject(8229,2189.39990234,195.19999695,14.10000038,0.00000000,0.00000000,342.47680664); //object(vgsbikeschl02) (199)
CreateObject(8229,2189.39990234,195.19999695,17.79999924,0.00000000,0.00000000,342.47680664); //object(vgsbikeschl02) (200)
CreateObject(8229,2168.19995117,201.69999695,6.50000000,0.00000000,0.00000000,342.47680664); //object(vgsbikeschl02) (201)
CreateObject(8229,2168.19995117,201.69999695,10.30000019,0.00000000,0.00000000,342.47680664); //object(vgsbikeschl02) (202)
CreateObject(8229,2168.19995117,201.69999695,14.10000038,0.00000000,0.00000000,342.47680664); //object(vgsbikeschl02) (203)
CreateObject(8229,2168.19995117,201.69999695,17.89999962,0.00000000,0.00000000,342.47680664); //object(vgsbikeschl02) (204)
CreateObject(8229,2168.19921875,201.69921875,17.89999962,0.00000000,0.00000000,342.47680664); //object(vgsbikeschl02) (205)
CreateObject(8229,2147.10009766,208.30000305,6.50000000,0.00000000,0.00000000,342.47680664); //object(vgsbikeschl02) (206)
CreateObject(8229,2147.10009766,208.30000305,10.30000019,0.00000000,0.00000000,342.47680664); //object(vgsbikeschl02) (207)
CreateObject(8229,2147.10009766,208.30000305,14.00000000,0.00000000,0.00000000,342.47680664); //object(vgsbikeschl02) (208)
CreateObject(8229,2147.10009766,208.30000305,17.79999924,0.00000000,0.00000000,342.47680664); //object(vgsbikeschl02) (209)
CreateObject(8229,2147.10009766,208.30000305,-0.89999998,0.00000000,0.00000000,342.47680664); //object(vgsbikeschl02) (210)
CreateObject(8229,2147.10009766,208.30000305,-4.69999981,0.00000000,0.00000000,342.47680664); //object(vgsbikeschl02) (211)
CreateObject(8229,2168.19995117,201.69999695,-1.00000000,0.00000000,0.00000000,342.47680664); //object(vgsbikeschl02) (213)
CreateObject(8229,2168.19995117,201.69999695,-4.59999990,0.00000000,0.00000000,342.47680664); //object(vgsbikeschl02) (214)
CreateObject(8229,2168.19995117,201.69999695,-8.50000000,0.00000000,0.00000000,342.47680664); //object(vgsbikeschl02) (215)
CreateObject(8229,2189.39990234,195.19999695,-0.89999998,0.00000000,0.00000000,342.47680664); //object(vgsbikeschl02) (216)
CreateObject(8229,2189.39990234,195.19999695,-4.50000000,0.00000000,0.00000000,342.47680664); //object(vgsbikeschl02) (217)
CreateObject(8229,2189.39990234,195.19999695,-8.19999981,0.00000000,0.00000000,342.47680664); //object(vgsbikeschl02) (218)
CreateObject(8229,2189.39990234,195.19999695,-11.80000019,0.00000000,0.00000000,342.47680664); //object(vgsbikeschl02) (219)
CreateObject(17068,2123.69995117,173.10000610,0.60000002,356.25018311,359.49896240,73.96722412); //object(xjetty01) (1)
CreateObject(17068,2144.60009766,167.00000000,0.69999999,2.99789429,359.49502563,74.02496338); //object(xjetty01) (2)
CreateObject(5520,2102.19995117,182.39999390,5.50000000,0.00000000,0.00000000,73.75003052); //object(bdupshouse_lae) (1)
CreateObject(2929,2119.00000000,203.50000000,3.09999990,0.00000000,0.00000000,20.00000000); //object(a51_blastdoorl) (1)
CreateObject(2929,2115.10009766,202.10000610,3.09999990,0.00000000,0.00000000,18.49511719); //object(a51_blastdoorl) (2)
CreateObject(3279,2115.89990234,187.89999390,-0.10000000,0.00000000,0.00000000,74.00000000); //object(a51_spottower) (2)
CreateObject(5520,1906.59997559,-253.60000610,6.80000019,0.00000000,0.00000000,130.99572754); //object(bdupshouse_lae) (2)
CreateObject(8229,1909.80004883,-237.39999390,2.90000010,0.00000000,0.00000000,127.49069214); //object(vgsbikeschl02) (220)
CreateObject(8229,1925.40002441,-252.89999390,2.90000010,0.00000000,0.75000000,143.23538208); //object(vgsbikeschl02) (221)
CreateObject(8229,1925.40002441,-252.89999390,6.69999981,0.00000000,0.74707031,143.23425293); //object(vgsbikeschl02) (222)
CreateObject(8229,1925.40002441,-252.89999390,18.10000038,0.00000000,0.74707031,143.23425293); //object(vgsbikeschl02) (225)
CreateObject(8229,1909.80004883,-237.39999390,6.69999981,0.00000000,0.00000000,127.48535156); //object(vgsbikeschl02) (226)
CreateObject(8229,1909.80004883,-237.39999390,18.00000000,0.00000000,0.00000000,127.48535156); //object(vgsbikeschl02) (229)
CreateObject(8229,1932.19995117,-257.89999390,7.50000000,359.99890137,90.24707031,142.98406982); //object(vgsbikeschl02) (230)
CreateObject(8229,1929.09997559,-255.50000000,7.50000000,359.99450684,90.24169922,142.98156738); //object(vgsbikeschl02) (231)
CreateObject(8229,1926.00000000,-253.30000305,7.50000000,359.99450684,90.24169922,142.98156738); //object(vgsbikeschl02) (232)
CreateObject(3279,2032.59997559,-254.30000305,1.50000000,0.00000000,0.00000000,0.00000000); //object(a51_spottower) (3)
CreateObject(3279,1997.90002441,-260.70001221,1.39999998,0.00000000,0.00000000,0.00000000); //object(a51_spottower) (4)
CreateObject(3279,1959.90002441,-265.20001221,1.29999995,0.00000000,0.00000000,0.00000000); //object(a51_spottower) (5)
CreateObject(17068,1977.40002441,-253.10000610,0.80000001,0.24801636,359.49569702,172.00067139); //object(xjetty01) (3)
CreateObject(17068,1980.50000000,-231.39999390,0.80000001,0.24719238,359.49462891,171.99645996); //object(xjetty01) (4)
CreateObject(17068,2020.19995117,-242.19999695,0.80000001,0.24719238,359.49462891,171.99645996); //object(xjetty01) (5)
CreateObject(17068,2023.09997559,-220.39999390,0.80000001,0.24719238,359.49462891,171.99645996); //object(xjetty01) (6)
CreateObject(3092,2123.89990234,-90.09999847,1.20000005,84.24990845,180.00000000,182.00000000); //object(dead_tied_cop) (1)
CreateObject(3092,2119.19995117,-92.50000000,1.50000000,84.24865723,179.99450684,181.99951172); //object(dead_tied_cop) (2)
CreateObject(3092,2121.89990234,-91.90000153,1.39999998,84.24865723,179.99450684,181.99951172); //object(dead_tied_cop) (3)
CreateObject(3092,2121.89990234,-89.59999847,1.39999998,84.24865723,179.99450684,181.99951172); //object(dead_tied_cop) (4)
CreateObject(3092,2133.39990234,-84.90000153,4.30000019,0.00000000,0.00000000,101.99993896); //object(dead_tied_cop) (5)
CreateObject(3092,2134.00000000,-86.50000000,4.30000019,0.00000000,0.00000000,101.99707031); //object(dead_tied_cop) (6)
CreateObject(3092,2132.60009766,-82.69999695,4.30000019,0.00000000,0.00000000,101.99707031); //object(dead_tied_cop) (7)
CreateObject(3092,2132.59960938,-82.69921875,4.30000019,0.00000000,0.00000000,101.99707031); //object(dead_tied_cop) (8)
//---------------------------///Mappolás Vége///------------------------//
//----------------------------//Kocsik//--------------------------//
AddStaticVehicle(595,1983.00000000,-248.30000305,0.00000000,352.00000000,112,95); //Launch
AddStaticVehicle(595,1973.50000000,-246.60000610,0.00000000,351.99645996,112,95); //Launch
AddStaticVehicle(595,1975.69995117,-229.39999390,0.00000000,351.99645996,112,95); //Launch
AddStaticVehicle(595,1986.80004883,-231.50000000,0.00000000,351.99645996,112,95); //Launch
AddStaticVehicle(595,2018.50000000,-216.89999390,0.00000000,351.99645996,112,95); //Launch
AddStaticVehicle(595,2028.69995117,-217.19999695,0.00000000,351.99645996,112,95); //Launch
AddStaticVehicle(595,2026.40002441,-236.69999695,0.00000000,351.99645996,112,95); //Launch
AddStaticVehicle(595,2015.09997559,-236.39999390,0.00000000,351.99645996,112,95); //Launch
AddStaticVehicle(595,2116.39990234,140.00000000,0.00000000,185.99645996,112,95); //Launch
AddStaticVehicle(595,2116.69995117,155.80000305,0.00000000,173.99304199,112,95); //Launch
AddStaticVehicle(595,2124.19995117,166.50000000,0.00000000,251.99047852,112,95); //Launch
AddStaticVehicle(595,2128.30004883,177.80000305,0.00000000,251.98791504,112,95); //Launch
AddStaticVehicle(595,2146.80004883,172.50000000,0.00000000,257.98791504,112,95); //Launch
AddStaticVehicle(595,2143.89990234,161.69999695,0.00000000,257.98645020,112,95); //Launch
AddStaticVehicle(430,2121.89990234,-77.19999695,-0.10000000,302.00000000,-1,1); //Predator
AddStaticVehicle(598,2127.30004883,-93.19999695,0.89999998,70.78900146,-1,1); //Police Car (LVPD)
AddStaticVehicle(598,2128.80004883,-85.69999695,2.09999990,64.98052979,-1,-1); //Police Car (LVPD)
//--------------------------//Kocsik Vége//---------------------------//
return 1;
}
public OnGameModeExit()
{
        return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
switch(classid)
{
case 0:
{
gTeam[playerid] = TEAM_GANGSTER;
GameTextForPlayer(playerid,\"~r~~h~GANGSTER Csapat\",2500,6);
SetPlayerPos(playerid,1903.6173,-243.0648,3.6594);//itt tudod megváltoztani a csapat spawn heylét !
SetPlayerCameraPos(playerid,-1.6637,-250.2604,5.4297);//Kamera nézet a spawn kor
SetPlayerCameraLookAt(playerid,1903.6173,-243.0648,3.6594);//Kamera nézet a spawn kor
SetPlayerFacingAngle(playerid,182.8305);
}
case 1:
{
gTeam[playerid] = TEAM_MAFFIA;
GameTextForPlayer(playerid,\"~b~~h~Maffia Csapat\",2500,6);
SetPlayerPos(playerid,2109.3953,190.6198,2.3594);//itt tudod megváltoztani a csapat spawn heylét !
SetPlayerCameraPos(playerid,255.6956,86.2929,1002.4453);//Kamera nézet a spawn kor
SetPlayerCameraLookAt(playerid,2109.3953,190.6198,2.3594);//Kamera nézet a spawn kor
SetPlayerFacingAngle(playerid,83.0623);
}
}
return 1;
}
public OnPlayerConnect(playerid)
{
new string[160];
new nev[MAX_PLAYER_NAME];
GetPlayerName(playerid,nev,sizeof(nev));
format(string,160,\"%s csatlakozott a szerverre\",nev);
SendClientMessageToAll(-8,string);
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
new name[MAX_PLAYER_NAME];
new sendername[MAX_PLAYER_NAME];
new str[256];
GetPlayerName(playerid, name, sizeof(name));
GetPlayerName(playerid, sendername, sizeof(sendername));
new PlayerName[MAX_PLAYER_NAME];
if(reason == 0) {
GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
format(str, sizeof(str), \"%s kilépett (Idõtúllépés)\", PlayerName);
SendClientMessageToAll(COLOR_ORANGE, str);
}
if(reason == 1) {
GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
format(str, sizeof(str), \"%s kilépett(Kilépés)\", PlayerName);
SendClientMessageToAll(COLOR_ORANGE, str);
}
if(reason == 2) {
GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
format(str, sizeof(str), \"%s kilépett(Kick/Ban)\", PlayerName);
SendClientMessageToAll(COLOR_ORANGE, str);
}
return 1;
}
public OnPlayerSpawn(playerid)
{
if(gTeam[playerid] == TEAM_GANGSTER)
{
SetPlayerColor(playerid,COLOR_RED);
SetPlayerPos(playerid,1903.6173,-243.0648,3.6594);
GivePlayerWeapon(playerid,31,500);
GivePlayerWeapon(playerid,32,500);
}
if(gTeam[playerid] == TEAM_MAFFIA)
{
SetPlayerColor(playerid,COLOR_BLUE);
SetPlayerPos(playerid,2109.3953,190.6198,2.3594);
GivePlayerWeapon(playerid,31,500);
GivePlayerWeapon(playerid,32,500);
}
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
    GivePlayerMoney(killerid, 100);
    SetPlayerScore(killerid, GetPlayerScore(killerid) +1);
    SendDeathMessage(killerid, playerid, reason);
    return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
        return 1;
}
public OnVehicleSpawn(vehicleid)
{
        return 1;
}
public OnVehicleDeath(vehicleid, killerid)
{
        return 1;
}
public OnPlayerText(playerid, text[])
{
        return 1;
}
public OnPlayerCommandText(playerid, cmdtext[])
{
        return 1;
}
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
        return 1;
}
public OnPlayerExitVehicle(playerid, vehicleid)
{
        return 1;
}
public OnPlayerStateChange(playerid, newstate, oldstate)
{
        return 1;
}
CMD:help(playerid)
{
SendClientMessageToAll(0x008000FF, \"A mód fejlesztés alatt van !\");
return 1;
}
public OnPlayerEnterCheckpoint(playerid)
{
        return 1;
}
public OnPlayerLeaveCheckpoint(playerid)
{
        return 1;
}
public OnPlayerEnterRaceCheckpoint(playerid)
{
        return 1;
}
public OnPlayerLeaveRaceCheckpoint(playerid)
{
        return 1;
}
public OnRconCommand(cmd[])
{
        return 1;
}
public OnPlayerRequestSpawn(playerid)
{
        return 1;
}
public OnObjectMoved(objectid)
{
        return 1;
}
public OnPlayerObjectMoved(playerid, objectid)
{
        return 1;
}
public OnPlayerPickUpPickup(playerid, pickupid)
{
        return 1;
}
public OnVehicleMod(playerid, vehicleid, componentid)
{
        return 1;
}
public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
{
        return 1;
}
public OnVehicleRespray(playerid, vehicleid, color1, color2)
{
        return 1;
}
public OnPlayerSelectedMenuRow(playerid, row)
{
        return 1;
}
public OnPlayerExitedMenu(playerid)
{
        return 1;
}
public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
{
        return 1;
}
public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
{
        return 1;
}
public OnRconLoginAttempt(ip[], password[], success)
{
        return 1;
}
public OnPlayerUpdate(playerid)
{
        return 1;
}
public OnPlayerStreamIn(playerid, forplayerid)
{
        return 1;
}
public OnPlayerStreamOut(playerid, forplayerid)
{
        return 1;
}
public OnVehicleStreamIn(vehicleid, forplayerid)
{
        return 1;
}
public OnVehicleStreamOut(vehicleid, forplayerid)
{
        return 1;
}
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
return 1;
}

 
De még így is van benne 1 warning,csak azzal nem tudtam mit kezdeni,de attól még megy a mód!

347
SA-MP: Szerverfejlesztés / Drift
« Dátum: 2012. április 22. - 13:46:38 »
Nem ártott volna izgalmasabbá tenni a mappot,mert ez így nagyon alap!

348
SA-MP: Szerverfejlesztés / LP Mentõs Állomás
« Dátum: 2012. április 22. - 13:42:15 »
1. Kicsi
2. Belülrõl ki van mappolva?
Ha igen tegyél fel képet!Ha meg nem,nem ártana.....

349
Készülõ munkák / Filterscript: Fizikus frakció
« Dátum: 2012. április 22. - 13:29:26 »
Bõvítettem,nézzétek meg! :D

350
Segítségkérés / Strtok
« Dátum: 2012. április 22. - 12:49:38 »
Köszi!Igaz, tényleg :D Nem vettem észre,köszi!
 
Idézetet írta: TengeriMalac date=1334995298\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"20451\" data-ipsquote-contentclass=\"forums_Topic
Megjegyzés: Ajánlom az sscanf include / plugin használatát, hozzá a ZCMD parancsfeldolgozót
 
Igen, én is úgy szoktam scriptelni,csak az én házi teszt szerveremen nem mûködik soha!

351
Segítségkérés / Strtok
« Dátum: 2012. április 20. - 21:25:13 »
Sziasztok!
Nem sûrûn szoktam segítséget kérni,de igazán nagy bajban vagyok...
A készülõ fizikus frakcióm nem ment zcmdben, ezért át kell írnom strcmp-re, amihez strtokot használok...
Nem nagyon értem, ma kezdtem el tanulni, és jó leírást nem is találtam rá...
Kérem,hogy valaki javítsa ki nekem ezt:
 
public OnPlayerCommandText(playerid, cmdtext[])
{
new idx;
new cmd[256];
new params[128];
params = strtok(cmdtext, idx);
cmd = strtok(cmdtext, idx);
if(strcmp(cmd, \"/fizikusad\", true) == 0) {
{
     if(IsPlayerAdmin(playerid))
     {
     
new PID, name[MAX_PLAYER_NAME], rang;
if(strln(params)) return SendClientMessage(playerid, 0xFF0000AA, \"Használat /fizikusad <ID/Játékos név> <Rang>\");
        if(PID == INVALID_PLAYER_ID)  return SendClientMessage(playerid, 0xFF0000AA, \"Rossz ID/Név\");
        if(playerid == PID)  return SendClientMessage(playerid, COLOR_RED, \"Magadnak nem adhatsz fizikus jogot!\");
        if(rang < 0 || rang > 7) return SendClientMessage(playerid, COLOR_RED, \"A Rang csak 1-7 között lehet!\");
        
        GetPlayerName(PID, name, MAX_PLAYER_NAME);
        
        format(rangfile, sizeof(rangfile), \"/fizrang/%s.ini\", name);
        if(!dini_Exists(rangfile))
        {
            dini_Create(rangfile);
            dini_IntSet(rangfile, \"Rang\", rang);
}
        
SetPVarInt(PID, \"Fizikus\", Munka_Fizikus);
SendClientMessage(PID, blue, \"Egy Admin kinevezett fizikusnak!\");
     }
     return 1;
}
if(strcmp(cmd, \"/feltalal\", true) == 0) {
{
    if(strln(params)) return SendClientMessage(playerid, COLOR_RED, \"HIBA:Használat: /feltalal <Név>\");
   
    GetPlayerName(playerid, neve, MAX_PLAYER_NAME);
format(Str, sizeof(Str), \"%s Fizikus feltalálta a/az %s-t!\", neve, feltalalt, Str);
    SendClientMessageToAll(COLOR_GREEN, Str);
    GivePlayerMoney(playerid, 2550000);
        return 1;
}
 
if(strcmp(cmd, \"/fizikusnaktanulok\", true) == 0) {
{
SendClientMessage(playerid, COLOR_BLUE, \"Felvettek a Tudomány Egyetemre!\");
return 1;
}
if(strcmp(cmd, \"/vizsgaz\", true) == 0) {
{
SendClientMessage(playerid, COLOR_RED, \"Szólj egy Adminnak hogy vizsgázni szeretnél!\");
SendClientMessage(playerid, COLOR_RED, \"((Fizikus rangot fog adni,ha levizsgáztál!))\");
return 1;
}
if(strcmp(cmd, \"/tesztkerdesek\", true) == 0) {
{
GivePlayerMoney(playerid, -50000);
SendClientMessage(playerid, COLOR_GREEN, \"Kérdések:\");
SendClientMessage(playerid, COLOR_GREEN, \"1.Mûveltségi:fizikai/kémiai kérdés:Mi a víz képlete?\");
SendClientMessage(playerid, COLOR_GREEN, \"2.Kirõl nevezték el a Newton mértékegységet?\");
SendClientMessage(playerid, COLOR_GREEN, \"3.Ki a híres példaképe az egyetemnek?\");
SendClientMessage(playerid, COLOR_GREEN, \"4.OOC((Szabad e feltalálni dolgot,ha nem elérhetõ az adminisztrátor?))\");
SendClientMessage(playerid, COLOR_GREEN, \"5.Eddig feltalált dolgok?\");
SendClientMessage(playerid, COLOR_GREEN, \"6.Melyik híres fizikussal dolgozhatsz együtt?\");
SendClientMessage(playerid, COLOR_GREEN, \"7.Melyik híres fizikus tanult ezen az egyetemen?\");
SendClientMessage(playerid, COLOR_GREEN, \"8.Mûveltségi kérdés:Ki írta a Toldit?\");
return 1;
}
if(strcmp(cmd, \"/tesztvalaszok\", true) == 0) {
{
GivePlayerMoney(playerid, -150000);
    SendClientMessage(playerid, COLOR_GREEN, \"Válaszok:\");
    SendClientMessage(playerid, COLOR_GREEN, \"1.H2O -> Hidrogén 2 Oxigén\");
    SendClientMessage(playerid, COLOR_GREEN, \"2.Sir Isaac Newton\");
    SendClientMessage(playerid, COLOR_GREEN, \"3.Sir Isaac Newton, Albert Einstein\");
    SendClientMessage(playerid, COLOR_GREEN, \"4. OOC((Nem!))\");
    SendClientMessage(playerid, COLOR_GREEN, \"5.Téglák,épületek,víz,áram,villanyberendezések\");
    SendClientMessage(playerid, COLOR_GREEN, \"6.Sir Isaac Newton\");
    SendClientMessage(playerid, COLOR_GREEN, \"7.Albert Einstein\");
    SendClientMessage(playerid, COLOR_GREEN, \"8.Arany János\");
    return 1;
}
if(strcmp(cmd, \"/fc\", true) == 0) {
{
    new Szoveg[128];
    if(strln(params)) return SendClientMessage(playerid,0x00FF00,\"HIBA: /fc [szöveg]\");
    GetPlayerName(playerid, neve, MAX_PLAYER_NAME);
    format(Szoveg, sizeof(Szoveg), \"*%s mondja(rádió): %s\", neve, Szoveg);
    SendClientMessageToAll(0x33CCFFAA, Szoveg);
    return 1;
}
public OnPlayerSpawn(playerid)
{
new nev[MAX_PLAYER_NAME];
GetPlayerName(playerid, nev, sizeof(nev));
format(rangfile, sizeof(rangfile), \"/fizrang/%s.ini\", nev);
if(dini_Exists(rangfile))
    {
                new rang;
                rang = dini_Int(rangfile, \"Rang\");
                if(rang == 1) return SetPVarInt(playerid, \"Tanuló\", 1 && SetPVarInt(playerid, \"Fizikus\", Munka_Fizikus));
                if(rang == 2) return SetPVarInt(playerid, \"Feltaláló\", 1 && SetPVarInt(playerid, \"Fizikus\", Munka_Fizikus));
                if(rang == 3) return SetPVarInt(playerid, \"Kémikus\", 1 && SetPVarInt(playerid, \"Fizikus\", Munka_Fizikus));
                if(rang == 4) return SetPVarInt(playerid, \"Geológus\", 1 && SetPVarInt(playerid, \"Fizikus\", Munka_Fizikus));
                if(rang == 5) return SetPVarInt(playerid, \"Biológus\", 1 && SetPVarInt(playerid, \"Fizikus\", Munka_Fizikus));
                if(rang == 6) return SetPVarInt(playerid, \"AlbertEinstein\", 1 && SetPVarInt(playerid, \"Fizikus\", Munka_Fizikus));
                if(rang == 7) return SetPVarInt(playerid, \"SirIsaacNewton\", 1 && SetPVarInt(playerid, \"Fizikus\", Munka_Fizikus));
}
else
{
                SetPVarInt(playerid, \"Fizikus\", Munka_Nincs);
}
return 1;
}

 
Ha lehet leírást is linkeljetek!Köszi!

352
SA-MP: Szerverfejlesztés / "Parasztház"
« Dátum: 2012. április 20. - 19:52:42 »
Végül is nem rossz!Megy a +!

353
SA-MP: Szerverfejlesztés / VIP rendszer! - RELOAD
« Dátum: 2012. április 20. - 19:31:40 »
Jó lett,grat!

354
SA-MP: Szerverfejlesztés / ClickPlayer Tele
« Dátum: 2012. április 20. - 19:27:20 »
Jól néz ki!Ment a +!
Idézetet írta: Gabor.. date=1334859299\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"20401\" data-ipsquote-contentclass=\"forums_Topic
Hogy ez még nem jutott eszembe. :D
 
Valamiért nem nagyon csodálom :D

355
Tehát felszednél egy scriptert,akinek pusztán egy fõadmint adsz a szenvedéséért,és munkájáért,valamint mappert akire dettó ugyanez igaz....
Amúgy én nem értem,hogy miért admin joggal dobálóztok!Úgy õszintén!
Dolgozik nektek a scripter/mapper , azt még dobtok neki munkát!
Ez szerintem nem hála! Mivel az adminság komoly munka,feladat!
Jobb a rendes playernek...Admint fölidegesítik,és pár (elnézést) beképzelt ember
aki nagy Janinak hiszi magát, az miatt szenvedni fog mert kiadta neki az admin a büntetését!
Tehát én adminért nem nagyon csinálnék ilyeneket... Na mindegy..
Boccs,hogy épp rád osztottam ki ezt a sorozatot,de most telt be nekem a pohár...
Szerintem,ha átgondoljátok amit leírtam megértitek!
Köszönöm!

356
Segítségkérés / Hogy oldjam meg?
« Dátum: 2012. április 19. - 19:45:44 »
PVar -ral egyszerûbb!
Tehát én is azt javaslom!

357
Segítségkérés / Parancsok...
« Dátum: 2012. április 19. - 19:45:06 »
Másold be a pawn kódot!

358
SA-MP: Szerverfejlesztés / Sport csarnok.v1.0
« Dátum: 2012. április 19. - 19:39:55 »
Jó lett!Grat!Ment a +!

359
SA-MP: Szerverfejlesztés / Ls Island
« Dátum: 2012. április 19. - 19:34:57 »
Nah ez tök jó lett!
Nekem nagyon tetszik!
Grat hozzá!
További jó munkákat, és sok sikert kívánok!

360
SA-MP: Szerverfejlesztés / Rezidencia
« Dátum: 2012. április 19. - 19:30:46 »
Jó lett, grat! Megy a +!

Oldalak: 1 ... 22 23 [24] 25 26 ... 31
SimplePortal 2.3.7 © 2008-2024, SimplePortal