| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 7,872
» Latest member: xMarkGx
» Forum threads: 2,382
» Forum posts: 12,286
Full Statistics
|
| Online Users |
There are currently 406 online users. » 1 Member(s) | 402 Guest(s) Bing, Google, Applebot
|
| Latest Threads |
GameText styles in open.m...
Forum: Pawn Scripting
Last Post: Kar
14 minutes ago
» Replies: 3
» Views: 1,260
|
Asking something
Forum: General Discussions
Last Post: ALE11
Yesterday, 03:49 PM
» Replies: 0
» Views: 8
|
PROJECT: LOS ANGELES — TH...
Forum: Advertisements
Last Post: DevonH
2026-01-18, 07:01 PM
» Replies: 11
» Views: 1,178
|
After School Roleplay - L...
Forum: Advertisements
Last Post: cosminupgaming
2026-01-18, 05:50 PM
» Replies: 10
» Views: 813
|
Las Venturas Gang Wars - ...
Forum: Advertisements
Last Post: lvgwgta
2026-01-17, 08:36 PM
» Replies: 0
» Views: 39
|
Can't even view list of s...
Forum: General Discussions
Last Post: thomasgolden
2026-01-16, 04:32 AM
» Replies: 0
» Views: 59
|
Proyecto SA-MP Medieval: ...
Forum: Discusi?n GTA SA Multijugador
Last Post: harkonstraus0219
2026-01-16, 03:15 AM
» Replies: 0
» Views: 51
|
[Comunidade] Pawn Hub
Forum: Portuguese/Portugu?s
Last Post: Crazy_ArKzX
2026-01-13, 06:26 PM
» Replies: 0
» Views: 61
|
The size of the output am...
Forum: Questions and Suggestions
Last Post: wartacho
2026-01-11, 11:56 AM
» Replies: 1
» Views: 246
|
Why your server's economy...
Forum: General Discussions
Last Post: wartacho
2026-01-11, 11:39 AM
» Replies: 0
» Views: 100
|
|
|
House and,garage |
|
Posted by: Mivco - 2021-04-14, 08:50 PM - Forum: Maps
- No Replies
|
 |
