[HELP] Map Help
#1

Hey , I need help installing a map , I put the codes in OnGameModeInIt

The code is :
CreateObject(13105, 3733.499268, -1544.142456, -4.270958, 2.5783, 0.0000, 0.0000);
CreateObject(13105, 3736.788574, -1651.731812, -11.995636, 353.9839, 4.2972, 182.5783);
CreateObject(13105, 3627.009766, -1606.904541, -5.010248, 357.4217, 4.2972, 115.0783);
CreateObject(12990, 3832.606689, -1536.351929, 0.729400, 0.0000, 0.0000, 112.5001);
CreateObject(18267, 3631.855957, -1604.963623, 15.675936, 0.0000, 0.0000, 33.7500);
CreateObject(17143, 3717.331543, -1700.059448, -5.672412, 12.0321, 0.8594, 157.5000);
CreateObject(17143, 3636.433838, -1751.119995, -5.311341, 12.0321, 0.8594, 348.7499);
CreateObject(18259, 3678.624756, -1725.338379, 18.305386, 0.0000, 0.0000, 202.5000);
CreateObject(12937, 3748.405273, -1652.595947, 10.201055, 353.9839, 0.8594, 247.5000);
CreateObject(9228, 3724.362061, -1536.338745, 15.512306, 2.5783, 0.0000, 246.6406);
CreateObject(791, 3655.547607, -1749.493286, 7.418330, 0.0000, 0.0000, 0.0000);
CreateObject(791, 3635.070313, -1708.532227, 9.466798, 0.0000, 0.0000, 0.0000);
CreateObject(791, 3646.535156, -1639.834473, 6.897704, 0.0000, 0.0000, 0.0000);
CreateObject(791, 3690.845215, -1669.504395, 8.627119, 0.0000, 0.0000, 315.0000);
CreateObject(791, 3718.374023, -1723.181641, 4.764545, 0.0000, 0.0000, 315.0000);
CreateObject(791, 3696.795898, -1755.063599, 7.416756, 0.0000, 0.0000, 315.0000);
CreateObject(790, 3692.341797, -1702.056519, 17.485863, 0.0000, 0.0000, 337.5000);
CreateObject(723, 3758.719971, -1654.416016, 19.068398, 0.0000, 0.0000, 0.0000);
CreateObject(698, 3617.689941, -1531.932739, 12.527681, 0.0000, 0.0000, 348.7500);
CreateObject(698, 3624.051270, -1539.261597, 13.869833, 0.0000, 0.0000, 213.7500);
CreateObject(694, 3650.161621, -1610.389526, 16.596745, 0.0000, 0.0000, 0.0000);
CreateObject(690, 3618.974854, -1611.628784, 11.999763, 0.0000, 0.0000, 0.0000);
CreateObject(690, 3614.048340, -1588.473511, 10.650043, 0.0000, 0.0000, 0.0000);
CreateObject(690, 3655.566162, -1675.888794, 6.804112, 0.0000, 0.0000, 0.0000);
CreateObject(18270, 3708.906494, -1666.982910, 24.419956, 0.0000, 0.0000, 0.0000);
CreateObject(791, 3758.763184, -1628.969238, 2.350965, 0.0000, 0.0000, 0.0000);
CreateObject(791, 3715.390625, -1604.554321, 2.281451, 0.0000, 0.0000, 0.0000);
CreateObject(791, 3687.998535, -1628.592407, 3.726099, 0.0000, 0.0000, 0.0000);
CreateObject(791, 3673.209961, -1573.573730, 5.919230, 0.0000, 0.0000, 0.0000);
CreateObject(791, 3662.150391, -1525.116943, 6.157506, 0.0000, 0.0000, 0.0000);
CreateObject(791, 3713.582764, -1510.845337, 3.604330, 0.0000, 0.0000, 0.0000);
CreateObject(791, 3757.924561, -1534.848389, 11.747847, 0.0000, 0.0000, 0.0000);
CreateObject(791, 3791.983887, -1563.289795, 8.139473, 0.0000, 0.0000, 348.7500);
CreateObject(791, 3812.864990, -1593.867676, 6.958661, 0.0000, 0.0000, 348.7500);
CreateObject(725, 3723.456055, -1567.258545, 9.823714, 0.0000, 0.0000, 0.0000);
CreateObject(725, 3760.453369, -1571.402954, 12.857399, 0.0000, 0.0000, 0.0000);
CreateObject(647, 3744.318115, -1607.141602, 4.269083, 0.0000, 0.0000, 0.0000);
CreateObject(647, 3743.569092, -1596.478027, 5.981664, 0.0000, 0.0000, 0.0000);
CreateObject(647, 3753.024902, -1600.721558, 6.563154, 0.0000, 0.0000, 0.0000);
CreateObject(647, 3746.994385, -1600.804199, 5.478353, 0.0000, 0.0000, 0.0000);
CreateObject(647, 3735.953613, -1606.727173, 5.174049, 0.0000, 0.0000, 0.0000);
CreateObject(647, 3705.095459, -1701.069092, 12.791867, 0.0000, 0.0000, 0.0000);
CreateObject(647, 3670.089355, -1639.577515, 6.109496, 0.0000, 0.0000, 0.0000);
CreateObject(647, 3734.369141, -1538.259644, 16.308393, 0.0000, 0.0000, 0.0000);
CreateObject(647, 3736.383301, -1547.734619, 16.488539, 0.0000, 0.0000, 0.0000);
CreateObject(2780, 3750.888672, -1650.951050, 10.316141, 0.0000, 0.0000, 0.0000);
CreateObject(1472, 3785.156738, -1589.465576, 13.125991, 0.0000, 0.0000, 123.7499);
CreateObject(11544, 3753.205811, -1551.381714, 16.919413, 0.0000, 0.0000, 292.5000);
CreateObject(11544, 3750.776367, -1552.293945, 16.931267, 0.0000, 0.0000, 112.5000);
CreateObject(1407, 3664.523926, -1698.236206, 17.018938, 0.0000, 0.0000, 152.2661);
CreateObject(1407, 3660.456055, -1696.285767, 16.967772, 0.0000, 0.0000, 158.2822);
CreateObject(3173, 3603.152100, -1588.125977, 9.129601, 5.1566, 359.1406, 189.5311);
CreateObject(759, 3610.761719, -1556.636719, 6.495453, 0.0000, 0.0000, 0.0000);
CreateObject(759, 3608.068115, -1558.732178, 6.766615, 0.0000, 0.0000, 0.0000);
CreateObject(759, 3603.555908, -1556.000366, 4.748695, 0.0000, 0.0000, 0.0000);
CreateObject(762, 3618.320801, -1554.236084, 10.080206, 0.0000, 0.0000, 0.0000);
CreateObject(762, 3600.367920, -1636.349854, 11.643845, 350.5462, 0.0000, 0.0000);
CreateObject(1229, 3626.773926, -1597.708008, 23.243427, 0.0000, 0.0000, 0.0000);
CreateObject(17143, 3895.215820, -1383.047729, 2.752709, 2.5783, 11.1727, 0.0000);
CreateObject(17143, 3945.111572, -1423.999878, 0.872229, 2.5783, 11.1727, 225.0000);
CreateObject(6295, 3840.329590, -1397.897461, 30.812443, 0.0000, 0.0000, 281.2500);
CreateObject(3167, 3890.603760, -1375.242065, 15.702595, 0.0000, 0.0000, 247.5000);
CreateObject(3169, 3898.919434, -1387.475342, 15.952751, 0.0000, 0.0000, 191.2500);
CreateObject(3170, 3876.119629, -1378.628052, 14.753471, 1.7189, 0.0000, 315.0000);
CreateObject(3173, 3875.616943, -1395.013184, 14.816889, 0.0000, 0.0000, 22.5000);
CreateObject(3170, 3891.120850, -1401.247803, 15.743173, 0.0000, 0.0000, 110.7037);
CreateObject(850, 3886.160645, -1389.884155, 15.738814, 0.0000, 0.0000, 0.0000);
CreateObject(851, 3885.153076, -1389.070435, 15.748579, 0.0000, 0.0000, 0.0000);
CreateObject(3461, 3885.164795, -1389.641235, 14.182182, 0.0000, 0.0000, 0.0000);
CreateObject(3461, 3886.388672, -1388.633423, 14.059877, 0.0000, 0.0000, 0.0000);
CreateObject(3461, 3885.982666, -1390.586182, 13.763693, 0.0000, 0.0000, 0.0000);
CreateObject(687, 3889.299561, -1386.385132, 15.626588, 0.0000, 0.0000, 0.0000);
CreateObject(687, 3884.765137, -1395.219971, 15.234951, 0.0000, 0.0000, 0.0000);
CreateObject(687, 3882.224609, -1381.912598, 15.176214, 0.0000, 0.0000, 0.0000);
CreateObject(690, 3902.370361, -1399.463745, 16.000439, 0.0000, 0.0000, 11.2500);
CreateObject(690, 3877.502930, -1407.571045, 13.690514, 0.0000, 0.0000, 348.7500);
CreateObject(690, 3864.644531, -1384.724365, 13.348367, 0.0000, 0.0000, 329.8424);
CreateObject(690, 3877.508789, -1366.643433, 14.531921, 0.0000, 0.0000, 11.2500);
CreateObject(690, 3897.568604, -1367.449707, 16.444050, 0.0000, 0.0000, 11.2500);
CreateObject(690, 3911.761475, -1378.910645, 15.867805, 0.0000, 0.0000, 11.2500);
CreateObject(3355, 3984.144531, -1422.650513, 13.460039, 0.0000, 0.0000, 247.5000);
CreateObject(3415, 3975.515137, -1440.745972, 14.549644, 0.0000, 0.0000, 225.0000);
CreateObject(9238, 3915.372559, -1451.792114, 14.031527, 353.1245, 0.0000, 180.0000);
CreateObject(12957, 3948.304443, -1432.153076, 14.827108, 0.0000, 0.0000, 11.2500);
CreateObject(2780, 3949.679443, -1433.690430, 9.653329, 0.0000, 0.0000, 0.0000);
CreateObject(9153, 3943.016602, -1415.189697, 15.784975, 0.0000, 0.0000, 78.7500);
CreateObject(826, 3944.859619, -1430.657349, 15.427134, 0.0000, 0.0000, 0.0000);
CreateObject(698, 3915.383789, -1460.352783, 16.195625, 0.0000, 0.0000, 11.2500);
CreateObject(695, 3995.298584, -1420.679443, 18.052259, 0.0000, 0.0000, 0.0000);
CreateObject(695, 3978.694336, -1445.889648, 20.282909, 0.0000, 0.0000, 288.9849);
CreateObject(690, 3895.999512, -1422.488037, 14.245171, 0.0000, 0.0000, 0.0000);
CreateObject(690, 3920.275879, -1418.194946, 14.964394, 0.0000, 0.0000, 0.0000);
CreateObject(690, 3913.067627, -1435.183105, 14.608824, 0.0000, 0.0000, 0.0000);
CreateObject(690, 3890.017578, -1351.266602, 15.731565, 0.0000, 0.0000, 0.0000);
CreateObject(690, 3917.307617, -1354.094727, 14.791090, 0.0000, 0.0000, 281.2500);
CreateObject(690, 3929.975098, -1373.200195, 13.360991, 0.0000, 0.0000, 281.2500);
CreateObject(690, 3927.412109, -1396.963135, 14.197945, 0.0000, 0.0000, 281.2500);
CreateObject(745, 3961.552734, -1436.362061, 14.169277, 0.0000, 0.0000, 123.7499);
CreateObject(655, 3965.112305, -1427.556152, 13.947537, 0.0000, 0.0000, 0.0000);
CreateObject(655, 3970.576416, -1406.486694, 5.923770, 0.0000, 0.0000, 0.0000);
CreateObject(655, 3976.797363, -1410.799194, 7.648180, 0.0000, 0.0000, 0.0000);
CreateObject(690, 3994.098633, -1398.151611, 10.043180, 0.0000, 0.0000, 281.2500);
CreateObject(690, 3976.994873, -1386.309570, 10.000506, 0.0000, 0.0000, 281.2500);
CreateObject(3461, 3885.972412, -1389.609253, 14.348867, 0.0000, 0.0000, 0.0000);
CreateObject(3461, 3887.193115, -1389.877075, 13.919106, 0.0000, 0.0000, 0.0000);
CreateObject(1462, 3875.982422, -1389.610962, 14.907677, 0.0000, 0.0000, 120.3894);
CreateObject(16636, 3886.354980, -1377.122437, 16.045549, 331.6386, 359.1406, 303.7500);
CreateObject(849, 3895.630371, -1385.682739, 16.087004, 0.0000, 0.0000, 0.0000);
CreateObject(852, 3883.926025, -1401.667847, 15.183157, 0.0000, 0.0000, 0.0000);
CreateObject(16534, 3889.704590, -1371.562988, 12.974640, 0.0000, 0.0000, 123.7499);
CreateObject(3515, 3881.871094, -1359.838379, 13.945311, 0.0000, 0.0000, 0.0000);
CreateObject(8493, 3759.189697, -1397.756470, 15.566860, 0.0000, 0.0000, 0.0000);
CreateObject(11442, 3865.033691, -1345.244629, 15.988825, 0.0000, 0.0000, 258.7500);
CreateObject(18552, 3645.767822, -1504.859619, 5.645660, 0.0000, 0.0000, 191.2500);
CreateObject(1683, 3633.953369, -1672.633667, 12.641703, 347.9679, 7.7349, 3.4377);
CreateObject(2780, 3653.763428, -1673.235718, 7.515567, 0.0000, 0.0000, 0.0000);
CreateObject(2780, 3632.508545, -1670.967529, 6.218796, 0.0000, 0.0000, 0.0000);
CreateObject(3461, 3621.973877, -1671.453369, 12.544586, 3.4377, 255.1488, 0.0000);
CreateObject(3461, 3644.163574, -1673.094971, 10.066670, 3.4377, 0.8595, 0.0000);
These are Sandra Maps , The Abandon Island , How do i install it without errors while compiling?
Reply
#2

