Originally Posted By: KDuke
It would be more like this:

Code:
#include <acknex.h>
#include <default.c>
#define PRAGMA_PATH "pix";
#define PRAGMA_PATH "maps";
#define PRAGMA_PATH "models";

ENTITY* postac1 = null;

function main()
{
	level_load("level1.wmb"); //wczytuje pierwsza mape z wyborem postaci
	wait(-2);
	postac1 = ent_create("postac1.mdl", vector(0,0,37), NULL);
	
}



greetings K-Duke
1stly, remove the ; you have after #define PRAGMA_PATH "pix" ("maps" and "models") this should then locate your model

Originally Posted By: Helghast
view entity will show up anyway.
Try it without that laugh

regards,
Incorrect.
View entities are always drawn based on the views position, if you're trying to create something that's always in 1 place on the camera, use a view entity, otherwise use ent_create, (or if you're doing multiplayer scripts use ent_createlocal, to make it appear only on the client (though ignore that for now)). You'll need to set flags2 = SHOW; instead of flags = SHOW;
and change the z = 37; to x = 37;

if you're trying to create a view entity,
Code:
ENTITY* postac1 =
{
type = "postac1.mdl";
layer = 2;
x = 0;
y = 0;
z = 37;
flags = SHOW;
}//change this to

ENTITY* postac1 =
{
type = "postac1.mdl";
layer = 2;
x = 37;
y = 0;
z = 0;
flags2 = SHOW;
}



if you want the entity specifically at (0, 0, 37) in world coordinates, use KDudes' example, but still remove the ; on lines 3,4 and 5

Hope this helps