Simple TDM ( Need help )
#1

So I found a cool island created from object on forum, I wish to create a tdm server on this island beetwen Soldiers and Mafia for my local network friends. We are like 14. So I am new in scripting I just started today ( 15 of August,2009 ). So this is what I made and I got a lot of erors and I realy dont know what to do.

Код:
#include <a_samp>
#include <core>
#include <float>

#define TEAM_SOLDIERS 1
#define TEAM_MAFIA 2
#define TEAM_SOLDIERS_COLOR 0x00FF00AA
#define TEAM_MAFIA_COLOR 0xFF00FFAA
new gTeam[MAX_PLAYERS];

SetPlayerTeamFromClass(playerid, classid)
{
	if (classid == 0)
	{
		gTeam[playerid] = TEAM_SOLDIERS;
	}
	else
	{
		gTeam[playerid] = TEAM_MAFIA;
	}
}
SetPlayerTeamFromClass(playerid, classid);

SetPlayerToTeamColor(playerid)
{
	if (gTeam[playerid] == TEAM_GROVE)
	{
		SetPlayerColor(playerid, TEAM_GROVE_COLOR);
	}
	else if (gTeam[playerid] == TEAM_BALLA)
	{
		SetPlayerColor(playerid, TEAM_BALLA_COLOR);
	}
}
SetPlayerToTeamColor(playerid);

	if (classid == 0)
	{
		gTeam[playerid] = TEAM_SOLDIERS;
	}
		else
	{
		gTeam[playerid] = TEAM_MAFIA;
	}
	if (gTeam[playerid] == TEAM_SOLDIERS)
	{
		SetPlayerColor(playerid, TEAM_SOLDIERS_COLOR);
	}
	else if (gTeam[playerid] == TEAM_MAFIA)
	{
		SetPlayerColor(playerid, TEAM_MAFIA_COLOR);
	}
		else
	{
		SetPlayerColor(playerid, TEAM_MAFIA_COLOR);
	}

AddPlayerClass(287, 1747.443000, -3176.708000, 14.50000, 359.2000, 31, 999, 34, 999, 24, 999);

