Code:
client_print(index, print_type, "message" )
To print to all players use 0 as index. A problem in your code is that your name string has only 18 cells but it should have 32 cells, so increase it's size. Also, please post your full code, because we can't know what are you trying to do.
To move a player you need to play with his origins:
Code:
new Float: vecOrigin[ 3 ]; pev(index, pev_origin, vecOrigin)
Code:
vecOrigin[ 0 ] = X AXIS
vecOrigin[ 1 ] = Y AXIS
vecOrigin[ 2 ] = Z AXIS
Then, decide in which direction you want to move( x,y,z ) and increase the value by a(this is the number that you want to add). If you want to move in the X direction add a on his current position.
Code:
vecOrigin[ 0 ] += a
set_pev(index, pev_origin, vecOrigin)
__________________