PHP Code:
public plugin_precache( ) {
RegisterHam( Ham_Spawn, "func_pushable", "Fwd_SpawnPushable", 1 )
}
public Fwd_SpawnPushable( iEnt ) {
new Float:iOrigin[ 3 ]
pev( iEnt, pev_origin, iOrigin )
server_print( "%f %f %f", iOrigin[ 0 ], iOrigin[ 1 ], iOrigin[ 2 ] )
remove_entity( iEnt )
}
server_print:
Code:
0.000000 0.000000 1.000000
im sure the entity isnt in that origins... so... whats the problem ?
__________________