Is it possible that the first time you test something it never works?
Well, the time has come again.
Code:
new origin[3]
pev(i,pev_origin,origin)
new uzi=engfunc(EngFunc_CreateNamedEntity,engfunc(EngFunc_AllocString,"weapon_uziakimbo"))
set_pev(uzi,pev_spawnflags,1024)
set_pev(uzi,pev_origin,origin)
set_pev(uzi,pev_model,"models/w_uzi.mdl")
This does nothing - there does not at least appear an error message in the console.
This should do nothing more than spawn an uziakimbo with spawnflags set to 1024 at the Players origin.
But actually it does nothing - why?
__________________