CreateObject
#1

I have GodFather, and i have object codes, i dont know where i do add object codes?
Код:
CreateObject(1555, 1779.832275, -1941.625854, 12.571463, 0.0000, 0.0000, 0.0000);
CreateObject(1270, 1807.094116, -1904.528687, 13.423203, 0.0000, 0.0000, 90.0000);
CreateObject(1232, 1831.704468, -1876.899170, 15.209284, 0.0000, 0.0000, 0.0000);
CreateObject(1232, 1833.935547, -1850.950806, 15.026390, 0.0000, 0.0000, 0.0000);
CreateObject(1270, 1807.252441, -1907.888672, 13.420627, 0.0000, 0.0000, 269.9999);
CreateObject(1270, 1807.190674, -1911.559570, 13.417982, 0.0000, 0.0000, 0.0000);
CreateObject(1270, 1806.937866, -1915.895752, 13.414990, 0.0000, 0.0000, 0.0000);
CreateObject(1270, 1807.205566, -1923.162109, 13.409472, 0.0000, 0.0000, 0.0000);
CreateObject(17566, 1777.913086, -1941.538086, 14.285986, 0.0000, 0.0000, 90.0000);
CreateObject(17566, 1774.017944, -1941.551147, 14.287930, 0.0000, 0.0000, 90.0000);
CreateObject(17566, 1770.340088, -1941.538574, 14.289686, 0.0000, 0.0000, 90.0000);
CreateObject(17566, 1768.812500, -1939.625000, 14.284357, 0.0000, 0.0000, 348.7500);
CreateObject(17566, 1769.281982, -1937.245117, 14.287418, 0.0000, 0.0000, 348.7500);
CreateObject(17566, 1779.759399, -1941.433228, 14.332169, 0.0000, 0.0000, 90.0000);
Where i add? I finded "CreateObject" and text not found.. ?
Reply
#2

OnGameModeInit.

Leopard
Reply
#3

i have found, and ? ..
Reply
#4

Did you included them?

Type #include <a_objects> at the beginning of your script.
Reply
#5

Quote:
Originally Posted by Murphy.
Did you included them?

Type #include <a_objects> at the beginning of your script.
Is it very unneeded. a_samp already has #include <a_objects>.

Quote:
Originally Posted by Martinike
i have found, and ? ..
pawn Код:
public OnGameModeInit()
{
  //all your CreateObjects here
}
Reply


Forum Jump:


Users browsing this thread: