OBJECT PROBLEM! -
Yasubo - 01.05.2014
When i add this
Код:
CreateObject(987, 2193.7, -1766.1, 15, 0, 0, 268.852);
CreateObject(987, 2193.5, -1778, 15, 0, 0, 268.852);
CreateObject(987, 2193, -1790, 15, 0, 0, 268.852);
CreateObject(987, 2192.6, -1802.1, 15, 0, 0, 282.296);
CreateObject(987, 2194.7, -1813.9, 15, 0, 0, 270.814);
CreateObject(987, 2194.7, -1825.9, 15, 0, 0, 208.849);
CreateObject(987, 2184, -1831.3, 15, 0, 0, 178.845);
CreateObject(987, 2172, -1830.4, 15, 0, 0, 178.841);
CreateObject(987, 2162.8, -1830.6, 15, 0, 0, 178.841);
CreateObject(987, 2151.1, -1830.5, 15, 0, 0, 178.841);
CreateObject(987, 2139.2, -1829.8, 15, 0, 0, 107.073);
CreateObject(987, 2136.2, -1818.5, 15, 0, 0, 90.517);
CreateObject(987, 2136, -1806.8, 15, 0, 0, 90.516);
CreateObject(987, 2136.1, -1800.7, 15, 0, 0, 90.516);
CreateObject(987, 2136, -1788.8, 15, 0, 0, 13.96);
CreateObject(987, 2147.7, -1786.1, 15, 0, 0, 13.958);
CreateObject(987, 2159.2, -1783, 15, 0, 0, 1.662);
CreateObject(987, 2165.2, -1782.8, 15, 0, 0, 1.659);
CreateObject(987, 2177, -1782.6, 17.3, 0, 0, 85.919);
CreateObject(987, 2177.7, -1770.4, 17.3, 0, 0, 135.919);
This doesnt showing up
Код:
//LSPD Button
lspdcopsonly = CreateButton(244.90686035156, 72.328125, 1003.9609375, 3.0); // ONLYS ONLY
lspdeveryone = CreateButton(244.92, 73.42, 1004.27, 92.0); // People, ^^==LSPD
// Donator/gate = CreateDynamicObject(16773, 1643.5999755859, -1714.5, 15.5, 0.000000, 0.000000, 90); //VIP Gate
CreateDynamicObject(2886, 244.90686035156, 72.328125, 1003.9609375,0,0,3.0, 20002); //lspdcopsonly button
CreateDynamicObject(2886, 244.92, 73.42, 1004.27,0,0,92.0, 20002); //lspdeveryone button
lspddoor1 = CreateDynamicObject(1569, 246.35150146484, 72.547714233398, 1002.640625, 0.000000, 0.000000, 0.000000); //
lspddoor2 = CreateDynamicObject(1569, 245.03300476074, 72.568511962891, 1002.640625, 0.000000, 0.000000, 0.000000); //
// Faction gates
LSPDGate = CreateDynamicObject(968, 1544.6943359375, -1630.73046875, 13.27956199646, 0.000000, 90, 90); //
LSPDGate2 = CreateDynamicObject(971, 1588.6428222656, -1638.02734375, 15.240161895752, 0, 0, 181.03271484375);
FBIGate1 = CreateDynamicObject(971, 320.40628051758, -1487.9129638672, 26.900407791138, 0.000000, 0.000000, 144.85501098633); //
FBIGate2 = CreateDynamicObject(971, 283.96463012695, -1543.154296875, 27.167940139771, 0.000000, 0.000000, 326.25500488281); //
I tried to add it with filterscript but still doest work
WHERE IS THE PROBLEM CAMING FROM ?
Re: OBJECT PROBLEM! -
Bingo - 01.05.2014
Adding under which callback?
Re: OBJECT PROBLEM! -
Yasubo - 01.05.2014
Quote:
Originally Posted by Bingo
Adding under which callback?
|
OnGameModeInit
Re: OBJECT PROBLEM! -
Eth - 01.05.2014
ongamemodeinit:
and then :
in anywhere in your gm:
pawn Код:
Load()
{
//LSPD Button
lspdcopsonly = CreateButton(244.90686035156, 72.328125, 1003.9609375, 3.0); // ONLYS ONLY
lspdeveryone = CreateButton(244.92, 73.42, 1004.27, 92.0); // People, ^^==LSPD
// Donator/gate = CreateDynamicObject(16773, 1643.5999755859, -1714.5, 15.5, 0.000000, 0.000000, 90); //VIP Gate
CreateDynamicObject(2886, 244.90686035156, 72.328125, 1003.9609375,0,0,3.0, 20002); //lspdcopsonly button
CreateDynamicObject(2886, 244.92, 73.42, 1004.27,0,0,92.0, 20002); //lspdeveryone button
lspddoor1 = CreateDynamicObject(1569, 246.35150146484, 72.547714233398, 1002.640625, 0.000000, 0.000000, 0.000000); //
lspddoor2 = CreateDynamicObject(1569, 245.03300476074, 72.568511962891, 1002.640625, 0.000000, 0.000000, 0.000000); //
// Faction gates
LSPDGate = CreateDynamicObject(968, 1544.6943359375, -1630.73046875, 13.27956199646, 0.000000, 90, 90); //
LSPDGate2 = CreateDynamicObject(971, 1588.6428222656, -1638.02734375, 15.240161895752, 0, 0, 181.03271484375);
FBIGate1 = CreateDynamicObject(971, 320.40628051758, -1487.9129638672, 26.900407791138, 0.000000, 0.000000, 144.85501098633); //
FBIGate2 = CreateDynamicObject(971, 283.96463012695, -1543.154296875, 27.167940139771, 0.000000, 0.000000, 326.25500488281); //
return 1;
}
Re: OBJECT PROBLEM! -
BigBrainAFK - 01.05.2014
are these your only objects or do you have much more objects?