CreateObject(18225, 1746.442749, -3176.709717, 13.955931, 358.2811, 5.1566, 226.3031);
CreateObject(18225, 1795.270508, -3192.479004, 15.041292, 358.2811, 5.1566, 350.0530);
CreateObject(18225, 1810.947144, -3232.257324, 9.998072, 349.6868, 18.9076, 328.4124);
CreateObject(18225, 1825.567749, -3271.241699, 6.273777, 349.6868, 18.9076, 317.1623);
CreateObject(690, 1755.171875, -3279.245117, 6.652329, 0.0000, 0.0000, 337.5000);
CreateObject(690, 1725.052612, -3283.558350, 3.999838, 357.4217, 0.0000, 337.5000);
CreateObject(690, 1706.318848, -3292.611084, 3.382630, 0.0000, 0.0000, 0.0000);
CreateObject(690, 1703.641724, -3273.760498, 7.633877, 0.0000, 0.0000, 0.0000);
CreateObject(690, 1734.768555, -3267.856201, 8.814281, 0.0000, 0.0000, 0.0000);
CreateObject(690, 1773.164673, -3290.494141, 4.077417, 0.0000, 0.0000, 337.5000);
CreateObject(690, 1682.940186, -3283.076416, 5.784726, 0.0000, 0.0000, 270.0000);
CreateObject(690, 1667.434570, -3291.440430, 4.346689, 0.0000, 0.0000, 180.0000);
CreateObject(690, 1671.029907, -3267.081787, 8.583773, 0.0000, 2.5783, 281.2500);
CreateObject(690, 1653.506104, -3273.910645, 8.745790, 0.0000, 2.5783, 213.7501);
CreateObject(690, 1650.318481, -3292.065186, 3.642612, 0.0000, 2.5783, 191.2501);
CreateObject(690, 1635.254028, -3278.184814, 7.596329, 0.0000, 2.5783, 213.7501);
CreateObject(690, 1623.955444, -3287.741699, 5.164849, 0.0000, 2.5783, 236.2501);
CreateObject(690, 1606.113159, -3278.426270, 6.047171, 0.0000, 2.5783, 236.2501);
CreateObject(690, 1588.221436, -3283.899902, 6.232273, 0.8594, 2.5783, 157.5000);
CreateObject(690, 1744.233765, -3289.131348, 4.502897, 0.8594, 2.5783, 22.5001);
CreateObject(690, 1774.487549, -3389.913818, 2.704010, 0.0000, 2.5783, 247.5001);
CreateObject(690, 1788.979126, -3390.708008, 2.703423, 0.0000, 2.5783, 247.5001);
CreateObject(690, 1761.866577, -3394.324707, 5.213995, 0.0000, 2.5783, 225.0001);
CreateObject(690, 1751.141357, -3394.957031, 3.349558, 0.0000, 2.5783, 196.4840);
CreateObject(690, 1733.931641, -3394.434082, 4.498350, 0.0000, 2.5783, 135.0000);
CreateObject(690, 1717.955933, -3394.524170, 4.276633, 0.0000, 2.5783, 67.5001);
CreateObject(690, 1701.470825, -3393.394287, 4.005806, 0.0000, 2.5783, 22.5000);
CreateObject(690, 1690.884644, -3390.804688, 3.358764, 0.0000, 2.5783, 101.2502);
CreateObject(690, 1675.532959, -3392.912109, 3.520401, 0.0000, 2.5783, 56.2502);
CreateObject(690, 1662.651978, -3386.567383, 1.778315, 0.0000, 2.5783, 90.0002);
CreateObject(690, 1647.604370, -3388.049316, 1.993582, 0.0000, 2.5783, 45.0003);
CreateObject(690, 1632.440674, -3385.249268, 1.696732, 0.0000, 2.5783, 45.0003);
CreateObject(690, 1616.836426, -3385.177490, 1.366890, 0.0000, 2.5783, 45.0003);
CreateObject(690, 1602.918945, -3383.528564, 0.824169, 0.0000, 2.5783, 78.7502);
CreateObject(690, 1587.085693, -3382.211426, 0.860552, 0.0000, 2.5783, 101.2502);
CreateObject(690, 1696.733276, -3286.609863, 4.272369, 0.0000, 0.0000, 292.5000);
CreateObject(690, 1739.279785, -3382.268311, 0.785408, 0.0000, 0.0000, 67.5000);
CreateObject(8342, 1630.877319, -3218.501221, 17.964178, 0.0000, 0.0000, 90.0000);
CreateObject(8342, 1745.869141, -3234.969482, 17.772644, 0.0000, 0.0000, 181.9602);
CreateObject(3268, 1696.905762, -3194.681396, 17.309662, 0.0000, 0.0000, 89.1405);
CreateObject(7657, 1697.524048, -3240.068604, 17.094601, 0.0000, 0.0000, 359.1406);
CreateObject(9244, 1639.727051, -3226.275391, 21.644062, 0.0000, 0.0000, 90.0000);
CreateObject(9247, 1729.158569, -3196.178223, 24.834085, 358.2811, 3.4377, 183.5150);
CreateObject(11081, 1653.720825, -3229.939453, 22.808931, 0.0000, 0.0000, 0.0000);
CreateObject(898, 1770.702271, -3196.610596, 21.883707, 0.0000, 0.0000, 326.5593);
CreateObject(898, 1770.041504, -3208.857422, 20.762650, 0.0000, 0.0000, 190.7771);
CreateObject(8342, 1769.477539, -3458.653076, 18.357309, 0.0000, 358.2811, 268.7632);
CreateObject(8342, 1654.169312, -3438.310059, 17.817204, 357.4217, 0.0000, 358.8406);
CreateObject(7657, 1702.734741, -3435.364258, 16.874054, 2.5783, 0.8594, 178.2811);
CreateObject(3268, 1703.507935, -3490.064453, 19.219763, 0.0000, 0.0000, 265.6255);
CreateObject(9247, 1733.221436, -3484.899414, 26.131340, 358.2811, 0.0000, 357.4215);
CreateObject(9244, 1646.573730, -3447.020020, 22.335878, 350.5462, 0.0000, 359.1406);
CreateObject(11081, 1649.705444, -3464.835449, 25.443161, 357.4217, 0.0000, 270.0000);
CreateObject(744, 1703.909424, -3502.256104, 17.588070, 0.0000, 0.0000, 47.5010);
CreateObject(744, 1700.815186, -3501.973145, 17.892551, 0.0000, 0.0000, 47.5010);
CreateObject(3279, 1693.638428, -3443.168701, 16.070150, 0.0000, 355.7028, 270.0000);
CreateObject(3279, 1714.566040, -3444.026367, 16.222797, 0.0000, 355.7028, 266.5623);
CreateObject(3279, 1708.109619, -3231.228271, 15.837685, 0.0000, 356.5623, 91.7963);
CreateObject(3279, 1685.877319, -3231.741211, 15.925730, 0.0000, 355.7028, 91.7963);
CreateObject(9958, 1637.950317, -3339.818604, 4.554112, 0.0000, 0.0000, 90.0000);
CreateObject(10828, 1693.328857, -3326.647217, -1.628667, 0.0000, 0.0000, 90.8594);
CreateObject(10828, 1693.850464, -3361.853027, -1.628378, 0.0000, 0.0000, 90.8594);
CreateObject(9245, 1678.173462, -3304.915771, 12.398520, 0.8594, 0.0000, 0.8594);
CreateObject(9245, 1707.021606, -3380.262207, 12.662771, 0.8594, 0.0000, 180.0000);
CreateObject(3279, 1711.724854, -3380.607422, 5.925634, 0.0000, 0.0000, 270.0000);
CreateObject(3279, 1673.271729, -3305.544922, 5.641544, 0.0000, 0.0000, 91.7188);
CreateObject(16093, 1754.540405, -3385.020508, 6.290112, 0.0000, 0.0000, 180.0773);
CreateObject(16093, 1754.148804, -3295.669189, 7.155363, 0.0000, 0.0000, 0.0773);
CreateObject(690, 1691.868652, -3261.239258, 10.148687, 0.0000, 0.0000, 0.0000);
CreateObject(690, 1717.601929, -3262.229980, 10.068844, 0.0000, 0.0000, 348.7500);
CreateObject(690, 1732.576050, -3252.509521, 11.908381, 0.0000, 0.0000, 348.7500);
CreateObject(690, 1750.806885, -3260.287842, 10.887053, 0.0000, 0.0000, 315.0000);
CreateObject(690, 1768.805786, -3263.188477, 10.430704, 0.0000, 0.0000, 225.0000);
CreateObject(690, 1754.002563, -3246.741211, 13.269321, 0.0000, 0.0000, 225.0000);
CreateObject(690, 1714.048950, -3247.261719, 12.437366, 0.0000, 0.0000, 202.5000);
CreateObject(690, 1678.563965, -3249.863281, 13.139971, 0.0000, 0.0000, 78.7500);
CreateObject(690, 1658.113037, -3248.681152, 12.574078, 0.0000, 0.0000, 22.5000);
CreateObject(690, 1639.656982, -3260.620361, 9.308132, 0.0000, 0.0000, 348.7499);
CreateObject(690, 1639.875122, -3244.446289, 12.450142, 0.0000, 0.0000, 315.0000);
CreateObject(690, 1619.294189, -3262.443115, 10.573198, 0.0000, 0.0000, 337.5000);
CreateObject(690, 1620.015747, -3243.557617, 12.943125, 0.0000, 0.0000, 337.5000);
CreateObject(690, 1598.958984, -3255.791260, 11.891191, 0.0000, 0.0000, 11.2500);
CreateObject(690, 1771.628418, -3414.627930, 9.353333, 0.0000, 0.0000, 236.2501);
CreateObject(690, 1754.621704, -3418.357666, 10.719851, 0.0000, 0.0000, 247.5000);
CreateObject(690, 1737.061768, -3417.822510, 10.651628, 0.0000, 0.0000, 258.7500);
CreateObject(690, 1745.429443, -3431.135010, 12.744765, 0.0000, 0.0000, 168.7500);
CreateObject(690, 1725.154907, -3428.396729, 12.467919, 0.0000, 0.0000, 213.7500);
CreateObject(690, 1709.122437, -3415.599365, 10.522470, 0.0000, 0.0000, 270.0000);
CreateObject(690, 1687.521118, -3411.641113, 9.575278, 0.0000, 0.0000, 303.7500);
CreateObject(690, 1678.849243, -3427.617920, 11.607334, 0.0000, 0.0000, 348.7500);
CreateObject(690, 1660.945923, -3427.884033, 12.111573, 0.0000, 0.0000, 303.7500);
CreateObject(690, 1669.646973, -3409.262207, 8.661023, 0.0000, 0.0000, 236.2500);
CreateObject(690, 1652.233643, -3408.301270, 8.493723, 0.0000, 0.0000, 213.7500);
CreateObject(690, 1643.926880, -3430.008301, 12.756479, 0.0000, 0.0000, 180.0000);
CreateObject(690, 1634.111328, -3407.969971, 8.661036, 0.0000, 0.0000, 213.7500);
CreateObject(690, 1624.735840, -3428.228516, 12.488615, 0.0000, 0.0000, 225.0000);
CreateObject(690, 1615.936157, -3407.605469, 8.597561, 0.0000, 0.0000, 258.7500);
CreateObject(690, 1595.306641, -3402.228516, 8.211250, 0.0000, 0.0000, 236.2500);
CreateObject(690, 1583.806763, -3420.079590, 11.269659, 0.0000, 0.0000, 270.0000);
CreateObject(690, 1603.593750, -3423.618408, 11.443804, 0.0000, 0.0000, 292.5000);
CreateObject(18225, 1805.433594, -3189.560547, -4.298374, 358.2811, 5.1566, 355.2867);
CreateObject(18225, 1827.803955, -3234.291260, -2.227585, 358.2811, 5.1566, 346.6922);
CreateObject(18225, 1837.286133, -3287.614746, -9.223156, 358.2811, 5.1566, 311.3003);
CreateObject(18225, 1810.458984, -3499.065186, -4.282757, 358.2811, 5.1566, 300.9869);
CreateObject(18225, 1739.790771, -3534.721436, -0.497073, 321.3253, 5.1566, 108.3497);
CreateObject(18225, 1549.904785, -3503.958740, 2.801003, 321.3253, 44.6907, 200.3116);
CreateObject(901, 1725.165039, -3503.972412, 17.887943, 0.0000, 0.0000, 337.5000);
CreateObject(16641, 1774.282959, -3381.663086, 4.214759, 344.5301, 0.0000, 0.0000);
CreateObject(16641, 1735.358032, -3297.615479, 5.882468, 343.6707, 0.0000, 180.0000);
Reply
#2

What errors do you get?
Reply
#3

You have to place your objects and "AddPlayerClass" function in "OnGameModeInit"
Reply
#4

Quote:
Originally Posted by [DK
AzaxYo ]
What errors do you get?
C:\DOCUME~1\Mihai\0016~1\michael.pwn(22) : error 021: symbol already defined: "SetPlayerTeamFromClass"
C:\DOCUME~1\Mihai\0016~1\michael.pwn(35) : error 021: symbol already defined: "SetPlayerToTeamColor"
C:\DOCUME~1\Mihai\0016~1\michael.pwn(37) : error 010: invalid function or declaration
C:\DOCUME~1\Mihai\0016~1\michael.pwn(41) : error 010: invalid function or declaration
C:\DOCUME~1\Mihai\0016~1\michael.pwn(45) : error 010: invalid function or declaration
C:\DOCUME~1\Mihai\0016~1\michael.pwn(49) : error 010: invalid function or declaration
C:\DOCUME~1\Mihai\0016~1\michael.pwn(53) : error 010: invalid function or declaration
C:\DOCUME~1\Mihai\0016~1\michael.pwn(5 : error 021: symbol already defined: "AddPlayerClass"
C:\DOCUME~1\Mihai\0016~1\michael.pwn(60) : error 021: symbol already defined: "CreateObject"
C:\DOCUME~1\Mihai\0016~1\michael.pwn(169) : warning 203: symbol is never used: "SetPlayerTeamFromClass"
C:\DOCUME~1\Mihai\0016~1\michael.pwn(169) : warning 203: symbol is never used: "SetPlayerToTeamColor"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


9 Errors.


Quote:
Originally Posted by Joe Staff
You have to place your objects and "AddPlayerClass" function in "OnGameModeInit"
I dont realy understand can you explain?
Reply
#5

"OnGameModeInit" is a native callback for SA-MP. I highly suggest you read the beginner tutorials on http://wiki.sa-mp.com to learn the basics of scripting before you continue, but since only the things are in callbacks are being used, you have to place your functions not your definitions into a callback, in this case "Public OnGameModeInit()"
Reply
#6

pawn Код:
#include <a_samp>
#include <core>
#include <float>

#define TEAM_SOLDIERS 1
#define TEAM_MAFIA 2
#define TEAM_SOLDIERS_COLOR 0x00FF00AA
#define TEAM_MAFIA_COLOR 0xFF00FFAA
new gTeam[MAX_PLAYERS];

SetPlayerTeamFromClass(playerid, classid)
{
    if (classid == 0)
    {
        gTeam[playerid] = TEAM_SOLDIERS;
    }
    else
    {
        gTeam[playerid] = TEAM_MAFIA;
    }
}

SetPlayerToTeamColor(playerid)
{
    if (gTeam[playerid] == TEAM_GROVE)
    {
        SetPlayerColor(playerid, TEAM_GROVE_COLOR);
    }
    else if (gTeam[playerid] == TEAM_BALLA)
    {
        SetPlayerColor(playerid, TEAM_BALLA_COLOR);
    }
}

public OnPlayerRequestClass(playerid, classid)
{
    if (classid == 0)
    {
        gTeam[playerid] = TEAM_SOLDIERS;
    }
        else
    {
        gTeam[playerid] = TEAM_MAFIA;
    }
    if (gTeam[playerid] == TEAM_SOLDIERS)
    {
        SetPlayerColor(playerid, TEAM_SOLDIERS_COLOR);
    }
    else if (gTeam[playerid] == TEAM_MAFIA)
    {
        SetPlayerColor(playerid, TEAM_MAFIA_COLOR);
    }
        else
    {
        SetPlayerColor(playerid, TEAM_MAFIA_COLOR);
    }
    return 1;
}

public OnGameModeInit()
{
    AddPlayerClass(287, 1747.443000, -3176.708000, 14.50000, 359.2000, 31, 999, 34, 999, 24, 999);

    CreateObject(18225, 1746.442749, -3176.709717, 13.955931, 358.2811, 5.1566, 226.3031);
    CreateObject(18225, 1795.270508, -3192.479004, 15.041292, 358.2811, 5.1566, 350.0530);
    CreateObject(18225, 1810.947144, -3232.257324, 9.998072, 349.6868, 18.9076, 328.4124);
    CreateObject(18225, 1825.567749, -3271.241699, 6.273777, 349.6868, 18.9076, 317.1623);
    CreateObject(690, 1755.171875, -3279.245117, 6.652329, 0.0000, 0.0000, 337.5000);
    CreateObject(690, 1725.052612, -3283.558350, 3.999838, 357.4217, 0.0000, 337.5000);
    CreateObject(690, 1706.318848, -3292.611084, 3.382630, 0.0000, 0.0000, 0.0000);
    CreateObject(690, 1703.641724, -3273.760498, 7.633877, 0.0000, 0.0000, 0.0000);
    CreateObject(690, 1734.768555, -3267.856201, 8.814281, 0.0000, 0.0000, 0.0000);
    CreateObject(690, 1773.164673, -3290.494141, 4.077417, 0.0000, 0.0000, 337.5000);
    CreateObject(690, 1682.940186, -3283.076416, 5.784726, 0.0000, 0.0000, 270.0000);
    CreateObject(690, 1667.434570, -3291.440430, 4.346689, 0.0000, 0.0000, 180.0000);
    CreateObject(690, 1671.029907, -3267.081787, 8.583773, 0.0000, 2.5783, 281.2500);
    CreateObject(690, 1653.506104, -3273.910645, 8.745790, 0.0000, 2.5783, 213.7501);
    CreateObject(690, 1650.318481, -3292.065186, 3.642612, 0.0000, 2.5783, 191.2501);
    CreateObject(690, 1635.254028, -3278.184814, 7.596329, 0.0000, 2.5783, 213.7501);
    CreateObject(690, 1623.955444, -3287.741699, 5.164849, 0.0000, 2.5783, 236.2501);
    CreateObject(690, 1606.113159, -3278.426270, 6.047171, 0.0000, 2.5783, 236.2501);
    CreateObject(690, 1588.221436, -3283.899902, 6.232273, 0.8594, 2.5783, 157.5000);
    CreateObject(690, 1744.233765, -3289.131348, 4.502897, 0.8594, 2.5783, 22.5001);
    CreateObject(690, 1774.487549, -3389.913818, 2.704010, 0.0000, 2.5783, 247.5001);
    CreateObject(690, 1788.979126, -3390.708008, 2.703423, 0.0000, 2.5783, 247.5001);
    CreateObject(690, 1761.866577, -3394.324707, 5.213995, 0.0000, 2.5783, 225.0001);
    CreateObject(690, 1751.141357, -3394.957031, 3.349558, 0.0000, 2.5783, 196.4840);
    CreateObject(690, 1733.931641, -3394.434082, 4.498350, 0.0000, 2.5783, 135.0000);
    CreateObject(690, 1717.955933, -3394.524170, 4.276633, 0.0000, 2.5783, 67.5001);
    CreateObject(690, 1701.470825, -3393.394287, 4.005806, 0.0000, 2.5783, 22.5000);
    CreateObject(690, 1690.884644, -3390.804688, 3.358764, 0.0000, 2.5783, 101.2502);
    CreateObject(690, 1675.532959, -3392.912109, 3.520401, 0.0000, 2.5783, 56.2502);
    CreateObject(690, 1662.651978, -3386.567383, 1.778315, 0.0000, 2.5783, 90.0002);
    CreateObject(690, 1647.604370, -3388.049316, 1.993582, 0.0000, 2.5783, 45.0003);
    CreateObject(690, 1632.440674, -3385.249268, 1.696732, 0.0000, 2.5783, 45.0003);
    CreateObject(690, 1616.836426, -3385.177490, 1.366890, 0.0000, 2.5783, 45.0003);
    CreateObject(690, 1602.918945, -3383.528564, 0.824169, 0.0000, 2.5783, 78.7502);
    CreateObject(690, 1587.085693, -3382.211426, 0.860552, 0.0000, 2.5783, 101.2502);
    CreateObject(690, 1696.733276, -3286.609863, 4.272369, 0.0000, 0.0000, 292.5000);
    CreateObject(690, 1739.279785, -3382.268311, 0.785408, 0.0000, 0.0000, 67.5000);
    CreateObject(8342, 1630.877319, -3218.501221, 17.964178, 0.0000, 0.0000, 90.0000);
    CreateObject(8342, 1745.869141, -3234.969482, 17.772644, 0.0000, 0.0000, 181.9602);
    CreateObject(3268, 1696.905762, -3194.681396, 17.309662, 0.0000, 0.0000, 89.1405);
    CreateObject(7657, 1697.524048, -3240.068604, 17.094601, 0.0000, 0.0000, 359.1406);
    CreateObject(9244, 1639.727051, -3226.275391, 21.644062, 0.0000, 0.0000, 90.0000);
    CreateObject(9247, 1729.158569, -3196.178223, 24.834085, 358.2811, 3.4377, 183.5150);
    CreateObject(11081, 1653.720825, -3229.939453, 22.808931, 0.0000, 0.0000, 0.0000);
    CreateObject(898, 1770.702271, -3196.610596, 21.883707, 0.0000, 0.0000, 326.5593);
    CreateObject(898, 1770.041504, -3208.857422, 20.762650, 0.0000, 0.0000, 190.7771);
    CreateObject(8342, 1769.477539, -3458.653076, 18.357309, 0.0000, 358.2811, 268.7632);
    CreateObject(8342, 1654.169312, -3438.310059, 17.817204, 357.4217, 0.0000, 358.8406);
    CreateObject(7657, 1702.734741, -3435.364258, 16.874054, 2.5783, 0.8594, 178.2811);
    CreateObject(3268, 1703.507935, -3490.064453, 19.219763, 0.0000, 0.0000, 265.6255);
    CreateObject(9247, 1733.221436, -3484.899414, 26.131340, 358.2811, 0.0000, 357.4215);
    CreateObject(9244, 1646.573730, -3447.020020, 22.335878, 350.5462, 0.0000, 359.1406);
    CreateObject(11081, 1649.705444, -3464.835449, 25.443161, 357.4217, 0.0000, 270.0000);
    CreateObject(744, 1703.909424, -3502.256104, 17.588070, 0.0000, 0.0000, 47.5010);
    CreateObject(744, 1700.815186, -3501.973145, 17.892551, 0.0000, 0.0000, 47.5010);
    CreateObject(3279, 1693.638428, -3443.168701, 16.070150, 0.0000, 355.7028, 270.0000);
    CreateObject(3279, 1714.566040, -3444.026367, 16.222797, 0.0000, 355.7028, 266.5623);
    CreateObject(3279, 1708.109619, -3231.228271, 15.837685, 0.0000, 356.5623, 91.7963);
    CreateObject(3279, 1685.877319, -3231.741211, 15.925730, 0.0000, 355.7028, 91.7963);
    CreateObject(9958, 1637.950317, -3339.818604, 4.554112, 0.0000, 0.0000, 90.0000);
    CreateObject(10828, 1693.328857, -3326.647217, -1.628667, 0.0000, 0.0000, 90.8594);
    CreateObject(10828, 1693.850464, -3361.853027, -1.628378, 0.0000, 0.0000, 90.8594);
    CreateObject(9245, 1678.173462, -3304.915771, 12.398520, 0.8594, 0.0000, 0.8594);
    CreateObject(9245, 1707.021606, -3380.262207, 12.662771, 0.8594, 0.0000, 180.0000);
    CreateObject(3279, 1711.724854, -3380.607422, 5.925634, 0.0000, 0.0000, 270.0000);
    CreateObject(3279, 1673.271729, -3305.544922, 5.641544, 0.0000, 0.0000, 91.7188);
    CreateObject(16093, 1754.540405, -3385.020508, 6.290112, 0.0000, 0.0000, 180.0773);
    CreateObject(16093, 1754.148804, -3295.669189, 7.155363, 0.0000, 0.0000, 0.0773);
    CreateObject(690, 1691.868652, -3261.239258, 10.148687, 0.0000, 0.0000, 0.0000);
    CreateObject(690, 1717.601929, -3262.229980, 10.068844, 0.0000, 0.0000, 348.7500);
    CreateObject(690, 1732.576050, -3252.509521, 11.908381, 0.0000, 0.0000, 348.7500);
    CreateObject(690, 1750.806885, -3260.287842, 10.887053, 0.0000, 0.0000, 315.0000);
    CreateObject(690, 1768.805786, -3263.188477, 10.430704, 0.0000, 0.0000, 225.0000);
    CreateObject(690, 1754.002563, -3246.741211, 13.269321, 0.0000, 0.0000, 225.0000);
    CreateObject(690, 1714.048950, -3247.261719, 12.437366, 0.0000, 0.0000, 202.5000);
    CreateObject(690, 1678.563965, -3249.863281, 13.139971, 0.0000, 0.0000, 78.7500);
    CreateObject(690, 1658.113037, -3248.681152, 12.574078, 0.0000, 0.0000, 22.5000);
    CreateObject(690, 1639.656982, -3260.620361, 9.308132, 0.0000, 0.0000, 348.7499);
    CreateObject(690, 1639.875122, -3244.446289, 12.450142, 0.0000, 0.0000, 315.0000);
    CreateObject(690, 1619.294189, -3262.443115, 10.573198, 0.0000, 0.0000, 337.5000);
    CreateObject(690, 1620.015747, -3243.557617, 12.943125, 0.0000, 0.0000, 337.5000);
    CreateObject(690, 1598.958984, -3255.791260, 11.891191, 0.0000, 0.0000, 11.2500);
    CreateObject(690, 1771.628418, -3414.627930, 9.353333, 0.0000, 0.0000, 236.2501);
    CreateObject(690, 1754.621704, -3418.357666, 10.719851, 0.0000, 0.0000, 247.5000);
    CreateObject(690, 1737.061768, -3417.822510, 10.651628, 0.0000, 0.0000, 258.7500);
    CreateObject(690, 1745.429443, -3431.135010, 12.744765, 0.0000, 0.0000, 168.7500);
    CreateObject(690, 1725.154907, -3428.396729, 12.467919, 0.0000, 0.0000, 213.7500);
    CreateObject(690, 1709.122437, -3415.599365, 10.522470, 0.0000, 0.0000, 270.0000);
    CreateObject(690, 1687.521118, -3411.641113, 9.575278, 0.0000, 0.0000, 303.7500);
    CreateObject(690, 1678.849243, -3427.617920, 11.607334, 0.0000, 0.0000, 348.7500);
    CreateObject(690, 1660.945923, -3427.884033, 12.111573, 0.0000, 0.0000, 303.7500);
    CreateObject(690, 1669.646973, -3409.262207, 8.661023, 0.0000, 0.0000, 236.2500);
    CreateObject(690, 1652.233643, -3408.301270, 8.493723, 0.0000, 0.0000, 213.7500);
    CreateObject(690, 1643.926880, -3430.008301, 12.756479, 0.0000, 0.0000, 180.0000);
    CreateObject(690, 1634.111328, -3407.969971, 8.661036, 0.0000, 0.0000, 213.7500);
    CreateObject(690, 1624.735840, -3428.228516, 12.488615, 0.0000, 0.0000, 225.0000);
    CreateObject(690, 1615.936157, -3407.605469, 8.597561, 0.0000, 0.0000, 258.7500);
    CreateObject(690, 1595.306641, -3402.228516, 8.211250, 0.0000, 0.0000, 236.2500);
    CreateObject(690, 1583.806763, -3420.079590, 11.269659, 0.0000, 0.0000, 270.0000);
    CreateObject(690, 1603.593750, -3423.618408, 11.443804, 0.0000, 0.0000, 292.5000);
    CreateObject(18225, 1805.433594, -3189.560547, -4.298374, 358.2811, 5.1566, 355.2867);
    CreateObject(18225, 1827.803955, -3234.291260, -2.227585, 358.2811, 5.1566, 346.6922);
    CreateObject(18225, 1837.286133, -3287.614746, -9.223156, 358.2811, 5.1566, 311.3003);
    CreateObject(18225, 1810.458984, -3499.065186, -4.282757, 358.2811, 5.1566, 300.9869);
    CreateObject(18225, 1739.790771, -3534.721436, -0.497073, 321.3253, 5.1566, 108.3497);
    CreateObject(18225, 1549.904785, -3503.958740, 2.801003, 321.3253, 44.6907, 200.3116);
    CreateObject(901, 1725.165039, -3503.972412, 17.887943, 0.0000, 0.0000, 337.5000);
    CreateObject(16641, 1774.282959, -3381.663086, 4.214759, 344.5301, 0.0000, 0.0000);
    CreateObject(16641, 1735.358032, -3297.615479, 5.882468, 343.6707, 0.0000, 180.0000);
    return 1;
}
Try this, And after that follow what Joe Staff said, go and read the wiki to understand.
I only gave you a part, Now you need to figure out how to use those Callbacks you made, Not that hard.
http://wiki.sa-mp.com
Reply
#7

Headucation what you did? The ground disapeard can you recover it?

Reply
#8

Erm..lol.

You can't just blame him for what he didn't do XD

Your object isn't appearing because you probably deleted a line..You can't just mess it up.
Reply
#9

Quote:
Originally Posted by XtremeChio
Erm..lol.

You can't just blame him for what he didn't do XD

Your object isn't appearing because you probably deleted a line..You can't just mess it up.
LOL realy cant stop loling
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)