[pawn]
public OnPlayerCommandText( playerid, cmdtext[ ] ) {
if( !strcmp( \"/kezifek\", cmdtext, true ) ) {
if( GetPlayerState( playerid ) == PLAYER_STATE_DRIVER ) {
new engine, lights, alarm, doors, bonnet, boot, objective;
GetVehicleParamsEx( GetPlayerVehicleID( playerid ), engine, lights, alarm, doors, bonnet, boot, objective );
SetVehicleParamsEx( GetPlayerVehicleID( playerid ), 0, lights, alarm, doors, bonnet, boot, objective );
}
return 1;
}
return 0;
}
[/pawn]