I set in motion a map with garages, houses and a warehouse in one :D :D :D?
![[Image: 1ClA]](https://imgway.cz/s/1ClA)
PHP Code: // OnGameModeInit
CreateObject(7020, 1248.7002, -1616.9004, 9.6, 0.0, 0.0, 0.0, 100); // object (vgnhseing112) (1)
CreateObject(7020, 1192.5996, -1616.9004, 9.6, 0.0, 0.0, 0.0, 100); // object (vgnhseing112) (2)
CreateObject(7020, 1248.7002, -1651.5, 9.6, 0.0, 0.0, 0.0, 100); // object (vgnhseing112) (3)
CreateObject(7020, 1192.5996, -1651.5, 9.6, 0.0, 0.0, 0.0, 100); // object (vgnhseing112) (4)
CreateObject(7020, 1248.7002, -1686.2002, 9.6, 0.0, 0.0, 0.0, 100); // object (vgnhseing112) (5)
CreateObject(7020, 1192.5996, -1686.2002, 9.6, 0.0, 0.0, 0.0, 100); // object (vgnhseing112) (7)
CreateObject(7020, 1248.7002, -1702.2998, 9.6, 0.0, 0.0, 0.0, 100); // object (vgnhseing112) (8)
CreateObject(7020, 1192.7002, -1702.2998, 9.6, 0.0, 0.0, 0.0, 100); // object (vgnhseing112) (9)
CreateObject(7020, 1194.7, -1621.2, 9.6, 0.0, 0.0, 90.0, 100); // object (vgnhseing112) (10)
CreateObject(7020, 1191.5, -1684.8, 9.6, 0.0, 0.0, 90.0, 100); // object (vgnhseing112) (11)
CreateObject(7020, 1193.3, -1642.5, 9.6, 0.0, 0.0, 90.0, 100); // object (vgnhseing112) (12)
CreateObject(8651, 1175.3, -1701.8, 13.6, 0.0, 0.0, 90.0, 100); // object (shbbyhswall07_lvs) (1)
CreateObject(8651, 1195.4, -1702.0, 13.6, 0.0, 0.0, 270.25, 100); // object (shbbyhswall07_lvs) (2)
CreateObject(8651, 1160.4, -1687.4, 13.6, 0.0, 0.0, 0.25, 100); // object (shbbyhswall07_lvs) (3)
CreateObject(8651, 1160.33, -1657.4, 13.6, 0.0, 0.0, 180.0, 100); // object (shbbyhswall07_lvs) (4)
CreateObject(8651, 1160.5, -1627.9, 13.6, 0.0, 0.0, 0.0, 100); // object (shbbyhswall07_lvs) (5)
CreateObject(8651, 1160.5, -1597.9, 13.6, 0.0, 0.0, 180.0, 100); // object (shbbyhswall07_lvs) (6)
CreateObject(8651, 1175.0, -1582.7002, 13.6, 0.0, 0.0, 269.995, 100); // object (shbbyhswall07_lvs) (7)
CreateObject(8651, 1205.0, -1582.7, 13.6, 0.0, 0.0, 89.995, 100); // object (shbbyhswall07_lvs) (8)
CreateObject(8651, 1234.5, -1582.5, 13.6, 0.0, 0.0, 270.495, 100); // object (shbbyhswall07_lvs) (9)
CreateObject(8651, 1264.3, -1582.4, 13.6, 0.0, 0.0, 90.0, 100); // object (shbbyhswall07_lvs) (10)
CreateObject(8651, 1272.3, -1582.6, 13.6, 0.0, 0.0, 270.0, 100); // object (shbbyhswall07_lvs) (12)
CreateObject(8651, 1287.2, -1626.3, 13.6, 0.0, 0.0, 0.0, 100); // object (shbbyhswall07_lvs) (13)
CreateObject(8651, 1287.0, -1685.7, 13.6, 0.0, 0.0, 0.0, 100); // object (shbbyhswall07_lvs) (14)
CreateObject(8651, 1287.0, -1655.7, 13.6, 0.0, 0.0, 180.0, 100); // object (shbbyhswall07_lvs) (15)
CreateObject(8651, 1287.1, -1596.9, 13.6, 0.0, 0.0, 180.5, 100); // object (shbbyhswall07_lvs) (16)
CreateObject(8651, 1256.6, -1701.7, 13.6, 0.0, 0.0, 90.0, 100); // object (shbbyhswall07_lvs) (17)
CreateObject(8651, 1272.3, -1701.9, 13.6, 0.0, 0.0, 270.25, 100); // object (shbbyhswall07_lvs) (18)
CreateObject(714, 1286.2, -1700.8, 12.5, 0.0, 0.0, 0.0, 100); // object (veg_bevtree2) (1)
CreateObject(714, 1286.1, -1582.8, 12.5, 0.0, 0.0, 0.0, 100); // object (veg_bevtree2) (2)
CreateObject(714, 1160.8, -1582.9, 12.0, 0.0, 0.0, 0.0, 100); // object (veg_bevtree2) (3)
CreateObject(714, 1160.7, -1701.2, 12.6, 0.0, 0.0, 0.0, 100); // object (veg_bevtree2) (4)
CreateObject(5848, 1169.2, -1676.7, 18.1, 0.0, 0.0, 80.75, 100); // object (mainblk_LAwN) (1)
CreateObject(17543, 1277.7, -1679.2, 15.0, 0.0, 0.0, 0.0, 100); // object (gangshops5_LAe2) (1)
CreateObject(17543, 1277.7, -1640.9, 15.0, 0.0, 0.0, 0.0, 100); // object (gangshops5_LAe2) (2)
CreateObject(17543, 1277.7, -1602.7, 15.0, 0.0, 0.0, 0.0, 100); // object (gangshops5_LAe2) (3)
CreateObject(3624, 1175.3, -1599.1, 16.7, 0.0, 0.0, 180.0, 100); // object (nwwarhus) (1)
CreateObject(3624, 1175.2, -1627.1, 17.2, 0.0, 0.0, 180.0, 100); // object (nwwarhus) (2)
CreateObject(1116, 1200.75684, -1681.17676, 12.02068, 0.0, 0.0, 0.0, 100); // object (fbb_lr_slv2) (1)
CreateObject(5020, 1269.4, -1587.2, 14.3, 0.0, 0.0, 0.0, 100); // object (mul_LAS) (1)
CreateObject(5020, 1269.3, -1594.9, 14.3, 0.0, 0.0, 0.0, 100); // object (mul_LAS) (2)
CreateObject(5020, 1269.4, -1603.0, 14.3, 0.0, 0.0, 0.0, 100); // object (mul_LAS) (3)
CreateObject(5020, 1269.4, -1610.5, 14.3, 0.0, 0.0, 0.0, 100); // object (mul_LAS) (4)
CreateObject(5020, 1269.4, -1617.9, 14.3, 0.0, 0.0, 0.0, 100); // object (mul_LAS) (5)
CreateObject(5020, 1269.4, -1625.8, 14.3, 0.0, 0.0, 0.0, 100); // object (mul_LAS) (6)
CreateObject(5020, 1269.3, -1633.2, 14.3, 0.0, 0.0, 0.0, 100); // object (mul_LAS) (7)
CreateObject(5020, 1269.4, -1640.9, 14.3, 0.0, 0.0, 0.0, 100); // object (mul_LAS) (8)
CreateObject(5020, 1269.4, -1648.5, 14.3, 0.0, 0.0, 0.0, 100); // object (mul_LAS) (9)
CreateObject(5020, 1269.4, -1655.7, 14.3, 0.0, 0.0, 0.0, 100); // object (mul_LAS) (10)
CreateObject(5020, 1269.4, -1663.9, 14.3, 0.0, 0.0, 0.0, 100); // object (mul_LAS) (11)
CreateObject(5020, 1269.3, -1672.0, 14.3, 0.0, 0.0, 0.0, 100); // object (mul_LAS) (12)
CreateObject(5020, 1269.4, -1679.2, 14.3, 0.0, 0.0, 0.0, 100); // object (mul_LAS) (13)
CreateObject(5020, 1269.4, -1687.0, 14.3, 0.0, 0.0, 0.0, 100); // object (mul_LAS) (14)
CreateObject(5020, 1269.4, -1694.2, 14.3, 0.0, 0.0, 0.0, 100); // object (mul_LAS) (15)
CreateObject(8640, 1225.8, -1699.9, 18.4, 0.0, 0.0, 270.0, 100); // object (chnatwnmll02_lvs) (1)
CreateObject(3311, 1241.2, -1594.9, 15.49, 0.0, 0.0, 90.0, 100); // object (sw_woodhaus01a) (1)
CreateObject(3307, 1240.4, -1619.2, 14.0, 0.0, 0.0, 359.995, 100); // object (swburbhaus01) (1)
CreateObject(3317, 1235.0, -1644.8, 15.9, 0.0, 0.0, 90.0, 100); // object (sw_bigburb_01) (1)
CreateObject(17033, 1221.4, -1625.2, 12.6, 0.0, 0.0, 52.0, 100); // object (cunt_rockgp2_15) (1)
CreateObject(17033, 1220.8, -1610.5, 12.6, 0.0, 0.0, 51.998, 100); // object (cunt_rockgp2_15) (2)
CreateObject(17033, 1220.8, -1596.3, 12.6, 0.0, 0.0, 51.998, 100); // object (cunt_rockgp2_15) (3)
CreateObject(17033, 1220.9, -1597.1, 12.6, 0.0, 0.0, 237.998, 100); // object (cunt_rockgp2_15) (4)
CreateObject(17033, 1221.2, -1589.9, 12.6, 0.0, 0.0, 228.0, 100); // object (cunt_rockgp2_15) (5)
CreateObject(714, 1215.1, -1657.2, 12.6, 0.0, 0.0, 0.0, 100); // object (veg_bevtree2) (6)
CreateObject(703, 1231.2, -1621.4, 13.7, 0.0, 0.0, 58.0, 100); // object (sm_veg_tree7_big) (1)
CreateObject(673, 1248.6, -1635.7, 12.5, 0.0, 0.0, 0.0, 100); // object (sm_bevhiltree) (1)
CreateObject(846, 1250.4, -1625.1, 13.5, 0.0, 0.0, 0.0, 100); // object (DEAD_TREE_18) (1)
CreateObject(717, 1252.1, -1596.0, 12.5, 0.0, 0.0, 0.0, 100); // object (sm_bevhiltreepv) (1)
CreateObject(1364, 1193.8, -1675.8, 13.3, 0.0, 0.0, 0.0, 100); // object (CJ_BUSH_PROP) (1)
CreateObject(1364, 1199.9, -1675.7, 13.3, 0.0, 0.0, 0.0, 100); // object (CJ_BUSH_PROP) (2)
CreateObject(1364, 1193.4, -1690.2, 13.3, 0.0, 0.0, 180.0, 100); // object (CJ_BUSH_PROP) (3)
CreateObject(1364, 1199.6, -1690.2, 13.3, 0.0, 0.0, 179.995, 100); // object (CJ_BUSH_PROP) (4)
CreateObject(1364, 1192.0, -1678.6, 13.3, 0.0, 0.0, 85.995, 100); // object (CJ_BUSH_PROP) (5)
CreateObject(1597, 1196.5, -1682.7, 15.2, 0.0, 0.0, 0.0, 100); // object (cntrlrsac1) (2)
CreateObject(4003, 1176.7, -1674.4, 20.7, 0.0, 0.0, 272.0, 100); // object (LAcityhallTrans_LAn) (1)
CreateObject(3862, 1222.3, -1660.3, 13.7, 0.0, 0.0, 0.0, 100); // object (marketstall02_SFXRF) (1)
CreateObject(3861, 1227.0, -1660.4, 13.7, 0.0, 0.0, 0.0, 100); // object (marketstall01_SFXRF) (1)
CreateObject(3860, 1231.0, -1660.3, 13.7, 0.0, 0.0, 0.0, 100); // object (marketstall04_SFXRF) (1)
CreateObject(3863, 1235.4, -1660.3, 13.7, 0.0, 0.0, 0.0, 100); // object (marketstall03_SFXRF) (1)
CreateObject(3862, 1239.7, -1660.3, 13.7, 0.0, 0.0, 0.0, 100); // object (marketstall02_SFXRF) (2)
CreateObject(3861, 1244.1, -1660.3, 13.7, 0.0, 0.0, 0.0, 100); // object (marketstall01_SFXRF) (2)
CreateObject(3860, 1248.1, -1660.3, 13.7, 0.0, 0.0, 0.0, 100); // object (marketstall04_SFXRF) (2)
CreateObject(1209, 1209.6, -1701.1, 12.6, 0.0, 0.0, 180.0, 100); // object (vendmach) (1)
CreateObject(956, 1208.2, -1701.1, 13.0, 0.0, 0.0, 180.0, 100); // object (CJ_EXT_CANDY) (1)
CreateObject(955, 1206.8, -1701.1, 13.0, 0.0, 0.0, 180.0, 100); // object (CJ_EXT_SPRUNK) (1)
CreateObject(3035, 1259.8, -1584.0, 13.3, 0.0, 0.0, 0.0, 100); // object (tmp_bin) (1)
CreateObject(3035, 1262.3, -1583.8, 13.3, 0.0, 0.0, 0.0, 100); // object (tmp_bin) (2)
CreateObject(1439, 1264.4, -1583.3, 12.6, 0.0, 0.0, 0.0, 100); // object (DYN_DUMPSTER_1) (1)
CreateObject(1409, 1253.1, -1592.6, 12.6, 0.0, 0.0, 0.0, 100); // object (CJ_Dump1_LOW) (1)
CreateObject(1409, 1253.3, -1616.2, 12.6, 0.0, 0.0, 0.0, 100); // object (CJ_Dump1_LOW) (2)
CreateObject(1409, 1253.1, -1642.3, 12.6, 0.0, 0.0, 0.0, 100); // object (CJ_Dump1_LOW) (3)
CreateObject(1372, 1252.9, -1657.8, 12.6, 0.0, 0.0, 0.0, 100); // object (CJ_Dump2_LOW) (1)
CreateObject(1370, 1250.9, -1657.5, 13.1, 0.0, 0.0, 0.0, 100); // object (CJ_FLAME_Drum) (1)
CreateObject(1358, 1163.3, -1650.3, 13.8, 0.0, 0.0, 0.0, 100); // object (CJ_SKIP_Rubbish) (1)
CreateObject(1365, 1163.7, -1646.7, 13.7, 0.0, 0.0, 180.0, 100); // object (CJ_BIG_SKIP1) (1)
CreateObject(1359, 1201.5, -1688.3, 13.3, 0.0, 0.0, 0.0, 100); // object (CJ_BIN1) (1)
CreateObject(1359, 1191.6, -1688.9, 13.3, 0.0, 0.0, 0.0, 100); // object (CJ_BIN1) (2)
CreateObject(1359, 1197.1, -1676.3, 13.3, 0.0, 0.0, 0.0, 100); // object (CJ_BIN1) (3)
CreateObject(1300, 1202.8, -1676.0, 12.9, 0.0, 0.0, 0.0, 100); // object (bin1) (1)
CreateObject(12957, 1215.0, -1585.6, 13.4, 0.0, 0.0, 300.0, 100); // object (sw_pickupwreck01) (1)
CreateObject(1264, 1264.9, -1583.1, 13.9, 0.0, 0.0, 0.0, 100); // object (BlackBag1) (1)
CreateObject(1264, 1253.1, -1593.2, 13.0, 0.0, 0.0, 0.0, 100); // object (BlackBag1) (2)
CreateObject(1558, 1253.3, -1617.5, 13.2, 0.0, 0.0, 0.0, 100); // object (CJ_CARDBRD_PICKUP) (1)
CreateObject(1558, 1253.2, -1618.6, 13.2, 0.0, 0.0, 0.0, 100); // object (CJ_CARDBRD_PICKUP) (2)
CreateObject(1329, 1268.9, -1659.7, 13.0, 0.0, 0.0, 0.0, 100); // object (BinNt13_LA) (1)
CreateObject(1265, 1268.7, -1659.8, 13.9, 0.0, 0.0, 0.0, 100); // object (BlackBag2) (1)
CreateObject(1437, 1268.6, -1606.3, 12.0, 0.0, 0.0, 274.0, 100); // object (DYN_LADDER_2) (1)
CreateObject(8572, 1277.7, -1699.1, 14.8, 0.0, 0.0, 0.0, 100); // object (vgsSstairs02_lvs) (1)
CreateObject(3065, 1227.6, -1661.2, 15.0, 0.0, 0.0, 0.0, 100); // object (BBALL_col) (1)
CreateObject(1218, 1281.7, -1700.8, 13.1, 0.0, 0.0, 0.0, 100); // object (barrel1) (1)
CreateObject(6965, 1230.3, -1677.9, 16.19, 0.0, 0.0, 0.0, 100); // object (venefountain02) (1)
CreateObject(1650, 1221.2, -1661.6, 13.7, 0.0, 0.0, 0.0, 100); // object (petrolcanm) (1)
CreateObject(1582, 1222.2, -1661.7, 13.5, 0.0, 0.0, 0.0, 100); // object (pizzabox) (1)
CreateObject(1344, 1265.4, -1700.8, 13.4, 0.0, 0.0, 182.0, 100); // object (CJ_Dumpster2) (1)
CreateObject(1349, 1268.0, -1700.8, 13.1, 0.0, 0.0, 0.0, 100); // object (CJ_SHTROLLY) (1)
CreateObject(2858, 1234.6, -1660.8, 13.3, 0.0, 0.0, 0.0, 100); // object (gb_kitchtakeway03) (1)
CreateObject(2857, 1236.0, -1660.9, 13.3, 0.0, 0.0, 0.0, 100); // object (gb_kitchtakeway02) (1)
CreateObject(2861, 1247.1, -1660.9, 13.3, 0.0, 0.0, 0.0, 100); // object (gb_foodwrap03) (1)
CreateObject(3460, 1255.4, -1602.6, 16.8, 0.0, 0.0, 276.0, 100); // object (vegaslampost) (1)
CreateObject(3460, 1255.1, -1647.5, 16.4, 0.0, 0.0, 270.0, 100); // object (vegaslampost) (2)
CreateObject(1478, 1247.2, -1594.1, 13.7, 0.0, 0.0, 96.0, 100); // object (DYN_post_box) (1)
CreateObject(1478, 1249.0, -1615.6, 14.0, 0.0, 0.0, 90.0, 100); // object (DYN_post_box) (2)
CreateObject(1478, 1249.1, -1642.7, 13.6, 0.0, 0.0, 0.0, 100); // object (DYN_post_box) (3)
CreateObject(1346, 1178.2, -1656.4, 13.9, 0.0, 0.0, 90.0, 100); // object (CJ_PHONE_KIOSK2) (1)
CreateObject(1257, 1244.9, -1706.3, 13.7, 0.0, 0.0, 90.0, 100); // object (bustopm) (1)
CreateObject(1232, 1238.0, -1669.8, 15.2, 0.0, 0.0, 0.0, 100); // object (Streetlamp1) (1)
CreateObject(1232, 1235.9, -1687.1, 15.2, 0.0, 0.0, 0.0, 100); // object (Streetlamp1) (2)
CreateObject(1232, 1190.8, -1675.6, 15.2, 0.0, 0.0, 0.0, 100); // object (Streetlamp1) (3)
CreateObject(1232, 1203.0, -1674.8, 15.2, 0.0, 0.0, 0.0, 100); // object (Streetlamp1) (4)
CreateObject(1232, 1202.0, -1691.0, 15.2, 0.0, 0.0, 0.0, 100); // object (Streetlamp1) (5)
CreateObject(1232, 1190.8, -1690.5, 15.2, 0.0, 0.0, 0.0, 100); // object (Streetlamp1) (6)
CreateObject(1232, 1221.9, -1684.7, 15.2, 0.0, 0.0, 0.0, 100); // object (Streetlamp1) (7)
CreateObject(1232, 1222.4, -1671.0, 15.2, 0.0, 0.0, 0.0, 100); // object (Streetlamp1) (8)
CreateObject(1216, 1268.8, -1637.0, 13.3, 0.0, 0.0, 270.0, 100); // object (phonebooth1) (1)
CreateObject(1529, 1269.3, -1655.9, 14.4, 0.0, 0.0, 0.0, 100); // object (tag_temple) (1)
CreateObject(1528, 1269.2, -1634.5, 14.3, 0.0, 0.0, 0.0, 100); // object (tag_seville) (1)
CreateObject(1526, 1269.3, -1619.6, 14.6, 0.0, 0.0, 0.0, 100); // object (tag_rifa) (1)
CreateObject(1525, 1269.3, -1604.4, 14.8, 0.0, 0.0, 0.0, 100); // object (tag_kilo) (1)
CreateObject(1490, 1269.3, -1588.6, 14.3, 0.0, 0.0, 0.0, 100); // object (tag_01) (1)
CreateObject(1529, 1269.2, -1673.5, 14.4, 0.0, 0.0, 0.0, 100); // object (tag_temple) (2)
CreateObject(1531, 1269.3, -1688.4, 14.5, 0.0, 0.0, 0.0, 100); // object (tag_azteca) (1)
CreateObject(820, 1203.0, -1681.6, 12.6, 0.0, 0.0, 0.0, 100); // object (genVEG_tallgrass04) (1)
CreateObject(820, 1202.8, -1684.7, 12.6, 0.0, 0.0, 0.0, 100); // object (genVEG_tallgrass04) (2)
CreateObject(820, 1202.4, -1688.4, 12.6, 0.0, 0.0, 0.0, 100); // object (genVEG_tallgrass04) (3)
CreateObject(820, 1203.2, -1691.0, 12.6, 0.0, 0.0, 0.0, 100); // object (genVEG_tallgrass04) (4)
CreateObject(820, 1200.8, -1692.7, 12.6, 0.0, 0.0, 0.0, 100); // object (genVEG_tallgrass04) (5)
CreateObject(820, 1199.0, -1692.8, 12.6, 0.0, 0.0, 0.0, 100); // object (genVEG_tallgrass04) (6)
CreateObject(820, 1196.4, -1692.7, 12.6, 0.0, 0.0, 0.0, 100); // object (genVEG_tallgrass04) (7)
CreateObject(820, 1193.7, -1692.4, 12.6, 0.0, 0.0, 0.0, 100); // object (genVEG_tallgrass04) (8)
CreateObject(820, 1190.9, -1692.2, 12.6, 0.0, 0.0, 0.0, 100); // object (genVEG_tallgrass04) (9)
CreateObject(820, 1190.0, -1690.8, 12.6, 0.0, 0.0, 0.0, 100); // object (genVEG_tallgrass04) (10)
CreateObject(820, 1189.8, -1688.5, 12.6, 0.0, 0.0, 0.0, 100); // object (genVEG_tallgrass04) (11)
CreateObject(820, 1189.7, -1686.0, 12.6, 0.0, 0.0, 0.0, 100); // object (genVEG_tallgrass04) (12)
CreateObject(820, 1189.7, -1682.8, 12.6, 0.0, 0.0, 0.0, 100); // object (genVEG_tallgrass04) (13)
CreateObject(820, 1189.5, -1680.3, 12.6, 0.0, 0.0, 0.0, 100); // object (genVEG_tallgrass04) (14)
CreateObject(820, 1189.8, -1677.5, 12.6, 0.0, 0.0, 0.0, 100); // object (genVEG_tallgrass04) (15)
CreateObject(820, 1190.0, -1674.9, 12.6, 0.0, 0.0, 0.0, 100); // object (genVEG_tallgrass04) (16)
CreateObject(820, 1191.1, -1672.7, 12.6, 0.0, 0.0, 0.0, 100); // object (genVEG_tallgrass04) (17)
CreateObject(820, 1193.7, -1672.4, 12.6, 0.0, 0.0, 0.0, 100); // object (genVEG_tallgrass04) (18)
CreateObject(820, 1195.7, -1672.4, 12.6, 0.0, 0.0, 0.0, 100); // object (genVEG_tallgrass04) (19)
CreateObject(820, 1198.3, -1672.2, 12.6, 0.0, 0.0, 0.0, 100); // object (genVEG_tallgrass04) (20)
CreateObject(820, 1201.4, -1672.4, 12.6, 0.0, 0.0, 0.0, 100); // object (genVEG_tallgrass04) (21)
CreateObject(638, 1230.5, -1688.3, 13.3, 0.0, 0.0, 270.25, 100); // object (kb_planter_bush) (1)
CreateObject(2816, 1239.8, -1661.4, 14.9, 0.0, 0.0, 0.0, 100); // object (gb_bedmags01) (1)
CreateObject(1692, 1167.6, -1685.4, 21.3, 0.0, 0.0, 0.0, 100); // object (roofstuff18) (1)
CreateObject(1692, 1168.3, -1663.0, 21.3, 0.0, 0.0, 0.0, 100); // object (roofstuff18) (2)
CreateObject(1764, 1166.6, -1651.6, 12.6, 0.0, 2.0, 138.0, 100); // object (LOW_COUCH_2) (1)
CreateObject(947, 1215.4, -1639.7, 14.8, 0.0, 0.0, 92.0, 100); // object (bskballhub_lax01) (1)
CreateObject(946, 1215.4, -1648.4, 14.8, 0.0, 0.0, 90.0, 100); // object (bskball_lax) (1)
CreateObject(1337, 1189.6, -1589.5, 13.2, 0.0, 0.0, 0.0, 100); // object (BinNt07_LA) (3)
CreateObject(8292, 1161.1, -1627.2, 15.8, 0.0, 0.0, 145.0, 100); // object (vgsbboardsigns01) (1)
CreateObject(8132, 1278.3, -1626.2, 19.1, 0.0, 0.0, 102.0, 100); // object (vgschurch03_lvs) (1)
CreateObject(1320, 1259.3, -1707.1, 14.0, 0.0, 0.0, 0.0, 100); // object (ws_roadwarning_05) (1)
CreateObject(1321, 1198.6, -1717.4, 14.0, 0.0, 0.0, 180.0, 100); // object (ws_roadwarning_01) (1)
CreateObject(3577, 1183.5, -1641.8, 13.3, 0.0, 0.0, 0.0, 100); // object (DockCrates1_LA) (1)
CreateObject(3576, 1190.7, -1613.0, 14.1, 0.0, 0.0, 0.0, 100); // object (DockCrates2_LA) (1)
CreateObject(3013, 1214.2, -1586.0, 14.3, 0.0, 0.0, 0.0, 100); // object (cr_ammobox) (1)
CreateObject(939, 1185.1, -1609.1, 15.0, 0.0, 0.0, 0.0, 100); // object (CJ_DF_UNIT) (1)
CreateObject(3805, 1177.1, -1639.7, 15.9, 0.0, 0.0, 270.0, 100); // object (sfxref_aircon12) (1)
CreateObject(3805, 1178.3, -1586.6, 15.5, 0.0, 0.0, 92.0, 100); // object (sfxref_aircon12) (2)
CreateObject(3864, 1201.7, -1584.7, 18.7, 0.0, 0.0, 90.0, 100); // object (WS_floodlight) (1)
// OnPlayerConnect
RemoveBuildingForPlayer(playerid, 6102, 1226.9531, -1656.1562, 24.77344, 86.006805); // removeWorldObject (gaz4_LAW) (1)
RemoveBuildingForPlayer(playerid, 6103, 1223.7188, -1616.3203, 19.11719, 74.586517); // removeWorldObject (gaz5_LAW) (1)
RemoveBuildingForPlayer(playerid, 6150, 1170.0781, -1668.5625, 18.92188, 42.64986); // removeWorldObject (gaz7_LAW) (1)
RemoveBuildingForPlayer(playerid, 6106, 1226.9531, -1656.1562, 24.77344, 86.006805); // removeWorldObject (gaz4_LAW_Model) (1)
RemoveBuildingForPlayer(playerid, 6105, 1223.7188, -1616.3203, 19.11719, 74.586517); // removeWorldObject (gaz5_LAW_Model) (1)
RemoveBuildingForPlayer(playerid, 6149, 1170.0781, -1668.5625, 18.92188, 42.64986); // removeWorldObject (gaz7_LAW_Model) (1)
RemoveBuildingForPlayer(playerid, 626, 1259.0443, -1659.8805, 13.4234, 4.4661112); // removeWorldObject (veg_palmkb2) (1)
RemoveBuildingForPlayer(playerid, 626, 1267.8875, -1660.0698, 13.72715, 4.4661112); // removeWorldObject (veg_palmkb2) (2)
RemoveBuildingForPlayer(playerid, 626, 1268.0284, -1643.661, 13.27167, 4.4661112); // removeWorldObject (veg_palmkb2) (3)
RemoveBuildingForPlayer(playerid, 626, 1258.9354, -1643.6602, 13.34154, 4.4661112); // removeWorldObject (veg_palmkb2) (4)
RemoveBuildingForPlayer(playerid, 626, 1256.0734, -1640.7438, 27.18755, 4.4661112); // removeWorldObject (veg_palmkb2) (5)
RemoveBuildingForPlayer(playerid, 620, 1203.6406, -1674.4844, 12.01563, 22.657042); // removeWorldObject (veg_palm04) (1)
RemoveBuildingForPlayer(playerid, 626, 1256.0956, -1633.1426, 27.05246, 4.4661112); // removeWorldObject (veg_palmkb2) (6)
RemoveBuildingForPlayer(playerid, 626, 1244.2032, -1632.7775, 27.25051, 4.4661112); // removeWorldObject (veg_palmkb2) (7)
RemoveBuildingForPlayer(playerid, 626, 1243.7789, -1640.8799, 27.17464, 4.4661112); // removeWorldObject (veg_palmkb2) (8)
RemoveBuildingForPlayer(playerid, 626, 1231.7169, -1633.1057, 27.12648, 4.4661112); // removeWorldObject (veg_palmkb2) (9)
RemoveBuildingForPlayer(playerid, 626, 1231.7594, -1640.5911, 27.0972, 4.4661112); // removeWorldObject (veg_palmkb2) (10)
RemoveBuildingForPlayer(playerid, 626, 1282.9918, -1640.389, 27.29802, 4.4661112); // removeWorldObject (veg_palmkb2) (11)
RemoveBuildingForPlayer(playerid, 626, 1267.7302, -1675.2073, 13.8332, 4.4661112); // removeWorldObject (veg_palmkb2) (12)
RemoveBuildingForPlayer(playerid, 626, 1259.0139, -1675.2545, 13.45974, 4.4661112); // removeWorldObject (veg_palmkb2) (13)
RemoveBuildingForPlayer(playerid, 626, 1219.2848, -1640.8744, 26.75341, 4.4661112); // removeWorldObject (veg_palmkb2) (14)
RemoveBuildingForPlayer(playerid, 626, 1211.7611, -1633.3069, 26.82372, 4.4661112); // removeWorldObject (veg_palmkb2) (15)
RemoveBuildingForPlayer(playerid, 626, 1219.3662, -1633.1477, 26.81094, 4.4661112); // removeWorldObject (veg_palmkb2) (16)
RemoveBuildingForPlayer(playerid, 626, 1208.5122, -1665.1339, 13.61457, 4.4661112); // removeWorldObject (veg_palmkb2) (17)
RemoveBuildingForPlayer(playerid, 1281, 1198.3, -1666.4253, 13.3592, 4.4663153); // removeWorldObject (parktable1) (1)
RemoveBuildingForPlayer(playerid, 1281, 1195.7626, -1661.4191, 13.3592, 4.4663153); // removeWorldObject (parktable1) (2)
RemoveBuildingForPlayer(playerid, 1280, 1201.2375, -1655.7745, 13.54374, 3.6262574); // removeWorldObject (parkbench1) (1)
RemoveBuildingForPlayer(playerid, 1280, 1188.5004, -1655.8947, 13.19971, 3.6262574); // removeWorldObject (parkbench1) (2)
RemoveBuildingForPlayer(playerid, 1281, 1188.3464, -1660.7059, 13.3592, 4.4663153); // removeWorldObject (parktable1) (3)
RemoveBuildingForPlayer(playerid, 1281, 1190.2802, -1667.3289, 13.3592, 4.4663153); // removeWorldObject (parktable1) (4)
RemoveBuildingForPlayer(playerid, 626, 1181.754, -1665.2653, 13.6754, 4.4661112); // removeWorldObject (veg_palmkb2) (18)
RemoveBuildingForPlayer(playerid, 626, 1282.6016, -1619.2609, 27.0683, 4.4661112); // removeWorldObject (veg_palmkb2) (19)
RemoveBuildingForPlayer(playerid, 626, 1282.6066, -1628.4341, 27.02431, 4.4661112); // removeWorldObject (veg_palmkb2) (20)
|
|
|
|
[CMD]Problema de Compilacion |
|
Posted by: XxDarkessxX3388 - 2021-04-13, 01:21 PM - Forum: Programaci?n
- No Replies
|
 |
Hola buenas a todos la comunidad que hable espa?ol, espero me pueda ayudar tengo un problema que al compilar me aparece un error en todas las GM aunque esten arregladas siempre hacen lo mismo y el Sublime tampoco las compila, entonces me preguntaba si me podian ayudar a solucionarlo al compilar dice 1 error el error dice "cmd" y es un include pero no lo encuentro, alguna solucion?
|
|
|
|
| ayuda con a_sampdb |
|
Posted by: Nikolay_Staggs - 2021-04-13, 04:57 AM - Forum: Programaci?n
- Replies (2)
|
 |
Hola amigos estoy haciendo una GameMode desde 0 y estoy haciendo el registro con a_sampdb pero no me guarda los datos solo se crean las Table en la carpeta les paso lo que dise en la carpeta
SQLite format 3 @? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? -?
? ? ?? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? `?tableUSERSUSERSCREATE TABLE `USERS` (`NAME`,`PASS`,`EXP`,`LEVEL_ADMIN`,`SCORE`,`DINERO`)
les paso el GameMode
///_______________________________///
#include <a_samp>
#include <zcmd>
#include <sscanf2>
#define DIALOGO_REGISTRO? ? ? ? ? (1)
#define DIALOG_INGRESO? ? ? ? ? ? (2)
#define DIALOG_REGISTRO_FINALIZADO (3)
#define MAX_PASSWORD_INVALIDA 3
#define BLANCO? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? "{FFFFFF}"
/*ret_memcpy
strtok*/
main()
{
print("\n----------------------------------");
print("? Death Match\n");
print("----------------------------------\n");
}
//_____Enum______//
enum DATA_PLAYER
{
? ? GAME_IDENTIFICADO,
? ? GAME_REGISTRADO,
GAME_EXP,
GAME_ADMIN_LEVEL,
GAME_SCORE,
GAME_MONEY,
GAME_PASS[60]
}
new PLAYER_INFO[MAX_PLAYERS][DATA_PLAYER];
//_________News__________//
new GAME_PASSWORD_INCORRECTA[MAX_PLAYERS];
new DB:Database;
new Float:Spawn_Player[][4] =
{
? ? {1751.1097,-2106.4529,13.5469,183.1979}, // El-Corona - Outside random house
? ? {2652.6418,-1989.9175,13.9988,182.7107}, // Random house in willowfield - near playa de seville and stadium
? ? {2489.5225,-1957.9258,13.5881,2.3440}, // Hotel in willowfield - near cluckin bell
? ? {2689.5203,-1695.9354,10.0517,39.5312}, // Outside stadium - lots of cars
? ? {2770.5393,-1628.3069,12.1775,4.9637}, // South in east beach - north of stadium - carparks nearby
? ? {2807.9282,-1176.8883,25.3805,173.6018}, // North in east beach - near apartments
? ? {2552.5417,-958.0850,82.6345,280.2542}, // Random house north of Las Colinas
? ? {2232.1309,-1159.5679,25.8906,103.2939}, // Jefferson motel
? ? {2388.1003,-1279.8933,25.1291,94.3321}, // House south of pig pen
? ? {2481.1885,-1536.7186,24.1467,273.4944}, // East LS - near clucking bell and car wash
? ? {2495.0720,-1687.5278,13.5150,359.6696}, // Outside CJ's house - lots of cars nearby
? ? {2306.8252,-1675.4340,13.9221,2.6271}, // House in ganton - lots of cars nearby
? ? {2191.8403,-1455.8251,25.5391,267.9925}, // House in south jefferson - lots of cars nearby
? ? {1830.1359,-1092.1849,23.8656,94.0113}, // Mulholland intersection carpark
? ? {2015.3630,-1717.2535,13.5547,93.3655}, // Idlewood house
? ? {1654.7091,-1656.8516,22.5156,177.9729}, // Right next to PD
? ? {1219.0851,-1812.8058,16.5938,190.0045}, // Conference Center
? ? {1508.6849,-1059.0846,25.0625,1.8058}, // Across the street of BANK - lots of cars in intersection carpark
? ? {1421.0819,-885.3383,50.6531,3.6516}, // Outside house in vinewood
? ? {1133.8237,-1272.1558,13.5469,192.4113}, // Near hospital
? ? {1235.2196,-1608.6111,13.5469,181.2655}, // Backalley west of mainstreet
? ? {590.4648,-1252.2269,18.2116,25.0473}, // Outside "BAnk of San Andreas"
? ? {842.5260,-1007.7679,28.4185,213.9953}, // North of Graveyard
? ? {911.9332,-1232.6490,16.9766,5.2999}, // LS Film Studio
? ? {477.6021,-1496.6207,20.4345,266.9252}, // Rodeo Place
? ? {255.4621,-1366.3256,53.1094,312.0852}, // Outside propery in richman
? ? {281.5446,-1261.4562,73.9319,305.0017}, // Another richman property
? ? {790.1918,-839.8533,60.6328,191.9514}, // Mulholland house
? ? {1299.1859,-801.4249,84.1406,269.5274}, // Maddoggs
? ? {1240.3170,-2036.6886,59.9575,276.4659}, // Verdant Bluffs
? ? {2215.5181,-2627.8174,13.5469,273.7786}, // Ocean docks 1
? ? {2509.4346,-2637.6543,13.6453,358.3565}, // Ocean Docks spawn 2
? ? {1435.8024,2662.3647,11.3926,1.1650}, //? Northern train station
? ? {1457.4762,2773.4868,10.8203,272.2754}, //? Northern golf club
? ? {1739.6390,2803.0569,14.2735,285.3929}, //? Northern housing estate 1
? ? {1870.3096,2785.2471,14.2734,42.3102}, //? Northern housing estate 2
? ? {1959.7142,2754.6863,10.8203,181.4731}, //? Northern house 1
? ? {2314.2556,2759.4504,10.8203,93.2711}, //? Northern industrial estate 1
? ? {2216.5674,2715.0334,10.8130,267.6540}, //? Northern industrial estate 2
? ? {2101.4192,2678.7874,10.8130,92.0607}, //? Northern near railway line
? ? {1951.1090,2660.3877,10.8203,180.8461}, //? Northern house 2
? ? {1666.6949,2604.9861,10.8203,179.8495}, //? Northern house 3
? ? {2808.3367,2421.5107,11.0625,136.2060}, //? Northern shopping centre
? ? {2633.3203,2349.7061,10.6719,178.7175}, //? V-Rock
? ? {2606.6348,2161.7490,10.8203,88.7508}, //? South V-Rock
? ? {2616.5286,2100.6226,10.8158,177.7834}, //? North Ammunation 1
? ? {2491.8816,2397.9370,10.8203,266.6003}, //? North carpark 1
? ? {2531.7891,2530.3223,21.8750,91.6686}, //? North carpark 2
? ? {2340.6677,2530.4324,10.8203,177.8630}, //? North Pizza Stack
? ? {2097.6855,2491.3313,14.8390,181.8117}, //? Emerald Isle
? ? {1893.1000,2423.2412,11.1782,269.4385}, //? Souvenir shop
? ? {1698.9330,2241.8320,10.8203,357.8584}, //? Northern casino
? ? {1479.4559,2249.0769,11.0234,306.3790}, //? Baseball stadium 1
? ? {1298.1548,2083.4016,10.8127,256.7034}, //? Baseball stadium 2
? ? {1117.8785,2304.1514,10.8203,81.5490}, //? North carparks
? ? {1108.9878,1705.8639,10.8203,0.6785}, //? Dirtring racing 1
? ? {1423.9780,1034.4188,10.8203,90.9590}, //? Sumo
? ? {1537.4377,752.0641,11.0234,271.6893}, //? Church
? ? {1917.9590,702.6984,11.1328,359.2682}, //? Southern housing estate
? ? {2089.4785,658.0414,11.2707,357.3572}, //? Southern house 1
? ? {2489.8286,928.3251,10.8280,67.2245}, //? Wedding chapel
? ? {2697.4717,856.4916,9.8360,267.0983}, //? Southern construction site
? ? {2845.6104,1288.1444,11.3906,3.6506}, //? Southern train station
? ? {2437.9370,1293.1442,10.8203,86.3830}, //? Wedding chapel (near Pyramid)
? ? {2299.5430,1451.4177,10.8203,269.1287}, //? Carpark (near Pyramid)
? ? {2214.3008,2041.9165,10.8203,268.7626}, //? Central parking lot
? ? {2005.9174,2152.0835,10.8203,270.1372}, //? Central motel
? ? {2222.1042,1837.4220,10.8203,88.6461}, //? Clowns Pocket
? ? {2025.6753,1916.4363,12.3382,272.5852}, //? The Visage
? ? {2087.9902,1516.5336,10.8203,48.9300}, //? Royal Casino
? ? {2172.1624,1398.7496,11.0625,91.3783}, //? Auto Bahn
? ? {2139.1841,987.7975,10.8203,0.2315}, //? Come-a-lot
? ? {1860.9672,1030.2910,10.8203,271.6988}, //? Behind 4 Dragons
? ? {1673.2345,1316.1067,10.8203,177.7294}, //? Airport carpark
? ? {1412.6187,2000.0596,14.7396,271.3568}, //? South baseball stadium houses
? ? {-2723.4639,-314.8138,7.1839,43.5562},? // golf course spawn
? ? {-2694.5344,64.5550,4.3359,95.0190},? // in front of a house
? ? {-2458.2000,134.5419,35.1719,303.9446},? // hotel
? ? {-2796.6589,219.5733,7.1875,88.8288},? // house
? ? {-2706.5261,397.7129,4.3672,179.8611},? // park
? ? {-2866.7683,691.9363,23.4989,286.3060},? // house
? ? {-2764.9543,785.6434,52.7813,357.6817},? // donut shop
? ? {-2660.9402,883.2115,79.7738,357.4440},? // house
? ? {-2861.0796,1047.7109,33.6068,188.2750}, //? parking lot
? ? {-2629.2009,1383.1367,7.1833,179.7006},? // parking lot at the bridge
? ? {-2079.6802,1430.0189,7.1016,177.6486},? // pier
? ? {-1660.2294,1382.6698,9.8047,136.2952}, //? pier 69
? ? {-1674.1964,430.3246,7.1797,226.1357},? // gas station]
? ? {-1954.9982,141.8080,27.1747,277.7342},? // train station
? ? {-1956.1447,287.1091,35.4688,90.4465},? // car shop
? ? {-1888.1117,615.7245,35.1719,128.4498},? // random
? ? {-1922.5566,886.8939,35.3359,272.1293},? // random
? ? {-1983.3458,1117.0645,53.1243,271.2390},? // church
? ? {-2417.6458,970.1491,45.2969,269.3676},? // gas station
? ? {-2108.0171,902.8030,76.5792,5.7139},? // house
? ? {-2097.5664,658.0771,52.3672,270.4487},? // random
? ? {-2263.6650,393.7423,34.7708,136.4152},? // random
? ? {-2287.5027,149.1875,35.3125,266.3989},? // baseball parking lot
? ? {-2039.3571,-97.7205,35.1641,7.4744},? // driving school
? ? {-1867.5022,-141.9203,11.8984,22.4499},? // factory
? ? {-1537.8992,116.0441,17.3226,120.8537},? // docks ship
? ? {-1708.4763,7.0187,3.5489,319.3260},? // docks hangar
? ? {-1427.0858,-288.9430,14.1484,137.0812},? // airport
? ? {-2173.0654,-392.7444,35.3359,237.0159},? // stadium
? ? {-2320.5286,-180.3870,35.3135,179.6980},? // burger shot
? ? {-2930.0049,487.2518,4.9141,3.8258}? // harbor
};
public OnGameModeInit()
{
SetGameModeText("Blank Script");
UsePlayerPedAnims();
for(new x = 0; x < 312; x)
{
if(x != 74) AddPlayerClass(x, 0.0, 0.0, 0.0, 0.0, -1, -1, -1, -1, -1, -1);
}
//loaddb();
return 1;
}
/*stock loaddb()
{
Database = db_open("DM_FREEROAM/User_DM.db");
db_query(Database,"CREATE TABLE IF NOT EXISTS `USERS` (`NAME`,`PASS`,`EXP`,`LEVEL_ADMIN`,`SCORE`,`DINERO`)");
return 1;
}*/
public OnGameModeExit()
{
? ? db_close(Database);
return 1;
}
public OnPlayerRequestClass(playerid, classid)
{
? ? SetPlayerPos(playerid, 545.2801, -1746.7690, 19.5009);
? ? SetPlayerCameraPos(playerid, 547.5287, -1750.2517, 19.6819);
? ? SetPlayerCameraLookAt(playerid, 545.2801, -1746.7690, 19.5009);
? ? SetPlayerFacingAngle(playerid, 32.0000);
return 1;
}
public OnPlayerConnect(playerid)
{
? ? GAME_PASSWORD_INCORRECTA[playerid] = 0;
? ?
? ? new string[250], DB_Query[450], DBResult:Result, field[50];
? ?
? ? format(DB_Query, sizeof(DB_Query), "SELECT * FROM `USERS` WHERE `NAME` = '%s' COLLATE NOCASE", NAME_USER(playerid));
? ? if(db_num_rows(Result))
? ? {
format(string, sizeof(string), "{CCCCCC}- Bienvenido %s.\n- Escribe tu contrase?a para identificarte", NAME_USER(playerid));
? ShowPlayerDialog(playerid, DIALOG_INGRESO, DIALOG_STYLE_PASSWORD, ""#BLANCO"Ingreso", string, "Ingresar", "Salir");
? ? ? ? Result = db_query(Database, DB_Query);
? ? db_get_field_assoc(Result, "PASS", field, sizeof(field));
? ? format(PLAYER_INFO[playerid][GAME_PASS], 60, "%s", field);
? ? }
? ? else
? ? {
? format(string, sizeof(string), "{CCCCCC}- Bienvenido %s.\n- Escribe una contrase?a para Registrarte", NAME_USER(playerid));
? ShowPlayerDialog(playerid, DIALOGO_REGISTRO, DIALOG_STYLE_PASSWORD, ""#BLANCO"Registrar", string, "Ok", "Salir");
? ? }
? ? db_free_result(Result);
return 1;
}
public OnPlayerDisconnect(playerid, reason)
{
? ? GuardarDatos(playerid);
return 1;
}
public OnPlayerSpawn(playerid)
{
if(PLAYER_INFO[playerid][GAME_REGISTRADO] == 1 && PLAYER_INFO[playerid][GAME_IDENTIFICADO] == 1)
{
new randplay = random(sizeof(Spawn_Player));
? ? SetPlayerPos(playerid, Spawn_Player[randplay][0], Spawn_Player[randplay][1], Spawn_Player[randplay][2] (1.0));
? }
return 1;
}
public OnPlayerRequestSpawn(playerid)
{
if ((!PLAYER_INFO[playerid][GAME_REGISTRADO]) || (!PLAYER_INFO[playerid][GAME_IDENTIFICADO]))
{
SendClientMessage(playerid, -1, "{CCCCCC}[Cuentas]: No puedes spawnear hasta no \"Registrarte\" y \"Ingresar\"");
? ? }
return 1;
}
public OnPlayerText(playerid, text[])
{
? ? if((!PLAYER_INFO[playerid][GAME_REGISTRADO]) || (!PLAYER_INFO[playerid][GAME_IDENTIFICADO]))
? ? {
? SendClientMessage(playerid, -1, "{CCCCCC}[Cuentas]: No puedes hablar hasta no \"Registrarte\" y \"Ingresar\"");
? return 0;
? ? }
return 1;
}
public OnPlayerDeath(playerid, killerid, reason)
{
PLAYER_INFO[killerid][GAME_EXP];
PLAYER_INFO[playerid][GAME_SCORE];
PLAYER_INFO[playerid][GAME_EXP] --;
return 1;
}
public OnVehicleSpawn(vehicleid)
{
return 1;
}
public OnVehicleDeath(vehicleid, killerid)
{
return 1;
}
public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
{
return 1;
}
public OnPlayerExitVehicle(playerid, vehicleid)
{
return 1;
}
public OnPlayerStateChange(playerid, newstate, oldstate)
{
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 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 OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
? ? new string[250];
? ? if(dialogid == DIALOGO_REGISTRO)
? ? {
new DB_Query[450];
? ? ? ? if(!response) return Kick(playerid);
? ? ? ? {
? ? ? ? ? ? if(strlen(inputtext) <= 4)
? ? ? ? ? ? {
? ? ? ? ? ? ? ? format(string, sizeof(string) ,"{CCCCCC}- Por favor %s.\n- Tu contrase?a debe tener mas de 4 a 16 digitos.", NAME_USER(playerid));
? ? ? ? ? ? ? ? ShowPlayerDialog(playerid, DIALOGO_REGISTRO, DIALOG_STYLE_INPUT, "Registro", string, "Registrar", "Salir");
? ? ? ? ? ? ? ? PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
? ? ? ? ? ? ? ? return 1;
? ? ? ? ? ? }
? ? ? ? ? ? ? ?
? ? ? ? ? ? format(DB_Query, sizeof(DB_Query), "INSERT INTO `USERS` (`NAME`, `PASS`, `EXP`, `LEVEL_ADMIN`, `SCORE`, `DINERO`) VALUES('%s','%s','%s', '%d', '%d', '%d', '%d')",
? ? ? ? ? ? NAME_USER(playerid),
? ? ? ? ? ? inputtext,
? ? ? ? ? ? PLAYER_INFO[playerid][GAME_EXP],
? ? ? ? ? ? PLAYER_INFO[playerid][GAME_ADMIN_LEVEL],
? ? ? ? ? ? PLAYER_INFO[playerid][GAME_SCORE],
? ? ? ? ? ? PLAYER_INFO[playerid][GAME_MONEY]);
? ? ? ? ? ? GuardarDatos(playerid);
? ? ? ? ? ? SetPlayerScore(playerid, PLAYER_INFO[playerid][GAME_SCORE]);
? ? ? ? ? ? GivePlayerMoney(playerid, PLAYER_INFO[playerid][GAME_MONEY]);
? ? ? ? ? ?
? ? ? ? ? ? PLAYER_INFO[playerid][GAME_IDENTIFICADO] = 1;
? ? ? ? ? ? PLAYER_INFO[playerid][GAME_REGISTRADO] = 1;
? ? ? ? ? ?
? ? ? ? ? ? format(string, sizeof (string), "{CCCCCC}- Fuiste registrado en nuestra base de datos %s.\n- Tu contrase?a es: %s", NAME_USER(playerid), inputtext);
? ? ? ? ? ? ShowPlayerDialog(playerid, DIALOG_REGISTRO_FINALIZADO, DIALOG_STYLE_MSGBOX, "Registro terminado", string, "Aceptar", "");
? ? ? ? }
? ? }
? ? else if(dialogid == DIALOG_INGRESO)
? ? {
new DB_Query[450], DBResult: Result;
? ? ? ? if(!response) return Kick(playerid);
? ? ? ? {
? ? ? ? ? ? if(strlen(inputtext) == 0)
? ? ? ? ? ? {
? ? ? ? ? ? ? ? format(string, sizeof(string) ,"{CCCCCC}- Por favor %s.\n- No introduciste ningun digito, escribelo nuevamente", NAME_USER(playerid));
? ? ? ? ? ? ? ? ShowPlayerDialog(playerid, DIALOG_INGRESO, DIALOG_STYLE_INPUT, "Ingreso", string, "Ingresar", "Salir");
? ? ? ? ? ? ? ? PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
? ? ? ? ? ? ? ? return 1;
? ? ? ? ? ? }
? ? ? ? ? ?
? ? ? ? ? ? if(!strcmp(inputtext, PLAYER_INFO[playerid][GAME_PASS]))
? ? ? ? ? ? {
? ? ? ? ? ? ? ? format(DB_Query, sizeof(DB_Query), "SELECT * FROM `USERS` WHERE `NAME` = '%q' COLLATE NOCASE", NAME_USER(playerid));
? ? ? ? ? ? ? ? Result = db_query(Database, DB_Query);
? ? ? ? ? ? ? ? if(db_num_rows(Result))
? ? ? ? ? ? ? ? {
? ? ? ? ? ? ? ? ? ? PLAYER_INFO[playerid][GAME_EXP] = db_get_field_assoc_int(Result, "EXP");
? ? ? ? ? ? ? ? ? ? PLAYER_INFO[playerid][GAME_ADMIN_LEVEL] = db_get_field_assoc_int(Result, "LEVEL_ADMIN");
? ? ? ? ? ? ? ? ? ? PLAYER_INFO[playerid][GAME_SCORE] = db_get_field_assoc_int(Result, "SCORE");
? ? ? ? ? ? ? ? ? ? PLAYER_INFO[playerid][GAME_MONEY] = db_get_field_assoc_int(Result, "DINERO");
? ? ? ? ? ? ? ? }
? ? ? ? ? ? ? ? else
? ? ? ? ? ? ? ? {
? ? ? ? ? ? ? ? ? ? GAME_PASSWORD_INCORRECTA[playerid];
? ? ? ? ? ? ? ? ? ? format(string, sizeof(string), "{CCCCCC}- Por favor %s.\n- Ingresa una contrase?a correcta", NAME_USER(playerid));
? ? ? ? ? ? ? ? ? ? ShowPlayerDialog(playerid, DIALOG_INGRESO, DIALOG_STYLE_PASSWORD, "{6F0000}Error", string, "Ok", "Salir");
? ? ? ? ? ? ? ? ? ? if(GAME_PASSWORD_INCORRECTA[playerid] == MAX_PASSWORD_INVALIDA)
? ? ? ? ? ? ? ? ? ? {
? ? ? ? ? ? ? ? ? ? ? ? format(string,sizeof(string),"{6F0000}[Cuentas]: %s fue expulsado (Max intentos de ingresar(Contrase?a invalida))", NAME_USER(playerid));
? ? ? ? ? ? ? ? ? ? ? ? SendClientMessageToAll(-1, string);
? ? ? ? ? ? ? ? ? ? ? ? SendClientMessage(playerid, -1, "** Haz puesto varias contrase?as incorrectas has sido kickeado del servidor por seguridad.");
? ? ? ? ? ? ? ? ? ? ? ? Kick(playerid);
? ? ? ? ? ? ? ? ? ? ? ? PlayerPlaySound(playerid, 1085, 0.0, 0.0, 0.0);
? ? ? ? ? ? ? ? ? ? }
? ? }
? ? ? ? ? ? }
? ? ? ? }
? ? }
? ? return 1;
}
public OnPlayerClickPlayer(playerid, clickedplayerid, source)
{
return 1;
}
//__________Comandos_Usar______________//
CMD:duda(playerid, params[])
{
new str[50], mensaje[128];
if(sscanf(params, "s[128]", mensaje)) return SendClientMessage(playerid, -1, "USA [/duda] [tu duda]");
if(PLAYER_INFO[playerid][GAME_ADMIN_LEVEL]) format(str, sizeof(str), "{A300A0}Admin [%s] {FFFFFF}[%s]", NAME_USER(playerid), mensaje);
else format(str, sizeof(str), "Duda [%s %d] [%s]", NAME_USER(playerid), playerid, mensaje);
SendClientMessageToAll(0x008D6EFF, str);
return 1;
}
//________Comandos_Admin_________//
CMD:dameadmin(playerid, params[])
{
if(IsPlayerAdmin(playerid))
{
PLAYER_INFO[playerid][GAME_ADMIN_LEVEL] = 1;
SendClientMessage(playerid, -1, "Ok");
GuardarDatos(playerid);
}
else
{
? ? ? ? SendClientMessage(playerid, -1, "No eres admin rcon");
}
return 1;
}
//_____Info_____//
stock NAME_USER(playerid)
{
new User_Name[MAX_PLAYER_NAME];
GetPlayerName(playerid, User_Name,? sizeof(User_Name));
return User_Name;
}
stock GuardarDatos(playerid)
{
new DB_Query[450];
format(DB_Query, sizeof(DB_Query), "UPDATE `USERS` SET `EXP` = '%d', `LEVEL_ADMIN` = '%d', `SCORE` = '%d', `DINERO` = '%d' WHERE `NAME` = '%q' COLLATE NOCASE",
PLAYER_INFO[playerid][GAME_EXP],
PLAYER_INFO[playerid][GAME_ADMIN_LEVEL],
PLAYER_INFO[playerid][GAME_SCORE],
PLAYER_INFO[playerid][GAME_MONEY],
NAME_USER(playerid));
db_query(Database, DB_Query);
return 1;
}
//______Nuevos_Public________//
|
|
|
|
| error 035: argument type mismatch (argument 3) |
|
Posted by: Boxi - 2021-04-13, 02:33 AM - Forum: Pawn Scripting
- Replies (1)
|
 |
Hi all! i updated my gm to the eSelection version that TommyB123 (https://github.com/TommyB123/eSelection)?released and everything is fine, except for these 2 errors that it tells me that the library has?
PHP Code: eSelection.inc(124) : error 035: argument type mismatch (argument 3)
eSelection.inc(205) : error 035: argument type mismatch (argument 3)
(they were already there before i changed the code in my gm). does anyone know what i can do? the lines of the errors are these:
PHP Code: static stock SetModelSelectionModelBox(playerid, count, const model[g_eMenuModelData])
{
PlayerTextDrawSetPreviewModel(playerid, g_ePlayerMenuData[playerid][g_eMenuItems][count], model[g_eMenuModel]);
if(model[g_eItemUseRotation])
{
PlayerTextDrawSetPreviewRot(playerid, g_ePlayerMenuData[playerid][g_eMenuItems][count], model[g_eItemRotX], model[g_eItemRotY], model[g_eItemRotZ], model[g_eItemZoom]);
}
else
{
PlayerTextDrawSetPreviewRot(playerid, g_ePlayerMenuData[playerid][g_eMenuItems][count], 0.0, 0.0, 0.0);
}
PlayerTextDrawShow(playerid, g_ePlayerMenuData[playerid][g_eMenuItems][count]);
if(model[g_eMenuModelText][0])
{
PlayerTextDrawSetString(playerid, g_ePlayerMenuData[playerid][g_eMenuTextDisplay][count], model[g_eMenuModelText]); //line 205
PlayerTextDrawShow(playerid, g_ePlayerMenuData[playerid][g_eMenuTextDisplay][count]);
}
}
PHP Code: static stock ShowModelSelectionMenuTextDraws(playerid, const header[])
{
DestroyModelSelectionPlayerTDs(playerid);
CreateModelSelectionPlayerTDs(playerid);
for(new Iter:i = list_iter(g_ePlayerMenuData[playerid][g_eMenuModels]), count, model[g_eMenuModelData]; iter_inside(i); iter_move_next(i))
{
if(count >= MAX_ITEM_PER_PAGE) break;
iter_get_arr(i, model);
SetModelSelectionModelBox(playerid, count, model);
count ;
}
//page TD
new page[8];
format(page, sizeof(page), "1/%d", (list_size(g_ePlayerMenuData[playerid][g_eMenuModels]) / MAX_ITEM_PER_PAGE) 1);
PlayerTextDrawSetString(playerid, g_ePlayerMenuData[playerid][g_eMenuPageText], page);
//header test
PlayerTextDrawSetString(playerid, g_ePlayerMenuData[playerid][g_eMenuHeaderText], header); //line 124
PlayerTextDrawShow(playerid, g_ePlayerMenuData[playerid][g_eMenuHeaderText]);
PlayerTextDrawShow(playerid, g_ePlayerMenuData[playerid][g_eMenuPageText]);
TextDrawShowForPlayer(playerid, g_eMenuRightArrow);
TextDrawShowForPlayer(playerid, g_eMenuLeftArrow);
TextDrawShowForPlayer(playerid, g_eMenuBackground);
TextDrawShowForPlayer(playerid, g_eMenuTopBanner);
TextDrawShowForPlayer(playerid, g_eMenuBottomBanner);
TextDrawShowForPlayer(playerid, g_eMenuCloseButton);
SelectTextDraw(playerid, -1);
}
i have all the includes in their latest version, help please :C
|
|
|
|
| system for storing player data |
|
Posted by: Nightmare - 2021-04-11, 05:44 PM - Forum: Support
- Replies (1)
|
 |
i'm looking one system for stroring player data and i found the SQLite and MySQL. The both system are different each other? Or they are the same thing? What system is the for the Data Base? Thx
|
|
|
|
| Help with sqlite floats |
|
Posted by: Turk54721 - 2021-04-11, 12:12 PM - Forum: Pawn Scripting
- Replies (13)
|
 |
Hello for some reason floats are being loaded normaly (Armour and health is 1 and cordinates are like 5169131981403219871320)
Code: enum PlayerStats{
Mode,// 0-not logged 1-logged
Team,
Skin,
Money,
Score,
Float:Health,
Float:Armour,
Float:X,
Float:Y,
Float:Z};
new Player[MAX_PLAYERS][PlayerStats];
Code: GetPlayerPos(playerid, Player[playerid][X], Player[playerid][Y], Player[playerid][Z]);
format(Query,sizeof(Query),"UPDATE `USERS` SET TEAM = '%d', SKIN = '%d', MONEY = '%d', SCORE = '%d', HEALTH = '%f', ARMOUR = '%f', X = '%f', Y = '%f', Z = '%f' WHERE `NAME` = '%s' COLLATE NOCASE",
Player[playerid][Team],
Player[playerid][Skin],
GetPlayerMoney(playerid),//
GetPlayerScore(playerid),//
GetPlayerHealth(playerid, Player[playerid][Health]),//
GetPlayerArmour(playerid, Player[playerid][Armour]),//
Player[playerid][X],//
Player[playerid][Y],//
Player[playerid][Z],//
DB_Escape(name));
db_query(Database, Query);
Code: format(Query, sizeof(Query), "SELECT * FROM `USERS` WHERE `NAME` = '%s' COLLATE NOCASE AND `PASSWORD` = '%s'", DB_Escape(name), DB_Escape(inputtext));
Result = db_query(Database, Query);
if(db_num_rows(Result)){
new Field[ 20 ]; //Creating a field to retrieve the data
db_get_field_assoc(Result, "TEAM", Field, 30);
Player[playerid][Team] = strval(Field);
db_get_field_assoc(Result, "SKIN", Field, 30);
Player[playerid][Skin] = strval(Field);
db_get_field_assoc(Result, "MONEY", Field, 30);
Player[playerid][Money] = strval(Field);
db_get_field_assoc(Result, "SCORE", Field, 30);
Player[playerid][Score] = strval(Field);
db_get_field_assoc_float(Result, "HEALTH");
Player[playerid][Health] = floatstr(Field);
db_get_field_assoc_float(Result, "ARMOUR");
Player[playerid][Armour] = floatstr(Field);
db_get_field_assoc_float(Result, "X");
Player[playerid][X] = floatstr(Field);
db_get_field_assoc_float(Result, "Y");
Player[playerid][Y] = floatstr(Field);
db_get_field_assoc_float(Result, "Z");
Player[playerid][Z] = floatstr(Field);
Code: format(Query, sizeof(Query), "INSERT INTO `USERS` (`NAME`, `PASSWORD`, `IP`, `TEAM`, `SKIN`, `MONEY`, `SCORE`, `HEALTH`, `ARMOUR`, `X`, `Y`, `Z`) VALUES('%s','%s','%s', '0', '0', '0', '0', '%f', '%f', '%f', '%f', '%f')", DB_Escape(name), DB_Escape(inputtext), DB_Escape(ip));
Let me know if you need more code to understand, thank you
|
|
|
|
[HELP] Changing the skin when OnPlayerConnect |
|
Posted by: romanstti - 2021-04-10, 02:31 PM - Forum: Pawn Scripting
- Replies (3)
|
 |
Hello there!
First of all, good morning, it is 11:11 here already.
I would like to clarify that I am ALL NEW on this Pawn scripting thing... I spent the whole night reading documents of variables and strings...
I still can not figure out what am I doing wrong!
Maybe someone here can help?
So, I will explain you what I am trying to do, because it is probably one of the most easiest things in Pawn scripting and if you take the time to *explain* me what I am doing wrong and how to apply it as it should, then I will be one of the happiest person alive!
I am trying to change the skin automatically only if the name of the player connected is equal to: "Luna_Beaule"
I have some custom skins added to the server, and I am trying to figure out how to change them if the X (GetPlayerName I GUESS!?!?!?) is the same as: Luna_Beaule.
I'll leave below the code I wrote *so wrong, please do not laugh, thank you*:
Code: public OnPlayerConnect(playerid)
{
SendClientMessage (playerid, -1, "Servidor oficial de pruebas.");
return 1;
}
if (GetPlayerName(playerid, name) == Luna_Beaule) return SetPlayerSkin(playerid, 20003);
return 1;
}
|
|
|
|
|