And what kind of errors do you get?
Reply
#3

C:\Users\Owner\Desktop\SA-MP Windows Server\gamemodes\Abandon Island DM.pwn(42) : error 029: invalid expression, assumed zero
C:\Users\Owner\Desktop\SA-MP Windows Server\gamemodes\Abandon Island DM.pwn(42) : error 004: function "OnPlayerRequestClass" is not implemented
C:\Users\Owner\Desktop\SA-MP Windows Server\gamemodes\Abandon Island DM.pwn(43) : warning 217: loose indentation
C:\Users\Owner\Desktop\SA-MP Windows Server\gamemodes\Abandon Island DM.pwn(44) : error 017: undefined symbol "playerid"
C:\Users\Owner\Desktop\SA-MP Windows Server\gamemodes\Abandon Island DM.pwn(45) : error 017: undefined symbol "playerid"
C:\Users\Owner\Desktop\SA-MP Windows Server\gamemodes\Abandon Island DM.pwn(46) : error 017: undefined symbol "playerid"
C:\Users\Owner\Desktop\SA-MP Windows Server\gamemodes\Abandon Island DM.pwn(47) : error 017: undefined symbol "playerid"
C:\Users\Owner\Desktop\SA-MP Windows Server\gamemodes\Abandon Island DM.pwn(4 : warning 217: loose indentation
C:\Users\Owner\Desktop\SA-MP Windows Server\gamemodes\Abandon Island DM.pwn(167) : warning 217: loose indentation
C:\Users\Owner\Desktop\SA-MP Windows Server\gamemodes\Abandon Island DM.pwn(170) : warning 225: unreachable code
C:\Users\Owner\Desktop\SA-MP Windows Server\gamemodes\Abandon Island DM.pwn(170) : error 029: invalid expression, assumed zero
C:\Users\Owner\Desktop\SA-MP Windows Server\gamemodes\Abandon Island DM.pwn(170) : error 004: function "OnGameModeExit" is not implemented
C:\Users\Owner\Desktop\SA-MP Windows Server\gamemodes\Abandon Island DM.pwn(175) : warning 225: unreachable code
C:\Users\Owner\Desktop\SA-MP Windows Server\gamemodes\Abandon Island DM.pwn(175) : error 029: invalid expression, assumed zero
C:\Users\Owner\Desktop\SA-MP Windows Server\gamemodes\Abandon Island DM.pwn(175) : error 004: function "OnPlayerRequestClass" is not implemented
C:\Users\Owner\Desktop\SA-MP Windows Server\gamemodes\Abandon Island DM.pwn(177) : error 017: undefined symbol "playerid"
C:\Users\Owner\Desktop\SA-MP Windows Server\gamemodes\Abandon Island DM.pwn(17 : error 017: undefined symbol "playerid"
C:\Users\Owner\Desktop\SA-MP Windows Server\gamemodes\Abandon Island DM.pwn(179) : error 017: undefined symbol "playerid"
C:\Users\Owner\Desktop\SA-MP Windows Server\gamemodes\Abandon Island DM.pwn(183) : warning 225: unreachable code
C:\Users\Owner\Desktop\SA-MP Windows Server\gamemodes\Abandon Island DM.pwn(183) : error 029: invalid expression, assumed zero
C:\Users\Owner\Desktop\SA-MP Windows Server\gamemodes\Abandon Island DM.pwn(183) : error 004: function "OnPlayerRequestSpawn" is not implemented
C:\Users\Owner\Desktop\SA-MP Windows Server\gamemodes\Abandon Island DM.pwn(18 : warning 225: unreachable code
C:\Users\Owner\Desktop\SA-MP Windows Server\gamemodes\Abandon Island DM.pwn(18 : error 029: invalid expression, assumed zero
C:\Users\Owner\Desktop\SA-MP Windows Server\gamemodes\Abandon Island DM.pwn(18 : error 004: function "OnPlayerConnect" is not implemented
C:\Users\Owner\Desktop\SA-MP Windows Server\gamemodes\Abandon Island DM.pwn(193) : warning 225: unreachable code
C:\Users\Owner\Desktop\SA-MP Windows Server\gamemodes\Abandon Island DM.pwn(193) : error 029: invalid expression, assumed zero
C:\Users\Owner\Desktop\SA-MP Windows Server\gamemodes\Abandon Island DM.pwn(193) : error 004: function "OnPlayerDisconnect" is not implemented
C:\Users\Owner\Desktop\SA-MP Windows Server\gamemodes\Abandon Island DM.pwn(19 : warning 225: unreachable code
C:\Users\Owner\Desktop\SA-MP Windows Server\gamemodes\Abandon Island DM.pwn(19 : error 029: invalid expression, assumed zero
C:\Users\Owner\Desktop\SA-MP Windows Server\gamemodes\Abandon Island DM.pwn(19 : error 004: function "OnPlayerSpawn" is not implemented
C:\Users\Owner\Desktop\SA-MP Windows Server\gamemodes\Abandon Island DM.pwn(203) : warning 225: unreachable code
C:\Users\Owner\Desktop\SA-MP Windows Server\gamemodes\Abandon Island DM.pwn(203) : error 029: invalid expression, assumed zero
C:\Users\Owner\Desktop\SA-MP Windows Server\gamemodes\Abandon Island DM.pwn(203) : error 004: function "OnPlayerDeath" is not implemented
C:\Users\Owner\Desktop\SA-MP Windows Server\gamemodes\Abandon Island DM.pwn(20 : warning 225: unreachable code
C:\Users\Owner\Desktop\SA-MP Windows Server\gamemodes\Abandon Island DM.pwn(20 : error 029: invalid expression, assumed zero
C:\Users\Owner\Desktop\SA-MP Windows Server\gamemodes\Abandon Island DM.pwn(20 : error 004: function "OnVehicleSpawn" is not implemented
C:\Users\Owner\Desktop\SA-MP Windows Server\gamemodes\Abandon Island DM.pwn(213) : warning 225: unreachable code
C:\Users\Owner\Desktop\SA-MP Windows Server\gamemodes\Abandon Island DM.pwn(213) : error 029: invalid expression, assumed zero

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


26 Errors.
Reply
#4

Most of those errors have nothing to do with the object codes. You may have missed a bracket somewhere.
Reply
#5

Do you have MSN , Maybe you could teamview me and help me ?
Reply
#6

you sure it looks like:
pawn Код:
public OnGameModeInit()
{
    CreateObject(13105, 3733.499268, -1544.142456, -4.270958, 2.5783, 0.0000, 0.0000);
    CreateObject(13105, 3736.788574, -1651.731812, -11.995636, 353.9839, 4.2972, 182.5783);
    CreateObject(13105, 3627.009766, -1606.904541, -5.010248, 357.4217, 4.2972, 115.0783);
    CreateObject(12990, 3832.606689, -1536.351929, 0.729400, 0.0000, 0.0000, 112.5001);
    CreateObject(18267, 3631.855957, -1604.963623, 15.675936, 0.0000, 0.0000, 33.7500);
    CreateObject(17143, 3717.331543, -1700.059448, -5.672412, 12.0321, 0.8594, 157.5000);
    CreateObject(17143, 3636.433838, -1751.119995, -5.311341, 12.0321, 0.8594, 348.7499);
    CreateObject(18259, 3678.624756, -1725.338379, 18.305386, 0.0000, 0.0000, 202.5000);
    CreateObject(12937, 3748.405273, -1652.595947, 10.201055, 353.9839, 0.8594, 247.5000);
    CreateObject(9228, 3724.362061, -1536.338745, 15.512306, 2.5783, 0.0000, 246.6406);
    CreateObject(791, 3655.547607, -1749.493286, 7.418330, 0.0000, 0.0000, 0.0000);
    CreateObject(791, 3635.070313, -1708.532227, 9.466798, 0.0000, 0.0000, 0.0000);
    CreateObject(791, 3646.535156, -1639.834473, 6.897704, 0.0000, 0.0000, 0.0000);
    CreateObject(791, 3690.845215, -1669.504395, 8.627119, 0.0000, 0.0000, 315.0000);
    CreateObject(791, 3718.374023, -1723.181641, 4.764545, 0.0000, 0.0000, 315.0000);
    CreateObject(791, 3696.795898, -1755.063599, 7.416756, 0.0000, 0.0000, 315.0000);
    CreateObject(790, 3692.341797, -1702.056519, 17.485863, 0.0000, 0.0000, 337.5000);
    CreateObject(723, 3758.719971, -1654.416016, 19.068398, 0.0000, 0.0000, 0.0000);
    CreateObject(698, 3617.689941, -1531.932739, 12.527681, 0.0000, 0.0000, 348.7500);
    CreateObject(698, 3624.051270, -1539.261597, 13.869833, 0.0000, 0.0000, 213.7500);
    CreateObject(694, 3650.161621, -1610.389526, 16.596745, 0.0000, 0.0000, 0.0000);
    CreateObject(690, 3618.974854, -1611.628784, 11.999763, 0.0000, 0.0000, 0.0000);
    CreateObject(690, 3614.048340, -1588.473511, 10.650043, 0.0000, 0.0000, 0.0000);
    CreateObject(690, 3655.566162, -1675.888794, 6.804112, 0.0000, 0.0000, 0.0000);
    CreateObject(18270, 3708.906494, -1666.982910, 24.419956, 0.0000, 0.0000, 0.0000);
    CreateObject(791, 3758.763184, -1628.969238, 2.350965, 0.0000, 0.0000, 0.0000);
    CreateObject(791, 3715.390625, -1604.554321, 2.281451, 0.0000, 0.0000, 0.0000);
    CreateObject(791, 3687.998535, -1628.592407, 3.726099, 0.0000, 0.0000, 0.0000);
    CreateObject(791, 3673.209961, -1573.573730, 5.919230, 0.0000, 0.0000, 0.0000);
    CreateObject(791, 3662.150391, -1525.116943, 6.157506, 0.0000, 0.0000, 0.0000);
    CreateObject(791, 3713.582764, -1510.845337, 3.604330, 0.0000, 0.0000, 0.0000);
    CreateObject(791, 3757.924561, -1534.848389, 11.747847, 0.0000, 0.0000, 0.0000);
    CreateObject(791, 3791.983887, -1563.289795, 8.139473, 0.0000, 0.0000, 348.7500);
    CreateObject(791, 3812.864990, -1593.867676, 6.958661, 0.0000, 0.0000, 348.7500);
    CreateObject(725, 3723.456055, -1567.258545, 9.823714, 0.0000, 0.0000, 0.0000);
    CreateObject(725, 3760.453369, -1571.402954, 12.857399, 0.0000, 0.0000, 0.0000);
    CreateObject(647, 3744.318115, -1607.141602, 4.269083, 0.0000, 0.0000, 0.0000);
    CreateObject(647, 3743.569092, -1596.478027, 5.981664, 0.0000, 0.0000, 0.0000);
    CreateObject(647, 3753.024902, -1600.721558, 6.563154, 0.0000, 0.0000, 0.0000);
    CreateObject(647, 3746.994385, -1600.804199, 5.478353, 0.0000, 0.0000, 0.0000);
    CreateObject(647, 3735.953613, -1606.727173, 5.174049, 0.0000, 0.0000, 0.0000);
    CreateObject(647, 3705.095459, -1701.069092, 12.791867, 0.0000, 0.0000, 0.0000);
    CreateObject(647, 3670.089355, -1639.577515, 6.109496, 0.0000, 0.0000, 0.0000);
    CreateObject(647, 3734.369141, -1538.259644, 16.308393, 0.0000, 0.0000, 0.0000);
    CreateObject(647, 3736.383301, -1547.734619, 16.488539, 0.0000, 0.0000, 0.0000);
    CreateObject(2780, 3750.888672, -1650.951050, 10.316141, 0.0000, 0.0000, 0.0000);
    CreateObject(1472, 3785.156738, -1589.465576, 13.125991, 0.0000, 0.0000, 123.7499);
    CreateObject(11544, 3753.205811, -1551.381714, 16.919413, 0.0000, 0.0000, 292.5000);
    CreateObject(11544, 3750.776367, -1552.293945, 16.931267, 0.0000, 0.0000, 112.5000);
    CreateObject(1407, 3664.523926, -1698.236206, 17.018938, 0.0000, 0.0000, 152.2661);
    CreateObject(1407, 3660.456055, -1696.285767, 16.967772, 0.0000, 0.0000, 158.2822);
    CreateObject(3173, 3603.152100, -1588.125977, 9.129601, 5.1566, 359.1406, 189.5311);
    CreateObject(759, 3610.761719, -1556.636719, 6.495453, 0.0000, 0.0000, 0.0000);
    CreateObject(759, 3608.068115, -1558.732178, 6.766615, 0.0000, 0.0000, 0.0000);
    CreateObject(759, 3603.555908, -1556.000366, 4.748695, 0.0000, 0.0000, 0.0000);
    CreateObject(762, 3618.320801, -1554.236084, 10.080206, 0.0000, 0.0000, 0.0000);
    CreateObject(762, 3600.367920, -1636.349854, 11.643845, 350.5462, 0.0000, 0.0000);
    CreateObject(1229, 3626.773926, -1597.708008, 23.243427, 0.0000, 0.0000, 0.0000);
    CreateObject(17143, 3895.215820, -1383.047729, 2.752709, 2.5783, 11.1727, 0.0000);
    CreateObject(17143, 3945.111572, -1423.999878, 0.872229, 2.5783, 11.1727, 225.0000);
    CreateObject(6295, 3840.329590, -1397.897461, 30.812443, 0.0000, 0.0000, 281.2500);
    CreateObject(3167, 3890.603760, -1375.242065, 15.702595, 0.0000, 0.0000, 247.5000);
    CreateObject(3169, 3898.919434, -1387.475342, 15.952751, 0.0000, 0.0000, 191.2500);
    CreateObject(3170, 3876.119629, -1378.628052, 14.753471, 1.7189, 0.0000, 315.0000);
    CreateObject(3173, 3875.616943, -1395.013184, 14.816889, 0.0000, 0.0000, 22.5000);
    CreateObject(3170, 3891.120850, -1401.247803, 15.743173, 0.0000, 0.0000, 110.7037);
    CreateObject(850, 3886.160645, -1389.884155, 15.738814, 0.0000, 0.0000, 0.0000);
    CreateObject(851, 3885.153076, -1389.070435, 15.748579, 0.0000, 0.0000, 0.0000);
    CreateObject(3461, 3885.164795, -1389.641235, 14.182182, 0.0000, 0.0000, 0.0000);
    CreateObject(3461, 3886.388672, -1388.633423, 14.059877, 0.0000, 0.0000, 0.0000);
    CreateObject(3461, 3885.982666, -1390.586182, 13.763693, 0.0000, 0.0000, 0.0000);
    CreateObject(687, 3889.299561, -1386.385132, 15.626588, 0.0000, 0.0000, 0.0000);
    CreateObject(687, 3884.765137, -1395.219971, 15.234951, 0.0000, 0.0000, 0.0000);
    CreateObject(687, 3882.224609, -1381.912598, 15.176214, 0.0000, 0.0000, 0.0000);
    CreateObject(690, 3902.370361, -1399.463745, 16.000439, 0.0000, 0.0000, 11.2500);
    CreateObject(690, 3877.502930, -1407.571045, 13.690514, 0.0000, 0.0000, 348.7500);
    CreateObject(690, 3864.644531, -1384.724365, 13.348367, 0.0000, 0.0000, 329.8424);
    CreateObject(690, 3877.508789, -1366.643433, 14.531921, 0.0000, 0.0000, 11.2500);
    CreateObject(690, 3897.568604, -1367.449707, 16.444050, 0.0000, 0.0000, 11.2500);
    CreateObject(690, 3911.761475, -1378.910645, 15.867805, 0.0000, 0.0000, 11.2500);
    CreateObject(3355, 3984.144531, -1422.650513, 13.460039, 0.0000, 0.0000, 247.5000);
    CreateObject(3415, 3975.515137, -1440.745972, 14.549644, 0.0000, 0.0000, 225.0000);
    CreateObject(9238, 3915.372559, -1451.792114, 14.031527, 353.1245, 0.0000, 180.0000);
    CreateObject(12957, 3948.304443, -1432.153076, 14.827108, 0.0000, 0.0000, 11.2500);
    CreateObject(2780, 3949.679443, -1433.690430, 9.653329, 0.0000, 0.0000, 0.0000);
    CreateObject(9153, 3943.016602, -1415.189697, 15.784975, 0.0000, 0.0000, 78.7500);
    CreateObject(826, 3944.859619, -1430.657349, 15.427134, 0.0000, 0.0000, 0.0000);
    CreateObject(698, 3915.383789, -1460.352783, 16.195625, 0.0000, 0.0000, 11.2500);
    CreateObject(695, 3995.298584, -1420.679443, 18.052259, 0.0000, 0.0000, 0.0000);
    CreateObject(695, 3978.694336, -1445.889648, 20.282909, 0.0000, 0.0000, 288.9849);
    CreateObject(690, 3895.999512, -1422.488037, 14.245171, 0.0000, 0.0000, 0.0000);
    CreateObject(690, 3920.275879, -1418.194946, 14.964394, 0.0000, 0.0000, 0.0000);
    CreateObject(690, 3913.067627, -1435.183105, 14.608824, 0.0000, 0.0000, 0.0000);
    CreateObject(690, 3890.017578, -1351.266602, 15.731565, 0.0000, 0.0000, 0.0000);
    CreateObject(690, 3917.307617, -1354.094727, 14.791090, 0.0000, 0.0000, 281.2500);
    CreateObject(690, 3929.975098, -1373.200195, 13.360991, 0.0000, 0.0000, 281.2500);
    CreateObject(690, 3927.412109, -1396.963135, 14.197945, 0.0000, 0.0000, 281.2500);
    CreateObject(745, 3961.552734, -1436.362061, 14.169277, 0.0000, 0.0000, 123.7499);
    CreateObject(655, 3965.112305, -1427.556152, 13.947537, 0.0000, 0.0000, 0.0000);
    CreateObject(655, 3970.576416, -1406.486694, 5.923770, 0.0000, 0.0000, 0.0000);
    CreateObject(655, 3976.797363, -1410.799194, 7.648180, 0.0000, 0.0000, 0.0000);
    CreateObject(690, 3994.098633, -1398.151611, 10.043180, 0.0000, 0.0000, 281.2500);
    CreateObject(690, 3976.994873, -1386.309570, 10.000506, 0.0000, 0.0000, 281.2500);
    CreateObject(3461, 3885.972412, -1389.609253, 14.348867, 0.0000, 0.0000, 0.0000);
    CreateObject(3461, 3887.193115, -1389.877075, 13.919106, 0.0000, 0.0000, 0.0000);
    CreateObject(1462, 3875.982422, -1389.610962, 14.907677, 0.0000, 0.0000, 120.3894);
    CreateObject(16636, 3886.354980, -1377.122437, 16.045549, 331.6386, 359.1406, 303.7500);
    CreateObject(849, 3895.630371, -1385.682739, 16.087004, 0.0000, 0.0000, 0.0000);
    CreateObject(852, 3883.926025, -1401.667847, 15.183157, 0.0000, 0.0000, 0.0000);
    CreateObject(16534, 3889.704590, -1371.562988, 12.974640, 0.0000, 0.0000, 123.7499);
    CreateObject(3515, 3881.871094, -1359.838379, 13.945311, 0.0000, 0.0000, 0.0000);
    CreateObject(8493, 3759.189697, -1397.756470, 15.566860, 0.0000, 0.0000, 0.0000);
    CreateObject(11442, 3865.033691, -1345.244629, 15.988825, 0.0000, 0.0000, 258.7500);
    CreateObject(18552, 3645.767822, -1504.859619, 5.645660, 0.0000, 0.0000, 191.2500);
    CreateObject(1683, 3633.953369, -1672.633667, 12.641703, 347.9679, 7.7349, 3.4377);
    CreateObject(2780, 3653.763428, -1673.235718, 7.515567, 0.0000, 0.0000, 0.0000);
    CreateObject(2780, 3632.508545, -1670.967529, 6.218796, 0.0000, 0.0000, 0.0000);
    CreateObject(3461, 3621.973877, -1671.453369, 12.544586, 3.4377, 255.1488, 0.0000);
    CreateObject(3461, 3644.163574, -1673.094971, 10.066670, 3.4377, 0.8595, 0.0000);
    return 1;
}
also could you show the first 42 lines of your script?
Reply
#7

Sure , Lemme search for the file .
This is the current script i m working on ( i m new to pawno :l )
#include <a_samp>

// This is a comment
// uncomment the line below if you want to write a filterscript
//#define FILTERSCRIPT

#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Blank Filterscript by your name here");
print("--------------------------------------\n");
return 1;
}

public OnFilterScriptExit()
{
return 1;
}

#else

main()
{
print("\n----------------------------------");
print(" Blank Gamemode by your name here");
print("----------------------------------\n");
}

#endif

public OnGameModeInit()
{
CreateObject(13105, 3733.499268, -1544.142456, -4.270958, 2.5783, 0.0000, 0.0000);
CreateObject(13105, 3736.788574, -1651.731812, -11.995636, 353.9839, 4.2972, 182.5783);
CreateObject(13105, 3627.009766, -1606.904541, -5.010248, 357.4217, 4.2972, 115.0783);
CreateObject(12990, 3832.606689, -1536.351929, 0.729400, 0.0000, 0.0000, 112.5001);
CreateObject(18267, 3631.855957, -1604.963623, 15.675936, 0.0000, 0.0000, 33.7500);
CreateObject(17143, 3717.331543, -1700.059448, -5.672412, 12.0321, 0.8594, 157.5000);
CreateObject(17143, 3636.433838, -1751.119995, -5.311341, 12.0321, 0.8594, 348.7499);
CreateObject(18259, 3678.624756, -1725.338379, 18.305386, 0.0000, 0.0000, 202.5000);
CreateObject(12937, 3748.405273, -1652.595947, 10.201055, 353.9839, 0.8594, 247.5000);
CreateObject(9228, 3724.362061, -1536.338745, 15.512306, 2.5783, 0.0000, 246.6406);
CreateObject(791, 3655.547607, -1749.493286, 7.418330, 0.0000, 0.0000, 0.0000);
CreateObject(791, 3635.070313, -1708.532227, 9.466798, 0.0000, 0.0000, 0.0000);
CreateObject(791, 3646.535156, -1639.834473, 6.897704, 0.0000, 0.0000, 0.0000);
CreateObject(791, 3690.845215, -1669.504395, 8.627119, 0.0000, 0.0000, 315.0000);
CreateObject(791, 3718.374023, -1723.181641, 4.764545, 0.0000, 0.0000, 315.0000);
CreateObject(791, 3696.795898, -1755.063599, 7.416756, 0.0000, 0.0000, 315.0000);
CreateObject(790, 3692.341797, -1702.056519, 17.485863, 0.0000, 0.0000, 337.5000);
CreateObject(723, 3758.719971, -1654.416016, 19.068398, 0.0000, 0.0000, 0.0000);
CreateObject(698, 3617.689941, -1531.932739, 12.527681, 0.0000, 0.0000, 348.7500);
CreateObject(698, 3624.051270, -1539.261597, 13.869833, 0.0000, 0.0000, 213.7500);
CreateObject(694, 3650.161621, -1610.389526, 16.596745, 0.0000, 0.0000, 0.0000);
CreateObject(690, 3618.974854, -1611.628784, 11.999763, 0.0000, 0.0000, 0.0000);
CreateObject(690, 3614.048340, -1588.473511, 10.650043, 0.0000, 0.0000, 0.0000);
CreateObject(690, 3655.566162, -1675.888794, 6.804112, 0.0000, 0.0000, 0.0000);
CreateObject(18270, 3708.906494, -1666.982910, 24.419956, 0.0000, 0.0000, 0.0000);
CreateObject(791, 3758.763184, -1628.969238, 2.350965, 0.0000, 0.0000, 0.0000);
CreateObject(791, 3715.390625, -1604.554321, 2.281451, 0.0000, 0.0000, 0.0000);
CreateObject(791, 3687.998535, -1628.592407, 3.726099, 0.0000, 0.0000, 0.0000);
CreateObject(791, 3673.209961, -1573.573730, 5.919230, 0.0000, 0.0000, 0.0000);
CreateObject(791, 3662.150391, -1525.116943, 6.157506, 0.0000, 0.0000, 0.0000);
CreateObject(791, 3713.582764, -1510.845337, 3.604330, 0.0000, 0.0000, 0.0000);
CreateObject(791, 3757.924561, -1534.848389, 11.747847, 0.0000, 0.0000, 0.0000);
CreateObject(791, 3791.983887, -1563.289795, 8.139473, 0.0000, 0.0000, 348.7500);
CreateObject(791, 3812.864990, -1593.867676, 6.958661, 0.0000, 0.0000, 348.7500);
CreateObject(725, 3723.456055, -1567.258545, 9.823714, 0.0000, 0.0000, 0.0000);
CreateObject(725, 3760.453369, -1571.402954, 12.857399, 0.0000, 0.0000, 0.0000);
CreateObject(647, 3744.318115, -1607.141602, 4.269083, 0.0000, 0.0000, 0.0000);
CreateObject(647, 3743.569092, -1596.478027, 5.981664, 0.0000, 0.0000, 0.0000);
CreateObject(647, 3753.024902, -1600.721558, 6.563154, 0.0000, 0.0000, 0.0000);
CreateObject(647, 3746.994385, -1600.804199, 5.478353, 0.0000, 0.0000, 0.0000);
CreateObject(647, 3735.953613, -1606.727173, 5.174049, 0.0000, 0.0000, 0.0000);
CreateObject(647, 3705.095459, -1701.069092, 12.791867, 0.0000, 0.0000, 0.0000);
CreateObject(647, 3670.089355, -1639.577515, 6.109496, 0.0000, 0.0000, 0.0000);
CreateObject(647, 3734.369141, -1538.259644, 16.308393, 0.0000, 0.0000, 0.0000);
CreateObject(647, 3736.383301, -1547.734619, 16.488539, 0.0000, 0.0000, 0.0000);
CreateObject(2780, 3750.888672, -1650.951050, 10.316141, 0.0000, 0.0000, 0.0000);
CreateObject(1472, 3785.156738, -1589.465576, 13.125991, 0.0000, 0.0000, 123.7499);
CreateObject(11544, 3753.205811, -1551.381714, 16.919413, 0.0000, 0.0000, 292.5000);
CreateObject(11544, 3750.776367, -1552.293945, 16.931267, 0.0000, 0.0000, 112.5000);
CreateObject(1407, 3664.523926, -1698.236206, 17.018938, 0.0000, 0.0000, 152.2661);
CreateObject(1407, 3660.456055, -1696.285767, 16.967772, 0.0000, 0.0000, 158.2822);
CreateObject(3173, 3603.152100, -1588.125977, 9.129601, 5.1566, 359.1406, 189.5311);
CreateObject(759, 3610.761719, -1556.636719, 6.495453, 0.0000, 0.0000, 0.0000);
CreateObject(759, 3608.068115, -1558.732178, 6.766615, 0.0000, 0.0000, 0.0000);
CreateObject(759, 3603.555908, -1556.000366, 4.748695, 0.0000, 0.0000, 0.0000);
CreateObject(762, 3618.320801, -1554.236084, 10.080206, 0.0000, 0.0000, 0.0000);
CreateObject(762, 3600.367920, -1636.349854, 11.643845, 350.5462, 0.0000, 0.0000);
CreateObject(1229, 3626.773926, -1597.708008, 23.243427, 0.0000, 0.0000, 0.0000);
CreateObject(17143, 3895.215820, -1383.047729, 2.752709, 2.5783, 11.1727, 0.0000);
CreateObject(17143, 3945.111572, -1423.999878, 0.872229, 2.5783, 11.1727, 225.0000);
CreateObject(6295, 3840.329590, -1397.897461, 30.812443, 0.0000, 0.0000, 281.2500);
CreateObject(3167, 3890.603760, -1375.242065, 15.702595, 0.0000, 0.0000, 247.5000);
CreateObject(3169, 3898.919434, -1387.475342, 15.952751, 0.0000, 0.0000, 191.2500);
CreateObject(3170, 3876.119629, -1378.628052, 14.753471, 1.7189, 0.0000, 315.0000);
CreateObject(3173, 3875.616943, -1395.013184, 14.816889, 0.0000, 0.0000, 22.5000);
CreateObject(3170, 3891.120850, -1401.247803, 15.743173, 0.0000, 0.0000, 110.7037);
CreateObject(850, 3886.160645, -1389.884155, 15.738814, 0.0000, 0.0000, 0.0000);
CreateObject(851, 3885.153076, -1389.070435, 15.748579, 0.0000, 0.0000, 0.0000);
CreateObject(3461, 3885.164795, -1389.641235, 14.182182, 0.0000, 0.0000, 0.0000);
CreateObject(3461, 3886.388672, -1388.633423, 14.059877, 0.0000, 0.0000, 0.0000);
CreateObject(3461, 3885.982666, -1390.586182, 13.763693, 0.0000, 0.0000, 0.0000);
CreateObject(687, 3889.299561, -1386.385132, 15.626588, 0.0000, 0.0000, 0.0000);
CreateObject(687, 3884.765137, -1395.219971, 15.234951, 0.0000, 0.0000, 0.0000);
CreateObject(687, 3882.224609, -1381.912598, 15.176214, 0.0000, 0.0000, 0.0000);
CreateObject(690, 3902.370361, -1399.463745, 16.000439, 0.0000, 0.0000, 11.2500);
CreateObject(690, 3877.502930, -1407.571045, 13.690514, 0.0000, 0.0000, 348.7500);
CreateObject(690, 3864.644531, -1384.724365, 13.348367, 0.0000, 0.0000, 329.8424);
CreateObject(690, 3877.508789, -1366.643433, 14.531921, 0.0000, 0.0000, 11.2500);
CreateObject(690, 3897.568604, -1367.449707, 16.444050, 0.0000, 0.0000, 11.2500);
CreateObject(690, 3911.761475, -1378.910645, 15.867805, 0.0000, 0.0000, 11.2500);
CreateObject(3355, 3984.144531, -1422.650513, 13.460039, 0.0000, 0.0000, 247.5000);
CreateObject(3415, 3975.515137, -1440.745972, 14.549644, 0.0000, 0.0000, 225.0000);
CreateObject(9238, 3915.372559, -1451.792114, 14.031527, 353.1245, 0.0000, 180.0000);
CreateObject(12957, 3948.304443, -1432.153076, 14.827108, 0.0000, 0.0000, 11.2500);
CreateObject(2780, 3949.679443, -1433.690430, 9.653329, 0.0000, 0.0000, 0.0000);
CreateObject(9153, 3943.016602, -1415.189697, 15.784975, 0.0000, 0.0000, 78.7500);
CreateObject(826, 3944.859619, -1430.657349, 15.427134, 0.0000, 0.0000, 0.0000);
CreateObject(698, 3915.383789, -1460.352783, 16.195625, 0.0000, 0.0000, 11.2500);
CreateObject(695, 3995.298584, -1420.679443, 18.052259, 0.0000, 0.0000, 0.0000);
CreateObject(695, 3978.694336, -1445.889648, 20.282909, 0.0000, 0.0000, 288.9849);
CreateObject(690, 3895.999512, -1422.488037, 14.245171, 0.0000, 0.0000, 0.0000);
CreateObject(690, 3920.275879, -1418.194946, 14.964394, 0.0000, 0.0000, 0.0000);
CreateObject(690, 3913.067627, -1435.183105, 14.608824, 0.0000, 0.0000, 0.0000);
CreateObject(690, 3890.017578, -1351.266602, 15.731565, 0.0000, 0.0000, 0.0000);
CreateObject(690, 3917.307617, -1354.094727, 14.791090, 0.0000, 0.0000, 281.2500);
CreateObject(690, 3929.975098, -1373.200195, 13.360991, 0.0000, 0.0000, 281.2500);
CreateObject(690, 3927.412109, -1396.963135, 14.197945, 0.0000, 0.0000, 281.2500);
CreateObject(745, 3961.552734, -1436.362061, 14.169277, 0.0000, 0.0000, 123.7499);
CreateObject(655, 3965.112305, -1427.556152, 13.947537, 0.0000, 0.0000, 0.0000);
CreateObject(655, 3970.576416, -1406.486694, 5.923770, 0.0000, 0.0000, 0.0000);
CreateObject(655, 3976.797363, -1410.799194, 7.648180, 0.0000, 0.0000, 0.0000);
CreateObject(690, 3994.098633, -1398.151611, 10.043180, 0.0000, 0.0000, 281.2500);
CreateObject(690, 3976.994873, -1386.309570, 10.000506, 0.0000, 0.0000, 281.2500);
CreateObject(3461, 3885.972412, -1389.609253, 14.348867, 0.0000, 0.0000, 0.0000);
CreateObject(3461, 3887.193115, -1389.877075, 13.919106, 0.0000, 0.0000, 0.0000);
CreateObject(1462, 3875.982422, -1389.610962, 14.907677, 0.0000, 0.0000, 120.3894);
CreateObject(16636, 3886.354980, -1377.122437, 16.045549, 331.6386, 359.1406, 303.7500);
CreateObject(849, 3895.630371, -1385.682739, 16.087004, 0.0000, 0.0000, 0.0000);
CreateObject(852, 3883.926025, -1401.667847, 15.183157, 0.0000, 0.0000, 0.0000);
CreateObject(16534, 3889.704590, -1371.562988, 12.974640, 0.0000, 0.0000, 123.7499);
CreateObject(3515, 3881.871094, -1359.838379, 13.945311, 0.0000, 0.0000, 0.0000);
CreateObject(8493, 3759.189697, -1397.756470, 15.566860, 0.0000, 0.0000, 0.0000);
CreateObject(11442, 3865.033691, -1345.244629, 15.988825, 0.0000, 0.0000, 258.7500);
CreateObject(18552, 3645.767822, -1504.859619, 5.645660, 0.0000, 0.0000, 191.2500);
CreateObject(1683, 3633.953369, -1672.633667, 12.641703, 347.9679, 7.7349, 3.4377);
CreateObject(2780, 3653.763428, -1673.235718, 7.515567, 0.0000, 0.0000, 0.0000);
CreateObject(2780, 3632.508545, -1670.967529, 6.218796, 0.0000, 0.0000, 0.0000);
CreateObject(3461, 3621.973877, -1671.453369, 12.544586, 3.4377, 255.1488, 0.0000);
CreateObject(3461, 3644.163574, -1673.094971, 10.066670, 3.4377, 0.8595, 0.0000);
return 1;
}

public OnGameModeExit()
{
return 1;
}

public OnPlayerRequestClass(playerid, classid)
{
SetPlayerPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraPos(playerid, 1958.3783, 1343.1572, 15.3746);
SetPlayerCameraLookAt(playerid, 1958.3783, 1343.1572, 15.3746);
return 1;
}

public OnPlayerRequestSpawn(playerid)
{
return 1;
}

public OnPlayerConnect(playerid)
{
return 1;
}

public OnPlayerDisconnect(playerid, reason)
{
return 1;
}

public OnPlayerSpawn(playerid)
{
return 1;
}

public OnPlayerDeath(playerid, killerid, reason)
{
return 1;
}

public OnVehicleSpawn(vehicleid)
{
return 1;
}

public OnVehicleDeath(vehicleid, killerid)
{
return 1;
}

public OnPlayerText(playerid, text[])
{
return 1;
}

public OnPlayerPrivmsg(playerid, recieverid, text[])
{
return 1;
}

public OnPlayerCommandText(playerid, cmdtext[])
{
if (strcmp("/mycommand", cmdtext, true, 10) == 0)
{
// Do something here
return 1;
}
return 0;
}

public OnPlayerInfoChange(playerid)
{
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 OnPlayerSelectedMenuRow(playerid, row)
{
return 1;
}

public OnPlayerExitedMenu(playerid)
{
return 1;
}
Reply
#8

* Sorry For Double Post *

I can compile it , But i can't see the character i m using , it is always CJ & the other weird thing is , i end up falling from the sky and later i got spawn in Blueberry :l
Reply
#9

Check the OnPlayerRequestClass for camera positions. Also, I don't see any AddPlayerClass.
Reply
#10

well if you want to be able to choose a class, go in-game and use /save when you're not in a car. Then go to where GTA SA is installed:

if you're not sure, click on the green+orange cog in the SA-MP window where the server list is. A box should come up, copy the line next to the folders (should be something like C:\Program Files\Rockstar Games\GTA San Andreas\) then open up my documents and paste it into the address bar.

Now look for a text document called "savedpositions". If you can't see it and you are using vista, click on the compatibility button, it should look like this:

And now you should see it.

Open up the file and you will find your saved codes. It should look like:
pawn Код:
AddPlayerClass(287,1958.3783, 1343.1572, 15.3746,270,0,0,0,0,0,0);
//Skin, X,Y,X, Facing Angle, Weapon 1, Ammo 1,  Weapon 2, Ammo 2,  Weapon 3, Ammo 3.
The skin is who it will be in class selection and who you spawn with, the x,y,z is where they will spawn, you can change this in OnPlayerSpawn, the facing angle is which way they will be facing in class selection and the weapons are what they will spawn with.

Like I said, any of this can be changed in OnPlayerSpawn.

Add a few of these and then copy + paste them Above the create objects.

e.g.
pawn Код:
public OnGameModeInit()
{
  AddPlayerClass(287,1958.3783, 1343.1572, 15.3746,270,0,0,0,0,0,0);
  AddPlayerClass(294,1958.3783, 1343.1572, 15.3746,270,0,0,0,0,0,0);
  AddPlayerClass(299,1958.3783, 1343.1572, 15.3746,270,0,0,0,0,0,0);
  CreateObject(13105, 3733.499268, -1544.142456, -4.270958, 2.5783, 0.0000, 0.0000);

Also the gamemode compiles fine now. weird.
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)