createdynamicobject is used by incognito's streamer plugin. You need to install it to you server so it can work.
Here's an example of a map script in pawn using this streamer:
PHP код:
#include <a_samp>
#include <streamer>
public OnFilterScriptInit() //when the script starts
{
CreateDynamicObject(654,1174.58129883,-2037.50842285,71.03858185,0.00000000,0.00000000,0.00000000);
CreateDynamicObject(654,1174.72155762,-2037.07385254,70.79953766,0.00000000,0.00000000,50.00000000);
CreateDynamicObject(727,1175.03857422,-2036.85888672,70.37965393,0.00000000,0.00000000,0.00000000);
CreateDynamicObject(727,1175.18627930,-2036.97387695,72.16234589,0.00000000,0.00000000,0.00000000);
CreateDynamicObject(664,1174.46826172,-2036.67236328,67.50781250,0.00000000,0.00000000,0.00000000);
//the objects above are created
...
...
...
}
public OnPlayerConnect(playerid) //when a player connects
{
RemoveBuildingForPlayer(playerid, 615, 0.0, 0.0, 0.0, 200.0);
return 1;
//it will remove the building for that player
}