28.01.2015, 17:37
I want to put objects for an interior in another virtual world, how could I go about doing it? For instance, this is my mapping filterscript...
I've tried doing this...
But I get these errors...
pawn Код:
#include <a_samp>
#include <streamer>
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Map");
print("--------------------------------------\n");
//Pershing Square
CreateDynamicObject(10432, -2545.52759, -104.59291, 22.31250, 356.85840, 0.00000, 3.14159);
CreateDynamicObject(19381, 1519.50085, -1634.46240, 12.27310, 0.00000, 90.00000, 0.00000);
CreateDynamicObject(19381, 1519.50537, -1624.85620, 12.27310, 0.00000, 90.00000, 0.00000);
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
pawn Код:
#include <a_samp>
#include <streamer>
public OnFilterScriptInit()
{
print("\n--------------------------------------");
print(" Map");
print("--------------------------------------\n");
//Pershing Square
CreateDynamicObject(10432, -2545.52759, -104.59291, 22.31250, 356.85840, 0.00000, 3.14159, worldid = 3, Float:distance = 200.0);
CreateDynamicObject(19381, 1519.50085, -1634.46240, 12.27310, 0.00000, 90.00000, 0.00000, worldid = 3, Float:distance = 200.0);
CreateDynamicObject(19381, 1519.50537, -1624.85620, 12.27310, 0.00000, 90.00000, 0.00000, worldid = 3, Float:distance = 200.0);
return 1;
}
public OnFilterScriptExit()
{
return 1;
}
Код:
error 017: undefined symbol "worldid" warning 215: expression has no effect error 017: undefined symbol "distance" warning 215: expression has no effect error 001: expected token: ";", but found ")"