Xellath you are right, but there also new round, save load, grab etc such stuff with magic carpet, i did one in my bm and i know
PHP Code:
public fwdTouchBlock( iEntity, id ) {
if( gPlayerAlive[id] ) {
new blockType = pev( iEntity, pev_body );
switch( blockType ) {
// [ ... ]
case BM_MAGICCARPET: {
if( get_user_team(id) == 2 ) {
new Float:vVelocity[3];
pev( id, pev_velocity, vVelocity );
vVelocity[2] = 0.0;
set_pev( iEntity, pev_velocity, vVelocity );
}
}
}
And magiccarpet's movetype should be MOVETYPE_FLY
__________________